Eigen::type2index< n > Struct Template Reference

Public Member Functions

constexpr operator Index () const
 
void set (Index val)
 

Static Public Attributes

static const Index value
 

Detailed Description

template<Index n>
struct Eigen::type2index< n >

Definition at line 38 of file TensorIndexList.h.

Member Function Documentation

◆ operator Index()

template<Index n>
constexpr Eigen::type2index< n >::operator Index ( ) const
inlineconstexpr

Definition at line 40 of file TensorIndexList.h.

40 { return n; }
int n

◆ set()

template<Index n>
void Eigen::type2index< n >::set ( Index  val)
inline

Definition at line 41 of file TensorIndexList.h.

41  {
42  eigen_assert(val == n);
43  }
#define eigen_assert(x)

Member Data Documentation

◆ value

template<Index n>
const Index Eigen::type2index< n >::value
static

Definition at line 39 of file TensorIndexList.h.


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