java.lang.Object
org.apache.commons.math4.analysis.function.Gaussian
All Implemented Interfaces:
UnivariateDifferentiableFunction, UnivariateFunction

public class Gaussian
extends java.lang.Object
implements UnivariateDifferentiableFunction
Gaussian function.
Since:
3.0
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  Gaussian.Parametric
    Parametric function where the input array contains the parameters of the Gaussian, ordered as follows: Norm Mean Standard deviation
  • Constructor Summary

    Constructors 
    Constructor 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.
  • Method Summary

    Modifier and Type Method Description
    double value​(double x)
    Compute the value of the function.
    DerivativeStructure value​(DerivativeStructure t)
    Simple mathematical function.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait