Rational function functor: f(x) = P(x) / Q(x). Both numerator P and denominator Q are polynomials.
More...
#include <MathUtils_FunctorScalar.hxx>
Rational function functor: f(x) = P(x) / Q(x). Both numerator P and denominator Q are polynomials.
Usage:
Rational function functor: f(x) = P(x) / Q(x). Both numerator P and denominator Q are polynomials.
Definition MathUtils_FunctorScalar.hxx:252
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
◆ Rational() [1/2]
Constructor from math_Vector.
- Parameters
-
| theNum | numerator coefficients (ascending power order) |
| theDenom | denominator coefficients (ascending power order) |
◆ Rational() [2/2]
| MathUtils::Rational::Rational |
( |
std::initializer_list< double > | theNum, |
|
|
std::initializer_list< double > | theDenom ) |
|
inline |
Constructor from initializer lists.
- Parameters
-
| theNum | numerator coefficients |
| theDenom | denominator coefficients |
◆ Value()
Evaluates rational function at theX.
- Parameters
-
| [in] | theX | input value |
| [out] | theY | function value P(theX)/Q(theX) |
- Returns
- false if denominator is zero
The documentation for this class was generated from the following file: