Struct argmin::solver::brent::Brent[][src]

pub struct Brent<F> { /* fields omitted */ }
Expand description

Brent’s method

A root-finding algorithm combining the bisection method, the secant method and inverse quadratic interpolation. It has the reliability of bisection but it can be as quick as some of the less-reliable methods.

References:

https://en.wikipedia.org/wiki/Brent%27s_method

Implementations

Constructor The values min and max must bracketing the root of the function. The parameter tol specifies the relative error to be targeted.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Name of the solver

Initializes the algorithm Read more

Computes one iteration of the algorithm.

Checks whether basic termination reasons apply. Read more

Checks whether the algorithm must be terminated

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.