public class GaussianFunction extends Function
Constructor and Description |
---|
GaussianFunction() |
GaussianFunction(double mu,
double sigma) |
Modifier and Type | Method and Description |
---|---|
double |
evaluate(double x)
Evaluates the function at position x
|
void |
fitToPoints(double[] x,
double[] y)
Fits the function to the given input data
|
int |
getMinimumNumberOfCorrespondences() |
double |
getMu() |
double[] |
getParametersAsDoubleArray() |
double |
getSigma() |
void |
setMu(double mu) |
void |
setSigma(double sigma) |
java.lang.String |
toString() |
fitToPoints, getAvailableFunctions, getNumberOfParameters
public GaussianFunction()
public GaussianFunction(double mu, double sigma)
public void fitToPoints(double[] x, double[] y)
Function
fitToPoints
in class Function
x
- the input datay
- the output datapublic double evaluate(double x)
Function
public int getMinimumNumberOfCorrespondences()
getMinimumNumberOfCorrespondences
in class Function
public double getMu()
public void setMu(double mu)
mu
- the mu to setpublic double getSigma()
public void setSigma(double sigma)
sigma
- the sigma to setpublic double[] getParametersAsDoubleArray()
getParametersAsDoubleArray
in class Function