Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EpsilonF64 - float64 precision EpsilonF64 float64 = float64(7.)/3 - float64(4.)/3 - float64(1.) )
Variables ¶
View Source
var ( // ErrRootIsNotBracketed - no root in the given interval ErrRootIsNotBracketed = errors.New("ErrRootIsNotBracketed - no root in the given interval") )
Functions ¶
func Brent ¶
Brent - Brent's Method finds the root of the given quadratic function f in [a,b]. The precision is the number of digits after the floating point. reference: https://en.wikipedia.org/wiki/Brent%27s_method
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.