Eigen::type2indexpair< f, s > Struct Template Reference

Public Member Functions

constexpr operator IndexPair< Index > () const
 
void set (const IndexPair< Index > &val)
 

Static Public Attributes

static const Index first
 
static const Index second
 

Detailed Description

template<Index f, Index s>
struct Eigen::type2indexpair< f, s >

Definition at line 49 of file TensorIndexList.h.

Member Function Documentation

◆ operator IndexPair< Index >()

template<Index f, Index s>
constexpr Eigen::type2indexpair< f, s >::operator IndexPair< Index > ( ) const
inlineconstexpr

Definition at line 53 of file TensorIndexList.h.

53  {
54  return IndexPair<Index>(f, s);
55  }

◆ set()

template<Index f, Index s>
void Eigen::type2indexpair< f, s >::set ( const IndexPair< Index > &  val)
inline

Definition at line 57 of file TensorIndexList.h.

57  {
58  eigen_assert(val.first == f);
59  eigen_assert(val.second == s);
60  }
#define eigen_assert(x)

Member Data Documentation

◆ first

template<Index f, Index s>
const Index Eigen::type2indexpair< f, s >::first
static

Definition at line 50 of file TensorIndexList.h.

◆ second

template<Index f, Index s>
const Index Eigen::type2indexpair< f, s >::second
static

Definition at line 51 of file TensorIndexList.h.


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