10 #ifndef EIGEN_ARITHMETIC_SEQUENCE_H
11 #define EIGEN_ARITHMETIC_SEQUENCE_H
32 template <
typename FirstType = Index,
typename SizeType = Index,
typename IncrType =
internal::FixedInt<1> >
35 template <
typename FirstType,
typename SizeType,
typename IncrType>
61 template <
typename FirstType,
typename SizeType,
typename IncrType>
101 template <
typename FirstType,
typename SizeType,
typename IncrType>
114 template <
typename FirstType,
typename SizeType>
122 #ifdef EIGEN_PARSED_BY_DOXYGEN
134 template <
typename FirstType,
typename LastType,
typename IncrType>
135 auto seq(FirstType
f, LastType l, IncrType incr);
146 template <
typename FirstType,
typename LastType>
147 auto seq(FirstType
f, LastType l);
151 template <
typename FirstType,
typename LastType>
152 auto seq(FirstType
f, LastType l)
161 template <
typename FirstType,
typename LastType,
typename IncrType>
162 auto seq(FirstType
f, LastType l, IncrType incr)
173 CleanedIncrType(incr),
174 CleanedIncrType(incr));
179 namespace placeholders {
187 template <
typename SizeType,
typename IncrType>
199 template <
typename SizeType>
int i
Definition: BiCGSTAB_step_by_step.cpp:9
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
Definition: ArithmeticSequence.h:62
SizeType m_size
Definition: ArithmeticSequence.h:89
IncrType m_incr
Definition: ArithmeticSequence.h:90
constexpr ArithmeticSequence(FirstType first, SizeType size, IncrType incr)
Definition: ArithmeticSequence.h:66
constexpr const IncrType & incrObject() const
Definition: ArithmeticSequence.h:85
FirstType m_first
Definition: ArithmeticSequence.h:88
constexpr auto reverse() const -> decltype(Eigen::seqN(m_first+(m_size+fix<-1 >()) *m_incr, m_size, -m_incr))
Definition: ArithmeticSequence.h:93
constexpr ArithmeticSequence(FirstType first, SizeType size)
Definition: ArithmeticSequence.h:65
constexpr Index size() const
Definition: ArithmeticSequence.h:75
constexpr Index operator[](Index i) const
Definition: ArithmeticSequence.h:81
constexpr ArithmeticSequence()=default
constexpr const FirstType & firstObject() const
Definition: ArithmeticSequence.h:83
constexpr Index first() const
Definition: ArithmeticSequence.h:78
@ IncrAtCompileTime
Definition: ArithmeticSequence.h:71
constexpr const SizeType & sizeObject() const
Definition: ArithmeticSequence.h:84
static int f(const TensorMap< Tensor< int, 3 > > &tensor)
Definition: cxx11_tensor_map.cpp:237
static constexpr Eigen::internal::all_t all
Definition: IndexedViewHelper.h:86
static constexpr const last_t last
Definition: IndexedViewHelper.h:48
static constexpr lastp1_t lastp1
Definition: IndexedViewHelper.h:72
auto lastN(SizeType size, IncrType incr) -> decltype(seqN(Eigen::placeholders::last -(size - fix< 1 >()) *incr, size, incr))
Definition: ArithmeticSequence.h:188
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70
ArithmeticSequence< typename internal::cleanup_index_type< FirstType >::type, typename internal::cleanup_index_type< SizeType >::type, typename internal::cleanup_seq_incr< IncrType >::type > seqN(FirstType first, SizeType size, IncrType incr)
Definition: ArithmeticSequence.h:105
auto seq(FirstType f, LastType l) -> decltype(seqN(typename internal::cleanup_index_type< FirstType >::type(f),(typename internal::cleanup_index_type< LastType >::type(l) - typename internal::cleanup_index_type< FirstType >::type(f)+fix< 1 >())))
Definition: ArithmeticSequence.h:152
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
constexpr internal::FixedInt< N > fix
Definition: IntegralConstant.h:214
type
Definition: compute_granudrum_aor.py:141
Definition: Eigen_Colamd.h:49
unsigned SizeType
Use 32-bit array/string indices even for 64-bit platform, instead of using size_t.
Definition: rapidjson.h:67
T type
Definition: IntegralConstant.h:184
Definition: ArithmeticSequence.h:22
cleanup_index_type< T, DynamicIndex >::type type
Definition: ArithmeticSequence.h:23
Definition: IntegralConstant.h:155