Deprecated
as a consequence of DifferentiableUnivariateFunction being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Gaussian.
Parametric function where the input array contains the parameters of the Gaussian, ordered as follows:
|
| Modifier and Type | Field and Description |
|---|---|
| private final double | i2s2
Inverse of twice the square of the standard deviation. |
| private final double | is
Inverse of the standard deviation. |
| private final double | mean
Mean. |
| private final double | norm
Normalization factor. |
| Access | Constructor and Description |
|---|---|
| public | Gaussian(double
Normalization factor. norm, double Mean. mean, double Standard deviation. sigma)Gaussian with given normalization factor, mean and standard deviation. |
| public | Gaussian(double
Mean. mean, double Standard deviation. sigma)Normalized gaussian with given mean and standard deviation. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public UnivariateFunction | derivative()
Implements org.
Deprecated
as of 3.1, replaced by
value(DerivativeStructure)
Returns the derivative of the function |
| public double | value(double
Point at which the function value should be computed. x)Implements org. Compute the value of the function. |
| private static double | Returns: the value of the Gaussian atx.x - mean.Normalization factor. norm, double Inverse of twice the square of the standard deviation. i2s2)
|
| public DerivativeStructure | value(final DerivativeStructure
function input value t)Implements org. Simple mathematical function. |
| i2s2 | back to summary |
|---|---|
| private final double i2s2 Inverse of twice the square of the standard deviation. | |
| is | back to summary |
|---|---|
| private final double is Inverse of the standard deviation. | |
| mean | back to summary |
|---|---|
| private final double mean Mean. | |
| norm | back to summary |
|---|---|
| private final double norm Normalization factor. | |
| Gaussian | back to summary |
|---|---|
| public Gaussian(double norm, double mean, double sigma) throws NotStrictlyPositiveException Gaussian with given normalization factor, mean and standard deviation.
| |
| Gaussian | back to summary |
|---|---|
| public Gaussian(double mean, double sigma) throws NotStrictlyPositiveException Normalized gaussian with given mean and standard deviation.
| |
| Gaussian | back to summary |
|---|---|
| public Gaussian() Normalized gaussian with zero mean and unit standard deviation. | |
| derivative | back to summary |
|---|---|
| public UnivariateFunction derivative() Implements org. Doc from org. Deprecated as of 3.1, replaced by Returns the derivative of the function
| |
| value | back to summary |
|---|---|
| public double value(double x) Implements org. Doc from org. Compute the value of the function.
| |
| value | back to summary |
|---|---|
private static double value(double xMinusMean, double norm, double i2s2)
| |
| value | back to summary |
|---|---|
| public DerivativeStructure value(final DerivativeStructure t) throws DimensionMismatchException Implements org. Doc from org. Simple mathematical function.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double[] | Returns: the gradient vector atx.Value at which the gradient must be computed. x, double... Values of norm, mean and standard deviation. param)Implements org. Computes the value of the gradient at |
| private void | validateParameters(double[]
Values of norm, mean and standard deviation. param)Validates parameters to ensure they are appropriate for the evaluation of
the |
| public double | Returns: the value of the function.Value for which the function must be computed. x, double... Values of norm, mean and standard deviation. param)Implements org. Computes the value of the Gaussian at |
| Parametric | back to summary |
|---|---|
| public Parametric() | |
| gradient | back to summary |
|---|---|
| public double[] gradient(double x, double... param) throws NullArgumentException, DimensionMismatchException, NotStrictlyPositiveException Implements org. Computes the value of the gradient at
| |
| validateParameters | back to summary |
|---|---|
| private void validateParameters(double[] param) throws NullArgumentException, DimensionMismatchException, NotStrictlyPositiveException Validates parameters to ensure they are appropriate for the evaluation of
the
| |
| value | back to summary |
|---|---|
| public double value(double x, double... param) throws NullArgumentException, DimensionMismatchException, NotStrictlyPositiveException Implements org. Computes the value of the Gaussian at
| |