Boost logo

Boost Users :

From: J-S Lin (yg-boost-users_at_[hidden])
Date: 2002-10-28 09:22:32


Fres,

Thanks. It works like a chime. (The example was from web doc.)

J-S
"Kresimir Fresl" <fresl_at_[hidden]> wrote in message
news:3DBBBF55.2050701_at_grad.hr...
>
> 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
>
>
>
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


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