Class for matrix I/O with automatic file format detection.
#include <TMatrixIO.hh>
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 TMatrix * | read (const String &filename) const |
| read and return matrix from file filename
|
virtual TMatrix * | read (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)