Eigen::placeholders Namespace Reference

Typedefs

typedef symbolic::SymbolExpr< internal::symbolic_last_taglast_t
 
typedef symbolic::AddExpr< symbolic::SymbolExpr< internal::symbolic_last_tag >, symbolic::ValueExpr< Eigen::internal::FixedInt< 1 > > > lastp1_t
 
typedef Eigen::internal::all_t all_t
 

Functions

template<typename SizeType , typename IncrType >
auto lastN (SizeType size, IncrType incr) -> decltype(seqN(Eigen::placeholders::last -(size - fix< 1 >()) *incr, size, incr))
 
template<typename SizeType >
auto lastN (SizeType size) -> decltype(seqN(Eigen::placeholders::last+fix< 1 >() - size, size))
 

Variables

static constexpr const last_t last
 
static constexpr lastp1_t lastp1 = lastp1_t{}
 
static constexpr lastp1_t end = lastp1
 
static constexpr Eigen::internal::all_t all
 

Typedef Documentation

◆ all_t

◆ last_t

◆ lastp1_t

Function Documentation

◆ lastN() [1/2]

template<typename SizeType >
auto Eigen::placeholders::lastN ( SizeType  size) -> decltype(seqN(Eigen::placeholders::last + fix<1>() - size, size))

\cpp11

Returns
a symbolic ArithmeticSequence representing the last size elements with a unit increment.

It is a shortcut for:

seq(last+fix<1>-size, last)
Scalar Scalar int size
Definition: benchVecAdd.cpp:17
static constexpr const last_t last
Definition: IndexedViewHelper.h:48
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
See also
lastN(SizeType,IncrType, seqN(FirstType,SizeType), seq(FirstType,LastType)
200  {
201  return seqN(Eigen::placeholders::last + fix<1>() - size, size);
202 }
ArithmeticSequence< typename internal::cleanup_index_type< FirstType >::type, typename internal::cleanup_index_type< SizeType >::type > seqN(FirstType first, SizeType size)
Definition: ArithmeticSequence.h:117

References last, Eigen::seqN(), and size.

◆ lastN() [2/2]

template<typename SizeType , typename IncrType >
auto Eigen::placeholders::lastN ( SizeType  size,
IncrType  incr 
) -> decltype(seqN(Eigen::placeholders::last - (size - fix<1>()) * incr, size, incr))

\cpp11

Returns
a symbolic ArithmeticSequence representing the last size elements with increment incr.

It is a shortcut for:

seqN(last-(size-fix<1>)*incr, size, incr)
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
See also
lastN(SizeType), seqN(FirstType,SizeType), seq(FirstType,LastType,IncrType)
189  {
190  return seqN(Eigen::placeholders::last - (size - fix<1>()) * incr, size, incr);
191 }

References last, Eigen::seqN(), and size.

Referenced by check_indexed_view(), and check_tutorial_examples().