Click or drag to resize

DoubleParameterizedDelegate(FuncDoubleVector, Double, Double, ActionDoubleVector, Double, DoubleVector) Constructor

Constructs a DoubleParameterizedDelegate instance from the given delegates.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleParameterizedDelegate(
	Func<DoubleVector, double, double> f,
	Action<DoubleVector, double, DoubleVector> gradient
)

Parameters

f  FuncDoubleVector, Double, Double
The constructed instance will use the delegate f to implement the Evaluate method inherited from DoubleParameterizedFunction
gradient  ActionDoubleVector, Double, DoubleVector
The constructed instance will use the delegate gradient to implement the GradientWithRespectToParams method inherited from DoubleParameterizedFunction
See Also