ObjectiveFunctionNonlinearFunction(FuncVectorDouble, VectorDouble, VectorDouble, VectorDouble, VectorDouble, VectorDouble, Int32) Method |
Objective function for nonlinear least squares regression.
The numerical jacobian with accuracy order is used.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static IObjectiveFunction NonlinearFunction(
Func<Vector<double>, Vector<double>, Vector<double>> function,
Vector<double> observedX,
Vector<double> observedY,
Vector<double> weight = null,
int accuracyOrder = 2
)
Parameters
- function FuncVectorDouble, VectorDouble, VectorDouble
- The model function.
- observedX VectorDouble
- The observed x-values.
- observedY VectorDouble
- The observed y-values.
- weight VectorDouble (Optional)
- Optional weights.
- accuracyOrder Int32 (Optional)
- The numerical differentiation accuracy order.
Return Value
IObjectiveFunctionAn objective function for nonlinear least-squares regression with a numerically approximated Jacobian.
See Also