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

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

Public Member Functions

constexpr bool all_values_known_statically () const
 
constexpr Index get (const Index i) const
 
constexpr IndexList ()
 
constexpr IndexList (const internal::IndexTuple< FirstType, OtherTypes... > &other)
 
constexpr IndexList (FirstType &first, OtherTypes... other)
 
constexpr Index operator[] (const Index i) const
 
void set (const Index i, const Index value)
 
constexpr std::size_t size () const
 
constexpr bool value_known_statically (const Index i) const
 
constexpr bool values_statically_known_to_increase () const
 

Detailed Description

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

Definition at line 297 of file TensorIndexList.h.

Constructor & Destructor Documentation

◆ IndexList() [1/3]

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

Definition at line 313 of file TensorIndexList.h.

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

◆ IndexList() [2/3]

template<typename FirstType , typename... OtherTypes>
constexpr Eigen::IndexList< FirstType, OtherTypes >::IndexList ( FirstType &  first,
OtherTypes...  other 
)
inlineconstexpr

Definition at line 314 of file TensorIndexList.h.

314 : internal::IndexTuple<FirstType, OtherTypes...>(first, other...) { }
EIGEN_CONSTEXPR Index first(const T &x) EIGEN_NOEXCEPT

◆ IndexList() [3/3]

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

Definition at line 315 of file TensorIndexList.h.

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

Member Function Documentation

◆ all_values_known_statically()

template<typename FirstType , typename... OtherTypes>
constexpr bool Eigen::IndexList< FirstType, OtherTypes >::all_values_known_statically ( ) const
inlineconstexpr

Definition at line 320 of file TensorIndexList.h.

320  {
321  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, Index>::values_up_to_known_statically(*this);
322  }
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index

◆ get()

template<typename FirstType , typename... OtherTypes>
constexpr Index Eigen::IndexList< FirstType, OtherTypes >::get ( const Index  i) const
inlineconstexpr

Definition at line 301 of file TensorIndexList.h.

301  {
302  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, Index>::get(i, *this);
303  }
constexpr Index get(const Index i) const

◆ operator[]()

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

Definition at line 298 of file TensorIndexList.h.

298  {
299  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, Index>::get(i, *this);
300  }

◆ set()

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

Definition at line 304 of file TensorIndexList.h.

304  {
305  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, Index>::set(i, *this, value);
306  }
void set(const Index i, const Index value)

◆ size()

template<typename FirstType , typename... OtherTypes>
constexpr std::size_t Eigen::IndexList< FirstType, OtherTypes >::size ( ) const
inlineconstexpr

Definition at line 308 of file TensorIndexList.h.

308  {
309  return 1 + sizeof...(OtherTypes);
310  };

◆ value_known_statically()

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

Definition at line 317 of file TensorIndexList.h.

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

◆ values_statically_known_to_increase()

template<typename FirstType , typename... OtherTypes>
constexpr bool Eigen::IndexList< FirstType, OtherTypes >::values_statically_known_to_increase ( ) const
inlineconstexpr

Definition at line 324 of file TensorIndexList.h.

324  {
325  return internal::tuple_coeff<internal::array_size<internal::IndexTuple<FirstType, OtherTypes...> >::value-1, Index>::values_up_to_statically_known_to_increase(*this);
326  }

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