Click or drag to resize

NMathFunctionsThreeParameterExponential Method

Computes the exponential function, using the given vector of function parameters, at the specified point.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double ThreeParameterExponential(
	DoubleVector p,
	double x
)

Parameters

p  DoubleVector
The function parameters.
x  Double
The point at which to evaluate the function.

Return Value

Double
The value of the function evaluated at x.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the length of the parameter vector is not equal to 3.
Remarks
f(x) =  p0 * exp(p1*x) + p2
See Also