Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Optimize ¶
func Optimize(f func([]float64) float64, start [][]float64, cf func([]float64)) ([]float64, int, int)
Optimize function f with Nelder-Mead. start points to a slice of starting points It is the responsibility of the caller to make sure the dimensionality is correct.
The cf function is a constraint function which can be used to clamp the space in which your optimization runs. This avoid the algorithm picking extreme points, ouside the space you want to operate on.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.