public class GaussianDerivativeFunction extends java.lang.Object implements UnivariateRealFunction, java.io.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.
|
| Modifier and Type | Method and Description |
|---|---|
double |
value(double x)
Compute the value for the function.
|
public GaussianDerivativeFunction(double b,
double c,
double d)
b - b parameter valuec - c parameter valued - d parameter valuejava.lang.IllegalArgumentException - if d is 0public GaussianDerivativeFunction(double[] parameters)
parameters - b, c, and d parameter valuesjava.lang.IllegalArgumentException - 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 © 2010 - 2023 Adobe. All Rights Reserved