HLIBpro
2.4
|
Class for matrix I/O in Matlab format.
#include <TMatrixIO.hh>
Public Member Functions | |
TMatlabMatrixIO (const bool perm=true) | |
construct Matlab matrix IO object with internal permutation set to perm | |
virtual void | write (const TMatrix *A, const std::string &fname) const |
write matrix A with name "M" to file fname | |
virtual std::unique_ptr< TMatrix > | read (const std::string &fname) const |
read and return matrix from file fname (assuming only one entry available) | |
virtual std::unique_ptr< TMatrix > | read (const std::string &fname, const std::string &mname) const |
read matrix with name mname from file fname | |