Eigen::internal::SingleRange< ValueAtCompileTime > Class Template Reference

#include <IndexedViewHelper.h>

Public Member Functions

constexpr SingleRange (Index v) noexcept
 
constexpr Index operator[] (Index) const noexcept
 
constexpr Index first () const noexcept
 
constexpr Index size () const noexcept
 
constexpr Index incr () const noexcept
 

Static Public Attributes

static constexpr Index FirstAtCompileTime = ValueAtCompileTime
 
static constexpr Index SizeAtCompileTime = Index(1)
 
static constexpr Index IncrAtCompileTime = Index(1)
 

Private Attributes

variable_if_dynamicindex< Index, int(ValueAtCompileTime)> value_
 

Constructor & Destructor Documentation

◆ SingleRange()

template<Index ValueAtCompileTime>
constexpr Eigen::internal::SingleRange< ValueAtCompileTime >::SingleRange ( Index  v)
inlineconstexprnoexcept
224 : value_(v) {}
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1
variable_if_dynamicindex< Index, int(ValueAtCompileTime)> value_
Definition: IndexedViewHelper.h:231

Member Function Documentation

◆ first()

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::first ( ) const
inlineconstexprnoexcept

◆ incr()

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::incr ( ) const
inlineconstexprnoexcept
228 { return IncrAtCompileTime; }
static constexpr Index IncrAtCompileTime
Definition: IndexedViewHelper.h:222

References Eigen::internal::SingleRange< ValueAtCompileTime >::IncrAtCompileTime.

◆ operator[]()

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::operator[] ( Index  ) const
inlineconstexprnoexcept
225 { return first(); }
constexpr Index first() const noexcept
Definition: IndexedViewHelper.h:226

References Eigen::internal::SingleRange< ValueAtCompileTime >::first().

◆ size()

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::size ( ) const
inlineconstexprnoexcept
227 { return SizeAtCompileTime; }
static constexpr Index SizeAtCompileTime
Definition: IndexedViewHelper.h:221

References Eigen::internal::SingleRange< ValueAtCompileTime >::SizeAtCompileTime.

Member Data Documentation

◆ FirstAtCompileTime

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::FirstAtCompileTime = ValueAtCompileTime
staticconstexpr

◆ IncrAtCompileTime

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::IncrAtCompileTime = Index(1)
staticconstexpr

◆ SizeAtCompileTime

template<Index ValueAtCompileTime>
constexpr Index Eigen::internal::SingleRange< ValueAtCompileTime >::SizeAtCompileTime = Index(1)
staticconstexpr

◆ value_

template<Index ValueAtCompileTime>
variable_if_dynamicindex<Index, int(ValueAtCompileTime)> Eigen::internal::SingleRange< ValueAtCompileTime >::value_
private

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