HLIBpro  2.7
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 std::unique_ptr< TVectorread (const std::string &fname) const
 read first vector in file fname
 
virtual std::unique_ptr< TVectorread (const std::string &fname, const std::string &vname) const
 

Member Function Documentation

◆ read()

virtual std::unique_ptr< 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)