Class for matrix I/O with automatic file format detection.
#include <TMatrixIO.hh>
|
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 std::unique_ptr< TMatrix > | read (const std::string &name) const |
| read and return matrix from file filename
|
|
virtual std::unique_ptr< TMatrix > | read (const std::string &filename, const std::string &matname) const |
|
◆ read()
virtual std::unique_ptr< 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)
◆ write()
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)