HLIBpro
2.8.1
|
Class for matrix I/O in HLIB format.
#include <TMatrixIO.hh>
Public Member Functions | |
THLibMatrixIO (const bool compressed=false) | |
construct HLIB matrix IO object with compression set to compressed | |
void | set_compression (const bool compressed) |
set internal compression usage to compressed | |
virtual void | write (const TMatrix *A, const std::string &fname) const |
write matrix A to file fname | |
virtual std::unique_ptr< TMatrix > | read (const std::string &fname) const |
read and return matrix from file fname | |
virtual void | write_linop (const TLinearOperator *A, const std::string &fname) const |
write linear operator A to file fname | |
virtual std::unique_ptr< TLinearOperator > | read_linop (const std::string &fname) const |
read and return linear operator from file fname | |
Protected Attributes | |
bool | _compressed |
flag for using compression | |