Fres,
Thanks. It works like a chime. (The example was from web doc.)
J-S
"Kresimir Fresl"
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@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/