31#if defined(CSparseMatrix_RECURSES)
32#error Recursive header files inclusion detected in CSparseMatrix.h
35#define CSparseMatrix_RECURSES
37#if !defined CSparseMatrix_h
39#define CSparseMatrix_h
44#include "DGtal/base/Common.h"
45#include "DGtal/math/linalg/CMatrix.h"
88template <
typename T,
typename TripletInterator>
93 typedef typename T::Index
Index;
99 z.setFromTriplets(
ti,
te);
119#undef CSparseMatrix_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: Represent any static or dynamic sized matrix having sparse or dense representation.
Aim: Represent any dynamic or static sized matrix having sparse representation.
BOOST_CONCEPT_USAGE(CSparseMatrix)
BOOST_CONCEPT_ASSERT((boost::InputIterator< TripletInterator >))