HLIBpro  2.2
Public Member Functions | List of all members
TAutoMatrixIO Class Reference

Class for matrix I/O with automatic file format detection.

#include <TMatrixIO.hh>

Inheritance diagram for TAutoMatrixIO:
TMatrixIO

Public Member Functions

virtual void write (const TMatrix *A, const std::string &filename) const
 write matrix A to file filename
 
virtual void write (const TMatrix *A, const std::string &filename, const std::string &matname) const
 
virtual TMatrixread (const std::string &filename) const
 read and return matrix from file filename
 
virtual TMatrixread (const std::string &filename, const std::string &matname) const
 

Member Function Documentation

virtual TMatrix* read ( const std::string &  filename,
const std::string &  matname 
) const
virtual

read and return matrix from file filename with optional matrix name matname (if file format has corresponding support)

virtual void write ( const TMatrix A,
const std::string &  filename,
const std::string &  matname 
) const
virtual

write matrix A to file filename with optional matrix name matname (if file format has corresponding support)