public class IdentityFunction extends Function
Constructor and Description |
---|
IdentityFunction() |
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[] |
getParametersAsDoubleArray() |
java.lang.String |
toString() |
fitToPoints, getAvailableFunctions, getNumberOfParameters
public double evaluate(double x)
Function
public void fitToPoints(double[] x, double[] y)
Function
fitToPoints
in class Function
x
- the input datay
- the output datapublic int getMinimumNumberOfCorrespondences()
getMinimumNumberOfCorrespondences
in class Function
public double[] getParametersAsDoubleArray()
getParametersAsDoubleArray
in class Function