Eigen::symbolic::SymbolExpr< tag > Class Template Reference

#include <SymbolicIndex.h>

+ Inheritance diagram for Eigen::symbolic::SymbolExpr< tag >:

Public Types

typedef tag Tag
 
- Public Types inherited from Eigen::symbolic::BaseExpr< SymbolExpr< tag > >
using Derived = SymbolExpr< tag >
 

Public Member Functions

constexpr SymbolExpr ()=default
 
constexpr SymbolValue< Tag, Indexoperator= (Index val) const
 
template<int N>
constexpr SymbolValue< Tag, internal::FixedInt< N > > operator= (internal::FixedInt< N >) const
 
template<typename... Tags, typename... Types>
constexpr Index eval_impl (const SymbolValue< Tags, Types > &... values) const
 
- Public Member Functions inherited from Eigen::symbolic::BaseExpr< SymbolExpr< tag > >
constexpr const Derivedderived () const
 
constexpr Index eval (const SymbolValue< Tags, Types > &... values) const
 
constexpr NegateExpr< Derivedoperator- () const
 
constexpr AddExpr< Derived, ValueExpr<> > operator- (Index a) const
 
constexpr AddExpr< Derived, ValueExpr< internal::FixedInt<-N > > > operator- (internal::FixedInt< N >) const
 
constexpr AddExpr< Derived, NegateExpr< OtherDerived > > operator- (const BaseExpr< OtherDerived > &b) const
 
constexpr AddExpr< Derived, ValueExpr<> > operator+ (Index b) const
 
constexpr AddExpr< Derived, ValueExpr< internal::FixedInt< N > > > operator+ (internal::FixedInt< N >) const
 
constexpr AddExpr< Derived, OtherDerived > operator+ (const BaseExpr< OtherDerived > &b) const
 
constexpr ProductExpr< Derived, ValueExpr<> > operator* (Index a) const
 
constexpr ProductExpr< Derived, ValueExpr< internal::FixedInt< N > > > operator* (internal::FixedInt< N >) const
 
constexpr ProductExpr< Derived, OtherDerived > operator* (const BaseExpr< OtherDerived > &b) const
 
constexpr QuotientExpr< Derived, ValueExpr<> > operator/ (Index a) const
 
constexpr QuotientExpr< Derived, ValueExpr< internal::FixedInt< N > > > operator/ (internal::FixedInt< N >) const
 
constexpr QuotientExpr< Derived, OtherDerived > operator/ (const BaseExpr< OtherDerived > &b) const
 

Static Public Member Functions

template<typename... Tags, typename... Types>
static constexpr Index eval_at_compile_time_impl (const SymbolValue< Tags, Types > &...)
 
- Static Public Member Functions inherited from Eigen::symbolic::BaseExpr< SymbolExpr< tag > >
static constexpr Index eval_at_compile_time (const SymbolValue< Tags, Types > &...)
 

Detailed Description

template<typename tag>
class Eigen::symbolic::SymbolExpr< tag >

Expression of a symbol uniquely identified by the template parameter type tag

Member Typedef Documentation

◆ Tag

template<typename tag >
typedef tag Eigen::symbolic::SymbolExpr< tag >::Tag

Alias to the template parameter tag

Constructor & Destructor Documentation

◆ SymbolExpr()

template<typename tag >
constexpr Eigen::symbolic::SymbolExpr< tag >::SymbolExpr ( )
constexprdefault

Member Function Documentation

◆ eval_at_compile_time_impl()

template<typename tag >
template<typename... Tags, typename... Types>
static constexpr Index Eigen::symbolic::SymbolExpr< tag >::eval_at_compile_time_impl ( const SymbolValue< Tags, Types > &  ...)
inlinestaticconstexpr
345  {
346  return EvalSymbolValueHelper<Tag, SymbolValue<Tags, Types>...>::eval_at_compile_time_impl(
347  SymbolValue<Tags, Types>{}...);
348  }
static constexpr Index eval_at_compile_time_impl(const SymbolValue< Tags, Types > &...)
Definition: SymbolicIndex.h:345

◆ eval_impl()

template<typename tag >
template<typename... Tags, typename... Types>
constexpr Index Eigen::symbolic::SymbolExpr< tag >::eval_impl ( const SymbolValue< Tags, Types > &...  values) const
inlineconstexpr
340  {
341  return EvalSymbolValueHelper<Tag, SymbolValue<Tags, Types>...>::eval_impl(values...);
342  }
constexpr Index eval_impl(const SymbolValue< Tags, Types > &... values) const
Definition: SymbolicIndex.h:340

◆ operator=() [1/2]

template<typename tag >
constexpr SymbolValue<Tag, Index> Eigen::symbolic::SymbolExpr< tag >::operator= ( Index  val) const
inlineconstexpr

Associate the value val to the given symbol *this, uniquely identified by its Tag.

The returned object should be passed to ExprBase::eval() to evaluate a given expression with this specified runtime-time value.

332 { return SymbolValue<Tag, Index>(val); }
val
Definition: calibrate.py:119

References calibrate::val.

◆ operator=() [2/2]

template<typename tag >
template<int N>
constexpr SymbolValue<Tag, internal::FixedInt<N> > Eigen::symbolic::SymbolExpr< tag >::operator= ( internal::FixedInt< N ) const
inlineconstexpr
335  {
336  return SymbolValue<Tag, internal::FixedInt<N>>{internal::FixedInt<N>{}};
337  }

The documentation for this class was generated from the following file: