Sine function functor: f(x) = a * sin(b*x + c) + d.
More...
#include <MathUtils_FunctorScalar.hxx>
Sine function functor: f(x) = a * sin(b*x + c) + d.
◆ Sine()
| MathUtils::Sine::Sine |
( |
double | theAmplitude = 1.0, |
|
|
double | theFrequency = 1.0, |
|
|
double | thePhase = 0.0, |
|
|
double | theOffset = 0.0 ) |
|
inline |
Constructor with full parameters.
- Parameters
-
| theAmplitude | amplitude a |
| theFrequency | angular frequency b |
| thePhase | phase shift c |
| theOffset | vertical offset d |
◆ Value()
Evaluates sine function.
- Parameters
-
| [in] | theX | input value |
| [out] | theY | function value |
- Returns
- true (always succeeds)
◆ Values()
Evaluates sine function and derivative.
- Parameters
-
| [in] | theX | input value |
| [out] | theY | function value |
| [out] | theDY | derivative value |
- Returns
- true (always succeeds)
The documentation for this class was generated from the following file: