Eigen::placeholders Namespace Reference

Typedefs

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

Functions

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

Variables

static const Eigen::internal::all_t all
 
static const lastp1_t end
 
static const last_t last
 
static const auto lastp1
 

Typedef Documentation

◆ all_t

typedef Eigen::internal::all_t Eigen::placeholders::all_t

Definition at line 157 of file IndexedViewHelper.h.

◆ last_t

typedef symbolic::SymbolExpr<internal::symbolic_last_tag> Eigen::placeholders::last_t

Definition at line 24 of file IndexedViewHelper.h.

◆ lastp1_t

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

Definition at line 156 of file IndexedViewHelper.h.

Function Documentation

◆ lastN() [1/2]

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

[c++11]

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

It is a shortcut for:

seq(last+fix<1>-size, last)
static const last_t last
auto seq(FirstType f, LastType l, IncrType incr)
See also
lastN(SizeType,IncrType, seqN(FirstType,SizeType), seq(FirstType,LastType)

Definition at line 190 of file ArithmeticSequence.h.

192 {
193  return seqN(Eigen::placeholders::last+fix<1>()-size, size);
194 }
ArithmeticSequence< typename internal::cleanup_index_type< FirstType >::type, typename internal::cleanup_index_type< SizeType >::type > seqN(FirstType first, SizeType 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))

[c++11]

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)
See also
lastN(SizeType), seqN(FirstType,SizeType), seq(FirstType,LastType,IncrType)

Definition at line 177 of file ArithmeticSequence.h.

179 {
180  return seqN(Eigen::placeholders::last-(size-fix<1>())*incr, size, incr);
181 }