DGtal  1.5.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 >:
[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 (CDynamicVector)
 
- 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::CDynamicVector< T >

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

Description of concept 'CDynamicVector'

Refinement of

Associated types

Notation

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

Definitions

Valid expressions and semantics

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

Invariants

Models

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

Notes

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

◆ BOOST_CONCEPT_USAGE()

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

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
private

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