Eigen::symbolic::NegateExpr< Arg0 > Class Template Reference

#include <SymbolicIndex.h>

+ Inheritance diagram for Eigen::symbolic::NegateExpr< Arg0 >:

Public Member Functions

constexpr NegateExpr ()=default
 
constexpr NegateExpr (const Arg0 &arg0)
 
template<typename... Tags, typename... Types>
constexpr Index eval_impl (const SymbolValue< Tags, Types > &... values) const
 
- Public Member Functions inherited from Eigen::symbolic::BaseExpr< NegateExpr< Arg0 > >
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< NegateExpr< Arg0 > >
static constexpr Index eval_at_compile_time (const SymbolValue< Tags, Types > &...)
 

Protected Attributes

Arg0 m_arg0
 

Additional Inherited Members

- Public Types inherited from Eigen::symbolic::BaseExpr< NegateExpr< Arg0 > >
using Derived = NegateExpr< Arg0 >
 

Constructor & Destructor Documentation

◆ NegateExpr() [1/2]

template<typename Arg0 >
constexpr Eigen::symbolic::NegateExpr< Arg0 >::NegateExpr ( )
constexprdefault

◆ NegateExpr() [2/2]

template<typename Arg0 >
constexpr Eigen::symbolic::NegateExpr< Arg0 >::NegateExpr ( const Arg0 &  arg0)
inlineconstexpr
355 : m_arg0(arg0) {}
Arg0 m_arg0
Definition: SymbolicIndex.h:369

Member Function Documentation

◆ eval_at_compile_time_impl()

template<typename Arg0 >
template<typename... Tags, typename... Types>
static constexpr Index Eigen::symbolic::NegateExpr< Arg0 >::eval_at_compile_time_impl ( const SymbolValue< Tags, Types > &  ...)
inlinestaticconstexpr
363  {
364  constexpr Index v = Arg0::eval_at_compile_time_impl(SymbolValue<Tags, Types>{}...);
365  return (v == Undefined) ? Undefined : -v;
366  }
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1
const int Undefined
Definition: Constants.h:34
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83

References Eigen::Undefined, and v.

◆ eval_impl()

template<typename Arg0 >
template<typename... Tags, typename... Types>
constexpr Index Eigen::symbolic::NegateExpr< Arg0 >::eval_impl ( const SymbolValue< Tags, Types > &...  values) const
inlineconstexpr
358  {
359  return -m_arg0.eval_impl(values...);
360  }

References Eigen::symbolic::NegateExpr< Arg0 >::m_arg0.

Member Data Documentation

◆ m_arg0

template<typename Arg0 >
Arg0 Eigen::symbolic::NegateExpr< Arg0 >::m_arg0
protected

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