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

Write a sparse matrix to an output stream.

Output a sparse matrix to a stream (the matrix can be reloaded using read_matrix).

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

Friends

template<typename _CT >
std::ostream & CGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::write_matrix (const Sparse_matrix< _CT, OSM::COLUMN > &M, std::ostream &out)
 Writes a sparse COLUMN matrix.
 
template<typename _CT >
std::ostream & CGAL::OSM::Sparse_matrix< CoefficientType, ChainTypeFlag >::write_matrix (const Sparse_matrix< _CT, OSM::ROW > &M, std::ostream &out)
 Writes a sparse ROW matrix.