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

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

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

Inheritance diagram for DGtal::concepts::CStaticVector< 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::CStaticVector< T >

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

Description of concept 'CStaticVector'

Refinement of

Associated types


  • StaticVector : A type that is a model of CStaticVector
  • i : object of type StaticVector::Index


Valid expressions and semantics

Name Expression Type requirements Return type Precondition Semantics Post condition Complexity
Static size member StaticVector::dimension StaticVector::Index




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

Definition at line 90 of file CStaticVector.h.

Member Typedef Documentation

◆ Index

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

Definition at line 94 of file CStaticVector.h.

Member Function Documentation


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

Definition at line 96 of file CStaticVector.h.

97  {
98  ConceptUtils::sameType( i, T::dimension );
99  }
void sameType(const T &, const T &)
Definition: ConceptUtils.h:117

References DGtal::concepts::CStaticVector< T >::i, and DGtal::concepts::ConceptUtils::sameType().

Field Documentation

◆ i

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

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