#include <iostream>
#include <fstream>
#include <CGAL/OSM/OSM.h>
int main ()
{
CMatrix M(5,4) ;
{
std::cout << "col: " << *it_col << std::endl ;
for (CChain::const_iterator it = col.begin(); it != col.end(); ++it)
{
std::cout << "row: " << it->first << " - coef: " << it->second << std::endl ;
}
}
std::cout << "M: " << M << std::endl;
return 0 ;
}
The class Sparse_chain implements the concept SparseChain, that is, sparse vectors (encoding homologi...
Definition: Sparse_chain.h:52
The class Sparse_matrix implements the concept SparseMatrix, that is, sparse matrices optimized for t...
Definition: Sparse_matrix.h:62
void set_coef(Sparse_matrix< _CT, _CTF > &matrix, size_t i, size_t j, const _CT d)
Definition: Sparse_matrix.h:1640
const Sparse_chain< _CT, COLUMN > & cget_column(const Sparse_matrix< _CT, COLUMN > &matrix, size_t index)
Definition: Sparse_matrix.h:1559
Definition: Bitboard.h:97