#include <NestedFunction.h>
◆ NestedFunction()
template<typename T2 , typename T >
◆ ~NestedFunction()
template<typename T2 , typename T >
◆ clone()
template<typename T2 , typename T >
◆ operator()()
template<typename T2 , typename T >
Evaluates the function or a derivative thereof for a given value x.
Some functions are only defined in the interval [lower(), upper()], and fail to evaluate outside of [lower() - FUNCTION_BOUNDARY, upper() + FUNCTION_BOUNDARY]. In Debug mode, this is signaled by failing asserts. In Release mode, the function is evaluated if algebraically possible, or will return an empty ArrayX otherwise. Some functions are not indefinitely often differentiable, and will return a NaN array for all higher orders.
- Parameters
-
[in] | x | Input value of the function or derivative |
[in] | derivative | Order of the derivative to be evaluated |
Implements rl::math::Function< T >.
◆ inner
template<typename T2 , typename T >
◆ outer
template<typename T2 , typename T >
The documentation for this class was generated from the following file: