Shifted function functor: f(x) + c.
More...
#include <MathUtils_FunctorScalar.hxx>
|
| | Shifted (F theF, double theShift) |
| | Constructor from function and shift value.
|
| bool | Value (double theX, double &theY) const |
| | Evaluates shifted function f(theX) + c.
|
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: