# SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.function.special.gaussian

## Class Gaussian

• ### Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.analysis.function.Function

Function.EvaluationException
• ### Constructor Summary

Constructors
Constructor and Description
Gaussian()
Construct an instance of the standard Gaussian function: $$f(x) = e^{-{\frac{(x)^2}{2}}}$$
Gaussian(double a, double b, double c)
Construct an instance of the Gaussian function.
• ### Method Summary

All Methods
Modifier and Type Method and Description
double a()
Get a.
double b()
Get b.
double c()
Get c.
double evaluate(double x)
Evaluate y = f(x).
• ### Methods inherited from class com.numericalmethod.suanshu.analysis.function.rn2r1.univariate.AbstractUnivariateRealFunction

evaluate
• ### Methods inherited from class com.numericalmethod.suanshu.analysis.function.rn2r1.AbstractRealScalarFunction

dimensionOfDomain, dimensionOfRange
• ### Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
• ### Methods inherited from interface com.numericalmethod.suanshu.analysis.function.Function

dimensionOfDomain, dimensionOfRange
• ### Constructor Detail

• #### Gaussian

public Gaussian(double a,
double b,
double c)
Construct an instance of the Gaussian function.
Parameters:
a - a
b - b
c - c
• #### Gaussian

public Gaussian()
Construct an instance of the standard Gaussian function: $$f(x) = e^{-{\frac{(x)^2}{2}}}$$
• ### Method Detail

• #### a

public double a()
Get a.
Returns:
a
• #### b

public double b()
Get b.
Returns:
b
• #### c

public double c()
Get c.
Returns:
c
• #### evaluate

public double evaluate(double x)
Description copied from interface: UnivariateRealFunction
Evaluate y = f(x).
Parameters:
x - x
Returns:
f(x)