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

#include <TensorIndexList.h>

Public Member Functions

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

Static Public Attributes

static constexpr Index first = f
 
static constexpr Index second = s
 

Member Function Documentation

◆ operator IndexPair< Index >()

template<Index f, Index s>
constexpr EIGEN_DEVICE_FUNC Eigen::type2indexpair< f, s >::operator IndexPair< Index > ( ) const
inlineconstexpr
52 { return IndexPair<Index>(f, s); }
static int f(const TensorMap< Tensor< int, 3 > > &tensor)
Definition: cxx11_tensor_map.cpp:237
RealScalar s
Definition: level1_cplx_impl.h:130

References f(), and s.

◆ set()

template<Index f, Index s>
EIGEN_DEVICE_FUNC void Eigen::type2indexpair< f, s >::set ( const IndexPair< Index > &  val)
inline
54  {
55  eigen_assert(val.first == f);
56  eigen_assert(val.second == s);
57  }
#define eigen_assert(x)
Definition: Macros.h:910
val
Definition: calibrate.py:119

References eigen_assert, f(), s, and calibrate::val.

Member Data Documentation

◆ first

template<Index f, Index s>
constexpr Index Eigen::type2indexpair< f, s >::first = f
staticconstexpr

◆ second

template<Index f, Index s>
constexpr Index Eigen::type2indexpair< f, s >::second = s
staticconstexpr

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