Class CooMatrix

template<typename VALUE_TYPE>
class CooMatrix

Model for large sparse matrices.

The class CooMatrix<T> models large sparse matrices with entries of type T based on the coordinate format (COO) where only non-zero coefficients are stored in a dynamically allocated array of triplets (j,k,v) with

  • j : row position

  • k : column position

  • v : value