Eigen::IndexPair< Idx > Struct Template Reference

#include <TensorMeta.h>

Public Member Functions

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

Public Attributes

Idx first
 
Idx second
 

Constructor & Destructor Documentation

◆ IndexPair() [1/2]

239 : first(0), second(0) {}
Idx first
Definition: TensorMeta.h:247
Idx second
Definition: TensorMeta.h:248

◆ IndexPair() [2/2]

template<typename Idx >
EIGEN_CONSTEXPR EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE Eigen::IndexPair< Idx >::IndexPair ( Idx  f,
Idx  s 
)
inline
240 : first(f), second(s) {}
static int f(const TensorMap< Tensor< int, 3 > > &tensor)
Definition: cxx11_tensor_map.cpp:237
RealScalar s
Definition: level1_cplx_impl.h:130

Member Function Documentation

◆ set()

template<typename Idx >
EIGEN_DEVICE_FUNC void Eigen::IndexPair< Idx >::set ( IndexPair< Idx >  val)
inline
242  {
243  first = val.first;
244  second = val.second;
245  }
val
Definition: calibrate.py:119

References Eigen::IndexPair< Idx >::first, Eigen::IndexPair< Idx >::second, and calibrate::val.

Referenced by test_type2indexpair_list().

Member Data Documentation

◆ first

◆ second


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