public abstract class Function
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Function() |
Modifier and Type | Method and Description |
---|---|
abstract double |
evaluate(double x)
Evaluates the function at position x
|
abstract void |
fitToPoints(double[] x,
double[] y)
Fits the function to the given input data
|
void |
fitToPoints(float[] x,
float[] y) |
static Function[] |
getAvailableFunctions() |
abstract int |
getMinimumNumberOfCorrespondences() |
int |
getNumberOfParameters() |
abstract double[] |
getParametersAsDoubleArray() |
abstract java.lang.String |
toString() |
public abstract double[] getParametersAsDoubleArray()
public abstract void fitToPoints(double[] x, double[] y)
x
- the input datay
- the output datapublic void fitToPoints(float[] x, float[] y)
public abstract double evaluate(double x)
x
- the positionpublic abstract java.lang.String toString()
toString
in class java.lang.Object
public abstract int getMinimumNumberOfCorrespondences()
public static Function[] getAvailableFunctions()
public int getNumberOfParameters()