|
BrentSearch Constructor
|
Constructs a new Brent search algorithm.
Namespace:
Accord.Math.Optimization
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public BrentSearch(
Func<double, double> function,
double lowerBound,
double upperBound,
double tol = 1E-06,
int maxIterations = 500
)
Public Sub New (
function As Func(Of Double, Double),
lowerBound As Double,
upperBound As Double,
Optional tol As Double = 1E-06,
Optional maxIterations As Integer = 500
)
Request Example
View SourceParameters
- function
- Type: SystemFuncDouble, Double
The function to be searched. - lowerBound
- Type: SystemDouble
Start of search region. - upperBound
- Type: SystemDouble
End of search region. - tol (Optional)
- Type: SystemDouble
The tolerance for determining the solution. - maxIterations (Optional)
- Type: SystemInt32
The maximum number of iterations before terminating.
See Also