31 #if defined(CLinearAlgebra_RECURSES) 32 #error Recursive header files inclusion detected in CLinearAlgebra.h 33 #else // defined(CLinearAlgebra_RECURSES) 35 #define CLinearAlgebra_RECURSES 37 #if !defined CLinearAlgebra_h 39 #define CLinearAlgebra_h 44 #include "DGtal/base/Common.h" 45 #include "DGtal/math/linalg/CMatrix.h" 46 #include "DGtal/math/linalg/CVector.h" 92 template <
typename V,
typename M>
103 BOOST_STATIC_ASSERT(( boost::is_same<typename Vector::Scalar, typename Matrix::Scalar>::value ));
127 #endif // !defined CLinearAlgebra_h 129 #undef CLinearAlgebra_RECURSES 130 #endif // else defined(CLinearAlgebra_RECURSES)
Aim: Check right multiplication between matrix and vector and internal matrix multiplication. Matrix and vector scalar types should be the same.
Aim: Represent any static or dynamic sized matrix having sparse or dense representation.
Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
BOOST_STATIC_ASSERT((boost::is_same< typename Vector::Scalar, typename Matrix::Scalar >::value))
DGtal is the top-level namespace which contains all DGtal functions and types.
BOOST_CONCEPT_ASSERT((CVector< Vector >))
BOOST_CONCEPT_USAGE(CLinearAlgebra)