|
BaseGradientOptimizationMethod Constructor (Int32, FuncDouble, Double, FuncDouble, Double)
|
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax protected BaseGradientOptimizationMethod(
int numberOfVariables,
Func<double[], double> function,
Func<double[], double[]> gradient
)
Protected Sub New (
numberOfVariables As Integer,
function As Func(Of Double(), Double),
gradient As Func(Of Double(), Double())
)
Request Example
View SourceParameters
- numberOfVariables
- Type: SystemInt32
The number of free parameters in the optimization problem. - function
- Type: SystemFuncDouble, Double
The objective function whose optimum values should be found. - gradient
- Type: SystemFuncDouble, Double
The gradient of the objective function.
See Also