public class Gaussian extends Object implements UnivariateDifferentiableFunction
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Gaussian.ParametricParametric function where the input array contains the parameters of
 the Gaussian, ordered as follows:
 
  Norm
  Mean
  Standard deviation
  | 
| Constructor and Description | 
|---|
| Gaussian()Normalized gaussian with zero mean and unit standard deviation. | 
| Gaussian(double mean,
        double sigma)Normalized gaussian with given mean and standard deviation. | 
| Gaussian(double norm,
        double mean,
        double sigma)Gaussian with given normalization factor, mean and standard deviation. | 
| Modifier and Type | Method and Description | 
|---|---|
| DerivativeStructure | value(DerivativeStructure t)Simple mathematical function. | 
| double | value(double x)Compute the value of the function. | 
public Gaussian(double norm,
                double mean,
                double sigma)
         throws MathIllegalArgumentException
norm - Normalization factor.mean - Mean.sigma - Standard deviation.MathIllegalArgumentException - if sigma <= 0.public Gaussian(double mean,
                double sigma)
         throws MathIllegalArgumentException
mean - Mean.sigma - Standard deviation.MathIllegalArgumentException - if sigma <= 0.public Gaussian()
public double value(double x)
value in interface UnivariateFunctionx - Point at which the function value should be computed.public DerivativeStructure value(DerivativeStructure t) throws MathIllegalArgumentException
UnivariateDifferentiableFunction classes compute both the
 value and the first derivative of the function.
value in interface UnivariateDifferentiableFunctiont - function input valueMathIllegalArgumentException - if t is inconsistent with the
 function's free parameters or orderCopyright © 2016–2020 Hipparchus.org. All rights reserved.