Struct argmin::solver::brent::Brent [−][src]
pub struct Brent<F> { /* fields omitted */ }
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
impl<F: ArgminFloat> Brent<F>
[src]
impl<F: ArgminFloat> Brent<F>
[src]Trait Implementations
impl<'de, F> Deserialize<'de> for Brent<F> where
F: Deserialize<'de>,
[src]
impl<'de, F> Deserialize<'de> for Brent<F> where
F: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<O, F> Solver<O> for Brent<F> where
O: ArgminOp<Param = F, Output = F, Float = F>,
F: ArgminFloat,
[src]
impl<O, F> Solver<O> for Brent<F> where
O: ArgminOp<Param = F, Output = F, Float = F>,
F: ArgminFloat,
[src]const NAME: &'static str
[src]
fn init(
&mut self,
op: &mut OpWrapper<O>,
_state: &IterState<O>
) -> Result<Option<ArgminIterData<O>>, Error>
[src]
&mut self,
op: &mut OpWrapper<O>,
_state: &IterState<O>
) -> Result<Option<ArgminIterData<O>>, Error>
fn next_iter(
&mut self,
op: &mut OpWrapper<O>,
_state: &IterState<O>
) -> Result<ArgminIterData<O>, Error>
[src]
&mut self,
op: &mut OpWrapper<O>,
_state: &IterState<O>
) -> Result<ArgminIterData<O>, Error>
fn terminate_internal(&mut self, state: &IterState<O>) -> TerminationReason
[src]
fn terminate(&mut self, _state: &IterState<O>) -> TerminationReason
[src]
Auto Trait Implementations
impl<F> RefUnwindSafe for Brent<F> where
F: RefUnwindSafe,
impl<F> RefUnwindSafe for Brent<F> where
F: RefUnwindSafe,
impl<F> UnwindSafe for Brent<F> where
F: UnwindSafe,
impl<F> UnwindSafe for Brent<F> where
F: UnwindSafe,
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,