Click or drag to resize

ObjectiveFunctionGradient(FuncVectorDouble, Double, FuncVectorDouble, VectorDouble) Method

Objective function where the Gradient is available. Lazy evaluation.

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public 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

IObjectiveFunction
An objective function that evaluates the value eagerly and the gradient lazily.
See Also