Boost logo

Boost Users :

From: jhr.walter_at_[hidden]
Date: 2003-06-05 03:43:19


----- Original Message -----
From: Toon Knapen
To: Boost-Users_at_[hidden]
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


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