Eigen::indexing Namespace Reference

Detailed Description

The sole purpose of this namespace is to be able to import all functions and symbols that are expected to be used within operator() for indexing and slicing. If you already imported the whole Eigen namespace:

using namespace Eigen;
Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:70

then you are already all set. Otherwise, if you don't want/cannot import the whole Eigen namespace, the following line:

is equivalent to:

using Eigen::fix;
using Eigen::seq;
using Eigen::placeholders::lastN; // c++11 only
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
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
constexpr internal::FixedInt< N > fix
Definition: IntegralConstant.h:214