Function or value | Description |
Full Usage:
maximize f lowerBound upperBound
Parameters:
float -> float
-
lowerBound : float
-
upperBound : float
-
Returns: float option
|
Finds the maximum in the given function between the lower and upper boundary with tolerance 10^-7 via brent search. Returns None if 100 iterations are reached.
Example
|
Full Usage:
maximizeWith f lowerBound upperBound tolerance maxIterations
Parameters:
float -> float
-
lowerBound : float
-
upperBound : float
-
tolerance : float
-
maxIterations : int
-
Returns: float option
|
Finds the maximum in the given function between the lower and upper boundary with given tolerance via brent search. Returns None if maxiterations are reached.
Example
|
Full Usage:
minimize f lowerBound upperBound
Parameters:
float -> float
-
lowerBound : float
-
upperBound : float
-
Returns: float option
|
Finds the minimum in the given function between the lower and upper boundary with tolerance 10^-7 via brent search. Returns None if 100 iterations are reached.
Example
|
Full Usage:
minimizeWith f lowerBound upperBound tolerance maxIterations
Parameters:
float -> float
-
lowerBound : float
-
upperBound : float
-
tolerance : float
-
maxIterations : int
-
Returns: float option
|
Finds the minimum in the given function between the lower and upper boundary with given tolerance via brent search. Returns None if maxiterations are reached.
Example
|