HLIBpro  2.0
Public Member Functions | List of all members
TMatlabVectorIO Class Reference

Class for vector I/O in Matlab format.

#include <TVectorIO.hh>

Inheritance diagram for TMatlabVectorIO:
TVectorIO

Public Member Functions

virtual void write (const TVector *v, const std::string &fname) const
 write vector v with name "v" to file fname
 
virtual void write (const TVector *v, const std::string &fname, const std::string &vname) const
 write vector v with name vname to file fname
 
virtual TVectorread (const std::string &fname) const
 read first vector in file fname
 
virtual TVectorread (const std::string &fname, const std::string &vname) const
 

Member Function Documentation

virtual TVector* read ( const std::string &  fname,
const std::string &  vname 
) const
virtual

read and return vector named vname from file fname (if vname = "", return first vector)