The Vish Visualization Shell 0.3
Vish
Eagle::MetaInfo< T > Struct Template Reference
Inheritance diagram for Eagle::MetaInfo< T >:
Eagle::TypedNode< double > Eagle::TypedNode< rotor3 > Eagle::ConstantNode< ScalarNode > Eagle::VariableNode< double > Eagle::OneNode Eagle::ZeroNode

Public Types

enum  { MULTIPLICITY = 1 , RANK = 0 , GRADE = 0 }
typedef void Chart_t
 An eventually associated coordinate system.
typedef T element_t
 The atomic element type.
typedef T type_t
 The template argument.

Static Public Member Functions

static const element_tgetComponent (const T &t, int i)
 Access the ith component of a multi-component type.

Member Enumeration Documentation

◆ anonymous enum

template<class T>
anonymous enum
Enumerator
MULTIPLICITY 

The number of elements.

RANK 

The dimension of the index space, zero indicates a scalar type, one is a one-dimensional vectorial type, two are matrix representations etc.

GRADE 

For quantities from geometric algebra, specifies the grade k of the k-vector.

Member Function Documentation

◆ getComponent()

template<class T>
const element_t & Eagle::MetaInfo< T >::getComponent ( const T & t,
int i )
inlinestatic

Access the ith component of a multi-component type.

Only homogeneous types are supported.