|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math.optimization.fitting.GaussianDerivativeFunction
public class GaussianDerivativeFunction
The derivative of GaussianFunction
. Specifically:
f'(x) = (-b / (d^2)) * (x - c) * exp(-((x - c)^2) / (2*(d^2)))
Notation key:
Constructor Summary | |
---|---|
GaussianDerivativeFunction(double[] parameters)
Constructs an instance with the specified parameters. |
|
GaussianDerivativeFunction(double b,
double c,
double d)
Constructs an instance with the specified parameters. |
Method Summary | |
---|---|
double |
value(double x)
Compute the value for the function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussianDerivativeFunction(double b, double c, double d)
b
- b parameter valuec
- c parameter valued
- d parameter value
IllegalArgumentException
- if d
is 0public GaussianDerivativeFunction(double[] parameters)
parameters
- b, c, and d parameter values
IllegalArgumentException
- if parameters
is null,
parameters
length is not 3, or if
parameters[2]
is 0Method Detail |
---|
public double value(double x)
value
in interface UnivariateRealFunction
x
- the point for which the function value should be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |