Quotient of functions functor: f(x) / g(x).
More...
#include <MathUtils_FunctorScalar.hxx>
|
| | Quotient (F theF, G theG) |
| | Constructor from two functions.
|
| bool | Value (double theX, double &theY) const |
| | Evaluates quotient f(theX) / g(theX).
|
template<typename F, typename G>
class MathUtils::Quotient< F, G >
Quotient of functions functor: f(x) / g(x).
- Template Parameters
-
| F | numerator function type |
| G | denominator function type |
◆ Quotient()
template<typename F, typename G>
Constructor from two functions.
- Parameters
-
| theF | numerator function |
| theG | denominator function |
◆ Value()
template<typename F, typename G>
Evaluates quotient f(theX) / g(theX).
- Parameters
-
| [in] | theX | input value |
| [out] | theY | quotient value |
- Returns
- false if evaluation fails or denominator is zero
The documentation for this class was generated from the following file: