Click or drag to resize

DoubleFunctionalDelegate(Int32, FuncDoubleVector, Double, Double) Constructor

Constructs a DoubleFunctionalDelegate object from the given delegate and uses the given central difference delta value for estimating the gradient using a central difference algorithm.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public DoubleFunctionalDelegate(
	int xDimension,
	Func<DoubleVector, double> functional,
	double gradientCenteralDiffDelta
)

Parameters

xDimension  Int32
The dimension of the domain of the functional.
functional  FuncDoubleVector, Double
The delegate for evaluating the functional.
gradientCenteralDiffDelta  Double
Delta value used for approximating the gradient using a central difference algorithm. The centeral difference algorithm will be used to approximate the graidient if no gradient delegate is provided.
See Also