DGtal  1.4.beta
DGtal::concepts::CDynamicVector< T > Struct Template Reference

Aim: Represent any dynamic sized column vector having sparse or dense representation. More...

#include <DGtal/math/linalg/CDynamicVector.h>

Inheritance diagram for DGtal::concepts::CDynamicVector< T >:

Public Types

typedef T::Index Index
- Public Types inherited from DGtal::concepts::CVector< T >
typedef T::Scalar Scalar
typedef T::Index Index
- Public Types inherited from DGtal::concepts::CVectorSpace< T >
typedef T::Scalar Scalar

Public Member Functions

- Public Member Functions inherited from DGtal::concepts::CVector< T >
void checkConstConstraints () const
- Public Member Functions inherited from DGtal::concepts::CVectorSpace< T >
 BOOST_CONCEPT_ASSERT ((concepts::CEuclideanRing< Scalar >))

Private Attributes

Index i

Detailed Description

template<typename T>
struct DGtal::concepts::CDynamicVector< T >

Aim: Represent any dynamic sized column vector having sparse or dense representation.

Description of concept 'CDynamicVector'

Refinement of

Associated types


  • DynamicVector : A type that is a model of CDynamicVector
  • x : object of type DynamicMatrix
  • i : object of type DynamicVector::Index


Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Constructor x(i) DynamicVector



  • Eigen::VectorXd, Eigen::SparseVector, Eigen::DenseVector


Template Parameters
Tthe type that should be a model of CDynamicVector.

Definition at line 88 of file CDynamicVector.h.

Member Typedef Documentation

◆ Index

template<typename T >
typedef T::Index DGtal::concepts::CDynamicVector< T >::Index

Definition at line 92 of file CDynamicVector.h.

Member Function Documentation


template<typename T >
DGtal::concepts::CDynamicVector< T >::BOOST_CONCEPT_USAGE ( CDynamicVector< T >  )

Definition at line 94 of file CDynamicVector.h.

95  {
96  T zz(i);
97  }

References DGtal::concepts::CDynamicVector< T >::i.

Field Documentation

◆ i

template<typename T >
Index DGtal::concepts::CDynamicVector< T >::i

The documentation for this struct was generated from the following file: