----- Original Message ----- From: Toon Knapen To: Boost-Users@yahoogroups.com Sent: Wednesday, June 04, 2003 3:22 PM Subject: Re: [Boost-Users] uBLAS file io On Wednesday 04 June 2003 08:11, cerenoc wrote:
Hi, I'm new to BOOST/uBLAS. I would like to use uBLAS on a matrix that I read in from a file. How does file io work with uBLAS? What are the specific formats? If someone could provide a small example it would be much appreciated.
there's a 'std::ostream& operator<<(std::ostream&, <any ublas class>)' in ublas/io.hpp if that's what you're after
But be aware that ublas io support is rather poor (no appropriate support for sparse vectors and matrices, for example). If you think you could contribute something in this direction, please consider to post on http://groups.yahoo.com/group/ublas-dev Best, Joerg