HLIBpro  3.0
TSAMGMatrixIO Class Reference

Class for matrix I/O in SAMG format.

#include <TMatrixIO.hh>

Public Member Functions

template<typename value_t >
void write (const TMatrix< value_t > *A, const std::string &name) const
 write matrix A to file name
 
template<typename value_t >
std::unique_ptr< TMatrix< value_t > > read (const std::string &name) const
 read and return matrix from file name