| NMathFunctionsThreeParameterSine Method |
Computes the sine function, using the given vector of function parameters,
at the specified point.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double ThreeParameterSine(
DoubleVector p,
double x
)
Public Shared Function ThreeParameterSine (
p As DoubleVector,
x As Double
) As Double
public:
static double ThreeParameterSine(
DoubleVector^ p,
double x
)
static member ThreeParameterSine :
p : DoubleVector *
x : float -> float
Parameters
- p DoubleVector
- The function parameters.
- x Double
- The point at which to evaluate the function.
Return Value
DoubleThe value of the function evaluated at x.
Exceptions Remarks f(x) = p0 * sin(p1*x + p2)
, where p0 is the amplitude, p1 is the angular frequency,
and p2 is the phase.
See Also