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: 5.1.0.0
Syntax
Parameters
- xDimension
- Type: System..::.Int32
The dimension of the domain of the functional.
- functional
- Type: System..::.Func<(Of <(DoubleVector, Double>)>)
The delegate for evaluating the functional.
- gradientCenteralDiffDelta
- Type: System..::.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