Eigen::IndexPair< Idx > Struct Template Reference

Public Member Functions

EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE IndexPair ()
 
EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE IndexPair (Idx f, Idx s)
 
void set (IndexPair< Idx > val)
 

Public Attributes

Idx first
 
Idx second
 

Detailed Description

template<typename Idx>
struct Eigen::IndexPair< Idx >

Definition at line 252 of file TensorMeta.h.

Constructor & Destructor Documentation

◆ IndexPair() [1/2]

template<typename Idx >
EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE Eigen::IndexPair< Idx >::IndexPair ( )
inline

Definition at line 253 of file TensorMeta.h.

253 : first(0), second(0) {}

◆ IndexPair() [2/2]

template<typename Idx >
EIGEN_CONSTEXPR EIGEN_ALWAYS_INLINE Eigen::IndexPair< Idx >::IndexPair ( Idx  f,
Idx  s 
)
inline

Definition at line 254 of file TensorMeta.h.

254 : first(f), second(s) {}

Member Function Documentation

◆ set()

template<typename Idx >
void Eigen::IndexPair< Idx >::set ( IndexPair< Idx >  val)
inline

Definition at line 256 of file TensorMeta.h.

256  {
257  first = val.first;
258  second = val.second;
259  }

Member Data Documentation

◆ first

template<typename Idx >
Idx Eigen::IndexPair< Idx >::first

Definition at line 261 of file TensorMeta.h.

◆ second

template<typename Idx >
Idx Eigen::IndexPair< Idx >::second

Definition at line 262 of file TensorMeta.h.


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