Constant function functor: f(x) = c.
More...
#include <MathUtils_FunctorScalar.hxx>
Constant function functor: f(x) = c.
◆ Constant()
| MathUtils::Constant::Constant |
( |
double | theValue | ) |
|
|
inlineexplicit |
Constructor from constant value.
- Parameters
-
◆ Value()
Evaluates constant function.
- Parameters
-
| [in] | theX | input value (ignored) |
| [out] | theY | constant value |
- Returns
- true (always succeeds)
◆ Values()
Evaluates constant and derivative (derivative is always 0).
- Parameters
-
| [in] | theX | input value (ignored) |
| [out] | theY | constant value |
| [out] | theDY | derivative (always 0) |
- Returns
- true (always succeeds)
The documentation for this class was generated from the following file: