template<typename FirstType, typename SizeType, typename IncrType>
ArithmeticSequence class
Template parameters | |
---|---|
FirstType | type of the first element, usually an Index, but internally it can be a symbolic expression |
SizeType | type representing the size of the sequence, usually an Index or a compile time integral constant. Internally, it can also be a symbolic expression |
IncrType | type of the increment, can be a runtime Index, or a compile time integral constant (default is compile-time 1) |
Contents
- Reference
This class represents an arithmetic progression defined by its first value , its size (aka length) n, and the increment (aka stride) that is equal to for any i.
It is internally used as the return type of the Eigen::
Public functions
Function documentation
template<typename FirstType, typename SizeType, typename IncrType>
Index Eigen:: ArithmeticSequence<FirstType, SizeType, IncrType>:: operator[](Index i) const
Returns | the value at index i in the sequence. |
---|