HLIBpro
2.8.1
|
Class for matrix I/O in Matlab format.
#include <TMatrixIO.hh>
Public Member Functions | |
TMatlabMatrixIO (const bool perm=CFG::IO::permute_save) | |
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 | |