public class GaussianDerivativeFunction extends Object implements UnivariateRealFunction, Serializable
GaussianFunction. Specifically:
f'(x) = (-b / (d^2)) * (x - c) * exp(-((x - c)^2) / (2*(d^2)))
Notation key:
| Constructor and Description |
|---|
GaussianDerivativeFunction(double[] parameters)
Constructs an instance with the specified parameters.
|
GaussianDerivativeFunction(double b,
double c,
double d)
Constructs an instance with the specified parameters.
|
public GaussianDerivativeFunction(double b,
double c,
double d)
b - b parameter valuec - c parameter valued - d parameter valueIllegalArgumentException - if d is 0public GaussianDerivativeFunction(double[] parameters)
parameters - b, c, and d parameter valuesIllegalArgumentException - if parameters is null,
parameters length is not 3, or if
parameters[2] is 0public double value(double x)
value in interface UnivariateRealFunctionx - the point for which the function value should be computedCopyright © 2003–2018. All rights reserved.