GoldenSectionFindExtremum.FindExtremum Method |
Attempts to locate a local extremum in the provided number of iterations.
Namespace:
AGI.Foundation.NumericalMethods.Advanced
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntaxpublic bool FindExtremum(
int iterations
)
Public Function FindExtremum (
iterations As Integer
) As Boolean
public:
bool FindExtremum(
int iterations
)
member FindExtremum :
iterations : int -> bool
Parameters
- iterations
- Type: System.Int32
The allowed number of iterations.
Return Value
Type:
Booleantrue if the algorithm converged on an extremum; otherwise
false.
Remarks
Using an iterations value of one in successive calls allows the algorithm to be iterated manually.
See Also