DGtal
1.5.beta
|
Aim: Represent any static or dynamic sized column vector having sparse or dense representation. More...
#include <DGtal/math/linalg/CVector.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 (CVector) | |
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 |
Aim: Represent any static or dynamic sized column vector having sparse or dense representation.
Description of concept 'CVector'
Vector
: A type that is a model of CVectorVector
Vector
Vector::Index
Name | Expression | Type requirements | Return type | Precondition | Semantics | Post condition | Complexity |
---|---|---|---|---|---|---|---|
Number of rows | x.rows() | Index | Returns the size of the vector |
EigenLinearAlgebraBackend::DenseVector, SimpleMatrix::Vector
T | the type that should be a model of CVector. |
typedef T::Index DGtal::concepts::CVector< T >::Index |
typedef T::Scalar DGtal::concepts::CVector< T >::Scalar |
|
inline |
Definition at line 97 of file CVector.h.
References DGtal::concepts::CVector< T >::checkConstConstraints().
|
inline |
Definition at line 102 of file CVector.h.
References DGtal::concepts::CVector< T >::i, and DGtal::concepts::ConceptUtils::sameType().
Referenced by DGtal::concepts::CVector< T >::BOOST_CONCEPT_USAGE().
|
private |
Definition at line 110 of file CVector.h.
Referenced by DGtal::concepts::CVector< T >::checkConstConstraints().
|
private |