|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_MATH_NESTEDFUNCTION_H
28 #define RL_MATH_NESTEDFUNCTION_H
38 template<
typename T2,
typename T>
71 throw ::std::runtime_error(
"rl::math::NestedFunction: Derivatives > 1 not supported");
86 #endif // RL_MATH_NESTEDFUNCTION_H
const Function< T > & outer
Definition: NestedFunction.h:81
A mathematical mapping from Real -> ArrayX.
Definition: Function.h:45
virtual ~NestedFunction()
Definition: NestedFunction.h:51
Real & upper()
Definition: Function.h:74
Definition: NestedFunction.h:40
const Function< T2 > & inner
Definition: NestedFunction.h:79
T operator()(const Real &x, const ::std::size_t &derivative=0) const
Evaluates the function or a derivative thereof for a given value x.
Definition: NestedFunction.h:60
NestedFunction(const Function< T2 > &inner, const Function< T > &outer)
Definition: NestedFunction.h:42
NestedFunction * clone() const
Definition: NestedFunction.h:55
Real & lower()
Definition: Function.h:64
double Real
Definition: Real.h:42
Robotics Library.
Definition: AnalogInput.cpp:30