package optimization1d
Find extrema of 1D functions
Install
Dune Dependency
Authors
Maintainers
Sources
optimization1d-0.6.1.tbz
sha256=a811f5b1ea01ef0cf97e6c963e6f73c4c7d092faf6924597f294986d7a93310f
md5=70c43ba30a8290453430cd8d03736c66
doc/optimization1d/Min1D/index.html
Module Min1D
Source
One dimensional minimization routines.
brent f a b
uses Brent's method to return (x, f x)
where x
is the best approximation to a minimum point of f
on the interval [a,b]
.
Algorithm: G.Forsythe, M.Malcolm, C.Moler, Computer methods for mathematical computations. M., Mir, 1980.
Source
val golden_search :
?tol:float ->
(float -> float) ->
float ->
float ->
float ->
float * float
golden_search f a b c
returns (x, f x)
where x
is an approximaion of a minimum point of f
inside the interval [a,c]
. The point b
must be between a
and c
and such that f(b)
is lower than f(a)
and f(c)
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>