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

Read a sparse matrix from an input stream.

Read a sparse matrix from a stream (the stream must respect the format of write_matrix).

Parameters
inInput stream.
Returns
A reference to the modified stream.

Friends

template<typename _CT >
std::istream & CGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::read_matrix (Sparse_matrix< _CT, OSM::COLUMN > &M, std::istream &in)
 Reads a sparse COLUMN matrix.
 
template<typename _CT >
std::istream & CGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::read_matrix (Sparse_matrix< _CT, OSM::ROW > &M, std::istream &in)
 Reads a sparse ROW matrix.