#include <iostream>
#include <fstream>
#include <CGAL/OSM/OSM.h>
int main ()
{
{
std::cout << "col: " << *it_col << std::endl ;
{
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
iterator end() noexcept
Iterator to the end of the chain.
Definition: Sparse_chain.h:626
iterator begin() noexcept
Iterator to the beginning of the chain.
Definition: Sparse_chain.h:593
std::unordered_map< size_t, CoefficientRing >::const_iterator const_iterator
Type of chains constant iterators.
Definition: Sparse_chain.h:70
const SCT< _CT, COLUMN > & cget_column(const Sparse_matrix_core< _CT, COLUMN, SCT > &matrix, size_t index)
Definition: Sparse_matrix.h:1871
void set_coefficient(Sparse_matrix_core< _CT, _CTF, SCT > &matrix, size_t i, size_t j, const _CT d)
Definition: Sparse_matrix.h:1952
Definition: Bitboard.h:97
The structure Sparse_matrix provides a more friendly interface for sparse matrices built over a given...
Definition: Sparse_matrix.h:52