HLIBpro  2.4
Public Member Functions | List of all members
TMatlabMatrixIO Class Reference

Class for matrix I/O in Matlab format.

#include <TMatrixIO.hh>

Inheritance diagram for TMatlabMatrixIO:
TMatrixIO

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< TMatrixread (const std::string &fname) const
 read and return matrix from file fname (assuming only one entry available)
 
virtual std::unique_ptr< TMatrixread (const std::string &fname, const std::string &mname) const
 read matrix with name mname from file fname