HLIBpro  3.0
TMMVectorIO Class Reference

Class for vector I/O in MatrixMarket format.

#include <TVectorIO.hh>

Public Member Functions

template<typename value_t >
void write (const TVector< value_t > *v, const std::string &fname) const
 write vector v to file fname
 
template<typename value_t >
std::unique_ptr< TVector< value_t > > read (const std::string &fname) const
 read and return vector from file fname