DGtal  1.5.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 >:
[legend]

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

 BOOST_CONCEPT_USAGE (CStaticVector)
 
- Public Member Functions inherited from DGtal::concepts::CVector< T >
 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

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

Notation

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

Definitions

Valid expressions and semantics

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

Invariants

Models

Notes

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

◆ BOOST_CONCEPT_USAGE()

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

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
private

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