Boost logo

Boost Users :

From: Kresimir Fresl (fresl_at_[hidden])
Date: 2002-10-27 05:26:29


J-S Lin wrote:

> The error message is as follows,
> ---------------------------------
> g:\C++ notes\test_boost\test_matrix.cpp(14) : error C2679: binary '<<' : no
> operator found which takes a right-hand operand of type
> 'boost::numeric::ublas::matrix' (or there is no acceptable conversion)
> with
> [
> T=double,
> F=boost::numeric::ublas::row_major,
> A=boost::numeric::ublas::unbounded_array
> ]
> ------------------------------

Which manual? Which page? Which example?

I can only guess that you are talking about ublas and
that problematic line is something like:

    cout << m << endl;

where `m' is ublas::matrix<double>.

ublas I/O operators are declared/defined in `ublas/io.hpp',
so you must #include it.

Hope this helps. If not, try to be more specific: Which manual?
Which page? Which example?

Sincerely,

fres


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net