DGtal 1.4.0
|
Aim: Represent any static or dynamic sized matrix having sparse or dense representation. More...
#include <DGtal/math/linalg/CMatrix.h>
Public Types | |
typedef T::Scalar | Scalar |
typedef T::Index | Index |
Public Types inherited from DGtal::concepts::CVectorSpace< T > | |
typedef T::Scalar | Scalar |
Public Member Functions | |
BOOST_CONCEPT_USAGE (CMatrix) | |
void | checkConstConstraints () const |
Public Member Functions inherited from DGtal::concepts::CVectorSpace< T > | |
BOOST_CONCEPT_ASSERT ((concepts::CEuclideanRing< Scalar >)) | |
BOOST_CONCEPT_USAGE (CVectorSpace) | |
Private Attributes | |
T | z |
Index | i |
Index | j |
Aim: Represent any static or dynamic sized matrix having sparse or dense representation.
Description of concept 'CMatrix'
Matrix
: A type that is a model of CMatrixMatrix
Matrix
Matrix::Index
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Identity setter | x.setIdentity() | ||||||
Number of rows | x.rows() | Index | |||||
Number of columns | x.cols() | Index |
T | the type that should be a model of CMatrix. |
typedef T::Index DGtal::concepts::CMatrix< T >::Index |
typedef T::Scalar DGtal::concepts::CMatrix< T >::Scalar |
|
inline |
Definition at line 97 of file CMatrix.h.
References DGtal::concepts::CMatrix< T >::checkConstConstraints().
|
inline |
Definition at line 103 of file CMatrix.h.
References DGtal::concepts::CMatrix< T >::i, DGtal::concepts::CMatrix< T >::j, and DGtal::concepts::ConceptUtils::sameType().
Referenced by DGtal::concepts::CMatrix< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 111 of file CMatrix.h.
Referenced by DGtal::concepts::CMatrix< T >::checkConstConstraints().
|
private |
Definition at line 111 of file CMatrix.h.
Referenced by DGtal::concepts::CMatrix< T >::checkConstConstraints().
|
private |