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

#include <TensorIndexList.h>

+ Inheritance diagram for Eigen::IndexPairList< FirstType, OtherTypes >:

Public Member Functions

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

Constructor & Destructor Documentation

◆ IndexPairList() [1/2]

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

◆ IndexPairList() [2/2]

template<typename FirstType , typename... OtherTypes>
constexpr EIGEN_DEVICE_FUNC Eigen::IndexPairList< FirstType, OtherTypes >::IndexPairList ( )
inlineconstexpr
337 : internal::IndexTuple<FirstType, OtherTypes...>() {}

Member Function Documentation

◆ operator[]()

template<typename FirstType , typename... OtherTypes>
EIGEN_STRONG_INLINE constexpr EIGEN_DEVICE_FUNC IndexPair<Index> Eigen::IndexPairList< FirstType, OtherTypes >::operator[] ( const Index  i) const
inlineconstexpr
326  {
327  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...>>::value - 1,
328  IndexPair<Index>>::get(i, *this);
329  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
squared absolute value
Definition: GlobalFunctions.h:87
Container::iterator get(Container &c, Position position)
Definition: stdlist_overload.cpp:29

References get(), i, and Eigen::value.

◆ set()

template<typename FirstType , typename... OtherTypes>
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC void Eigen::IndexPairList< FirstType, OtherTypes >::set ( const Index  i,
const IndexPair< Index value 
)
inline
330  {
331  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...>>::value - 1,
332  IndexPair<Index>>::set(i, *this, value);
333  }
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC void set(const Index i, const IndexPair< Index > value)
Definition: TensorIndexList.h:330

References i, and Eigen::value.

◆ value_known_statically()

template<typename FirstType , typename... OtherTypes>
constexpr EIGEN_DEVICE_FUNC bool Eigen::IndexPairList< FirstType, OtherTypes >::value_known_statically ( const Index  i) const
inlineconstexpr
339  {
340  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...>>::value - 1,
342  }
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
constexpr EIGEN_DEVICE_FUNC bool value_known_statically(const Index i) const
Definition: TensorIndexList.h:339

References i, and Eigen::value.


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