Class CurveFitter.TheoreticalValuesFunction
java.lang.Object
org.apache.commons.math3.optimization.fitting.CurveFitter.TheoreticalValuesFunction
- All Implemented Interfaces:
MultivariateDifferentiableVectorFunction
,MultivariateVectorFunction
- Enclosing class:
CurveFitter<T extends ParametricUnivariateFunction>
private class CurveFitter.TheoreticalValuesFunction
extends Object
implements MultivariateDifferentiableVectorFunction
Vectorial function computing function theoretical values.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimple constructor. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
value
(double[] point) Compute the value for the function at the given point.value
(DerivativeStructure[] point) Compute the value for the function at the given point.
-
Field Details
-
f
Function to fit.
-
-
Constructor Details
-
TheoreticalValuesFunction
TheoreticalValuesFunction(ParametricUnivariateFunction f) Simple constructor.- Parameters:
f
- function to fit.
-
-
Method Details
-
value
public double[] value(double[] point) Compute the value for the function at the given point.- Specified by:
value
in interfaceMultivariateVectorFunction
- Parameters:
point
- point at which the function must be evaluated- Returns:
- function value for the given point
-
value
Compute the value for the function at the given point.- Specified by:
value
in interfaceMultivariateDifferentiableVectorFunction
- Parameters:
point
- point at which the function must be evaluated- Returns:
- function value for the given point
-