Shifted function functor: f(x) + c.
More...
#include <MathUtils_FunctorScalar.hxx>
template<
typename F>
class MathUtils::Shifted< F >
Shifted function functor: f(x) + c.
- Template Parameters
-
◆ Shifted()
Constructor from function and shift value.
- Parameters
-
| theF | function to shift |
| theShift | shift value (added to output) |
◆ Value()
Evaluates shifted function f(theX) + c.
- Parameters
-
| [in] | theX | input value |
| [out] | theY | shifted value |
- Returns
- false if evaluation fails
The documentation for this class was generated from the following file: