CGAL 6.2 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches

Read a sparse matrix from an input stream or a file using the .osm file format.

Read a sparse matrix (the input must respect the .osm file format).

Friends

template<typename _CT >
std::istream & read_matrix (Sparse_matrix< _CT, OSM::COLUMN > &M, std::istream &in)
 Reads a sparse COLUMN matrix from a stream.
 
template<typename _CT >
std::istream & read_matrix (Sparse_matrix< _CT, OSM::ROW > &M, std::istream &in)
 Reads a sparse ROW matrix from a stream.
 
template<typename _CT >
void read_matrix (Sparse_matrix< _CT, OSM::COLUMN > &M, std::string filename)
 Reads a sparse COLUMN matrix from a file.
 
template<typename _CT >
void read_matrix (Sparse_matrix< _CT, OSM::ROW > &M, std::string filename)
 Reads a sparse ROW matrix from a file.