31 #if defined(CSparseMatrix_RECURSES) 32 #error Recursive header files inclusion detected in CSparseMatrix.h 33 #else // defined(CSparseMatrix_RECURSES) 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" 88 template <
typename T,
typename TripletInterator>
93 typedef typename T::Index
Index;
99 z.setFromTriplets(
ti,
te);
117 #endif // !defined CSparseMatrix_h 119 #undef CSparseMatrix_RECURSES 120 #endif // else defined(CSparseMatrix_RECURSES)
Aim: Represent any dynamic or static sized matrix having sparse representation.
Aim: Represent any static or dynamic sized matrix having sparse or dense representation.
DGtal is the top-level namespace which contains all DGtal functions and types.
BOOST_CONCEPT_ASSERT((boost::InputIterator< TripletInterator >))
BOOST_CONCEPT_USAGE(CSparseMatrix)