|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_MATH_FUNCTION_H
28 #define RL_MATH_FUNCTION_H
99 virtual T
operator()(
const Real& x, const ::std::size_t& derivative = 0)
const = 0;
114 #endif // RL_MATH_FUNCTION_H
Real duration() const
Definition: Function.h:59
virtual Function * clone() const =0
A mathematical mapping from Real -> ArrayX.
Definition: Function.h:45
Function()
Definition: Function.h:47
Real x1
Definition: Function.h:104
const Real & lower() const
Definition: Function.h:69
const Real & upper() const
Definition: Function.h:79
virtual ~Function()
Definition: Function.h:53
Real & upper()
Definition: Function.h:74
Real x0
Definition: Function.h:102
static const Real FUNCTION_BOUNDARY
Definition: Function.h:110
Real & lower()
Definition: Function.h:64
double Real
Definition: Real.h:42
virtual T operator()(const Real &x, const ::std::size_t &derivative=0) const =0
Evaluates the function or a derivative thereof for a given value x.
Robotics Library.
Definition: AnalogInput.cpp:30