ObjectiveFunctionGradient(FuncVectorDouble, Double, FuncVectorDouble, VectorDouble) Method |
Objective function where the Gradient is available. Lazy evaluation.
Namespace: Altaxo.Calc.OptimizationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static IObjectiveFunction Gradient(
Func<Vector<double>, double> function,
Func<Vector<double>, Vector<double>> gradient
)
Parameters
- function FuncVectorDouble, Double
- The objective function.
- gradient FuncVectorDouble, VectorDouble
- The gradient function.
Return Value
IObjectiveFunctionAn objective function that evaluates the value eagerly and the gradient lazily.
See Also