HLIBpro  1.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 String &filename) const
 write matrix A to file filename
virtual void write (const TMatrix *A, const String &filename, const String &matname) const
virtual TMatrixread (const String &filename) const
 read and return matrix from file filename
virtual TMatrixread (const String &filename, const String &matname) const

Member Function Documentation

virtual TMatrix* read ( const String &  filename,
const 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 String &  filename,
const String &  matname 
) const
virtual

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