Eigen::IndexPairList< FirstType, OtherTypes > Struct Template Reference

Inherits Eigen::internal::IndexTuple< FirstType, OtherTypes... >.

Public Member Functions

constexpr IndexPairList ()
 
constexpr IndexPairList (const internal::IndexTuple< FirstType, OtherTypes... > &other)
 
constexpr IndexPair< Indexoperator[] (const Index i) const
 
void set (const Index i, const IndexPair< Index > value)
 
constexpr bool value_known_statically (const Index i) const
 

Detailed Description

template<typename FirstType, typename... OtherTypes>
struct Eigen::IndexPairList< FirstType, OtherTypes >

Definition at line 348 of file TensorIndexList.h.

Constructor & Destructor Documentation

◆ IndexPairList() [1/2]

template<typename FirstType , typename... OtherTypes>
constexpr Eigen::IndexPairList< FirstType, OtherTypes >::IndexPairList ( const internal::IndexTuple< FirstType, OtherTypes... > &  other)
inlineconstexpr

Definition at line 356 of file TensorIndexList.h.

356 : internal::IndexTuple<FirstType, OtherTypes...>(other) { }

◆ IndexPairList() [2/2]

template<typename FirstType , typename... OtherTypes>
constexpr Eigen::IndexPairList< FirstType, OtherTypes >::IndexPairList ( )
inlineconstexpr

Definition at line 357 of file TensorIndexList.h.

357 : internal::IndexTuple<FirstType, OtherTypes...>() { }

Member Function Documentation

◆ operator[]()

template<typename FirstType , typename... OtherTypes>
constexpr IndexPair<Index> Eigen::IndexPairList< FirstType, OtherTypes >::operator[] ( const Index  i) const
inlineconstexpr

Definition at line 349 of file TensorIndexList.h.

349  {
350  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, IndexPair<Index>>::get(i, *this);
351  }

◆ set()

template<typename FirstType , typename... OtherTypes>
void Eigen::IndexPairList< FirstType, OtherTypes >::set ( const Index  i,
const IndexPair< Index value 
)
inline

Definition at line 352 of file TensorIndexList.h.

352  {
353  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...>>::value-1, IndexPair<Index> >::set(i, *this, value);
354  }
void set(const Index i, const IndexPair< Index > value)

◆ value_known_statically()

template<typename FirstType , typename... OtherTypes>
constexpr bool Eigen::IndexPairList< FirstType, OtherTypes >::value_known_statically ( const Index  i) const
inlineconstexpr

Definition at line 359 of file TensorIndexList.h.

359  {
360  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, Index>::value_known_statically(i, *this);
361  }
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
constexpr bool value_known_statically(const Index i) const

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