pub struct AberthStep<'a> {
pub coeffs: &'a [f64],
pub coeffs1: &'a [f64],
}Expand description
One Aberth-Ehrlich correction for a single root.
This mirrors ginger::detail::aberth_step in ginger-cpp.
Fields§
§coeffs: &'a [f64]Polynomial coefficients (highest degree first).
coeffs1: &'a [f64]Derivative coefficients of coeffs.
Trait Implementations§
Source§impl Step<Complex<f64>> for AberthStep<'_>
impl Step<Complex<f64>> for AberthStep<'_>
Source§type Cell = AtomicComplex
type Cell = AtomicComplex
Atomic cell type used by the decoupled atomic policy for this step.
Auto Trait Implementations§
impl<'a> Freeze for AberthStep<'a>
impl<'a> RefUnwindSafe for AberthStep<'a>
impl<'a> Send for AberthStep<'a>
impl<'a> Sync for AberthStep<'a>
impl<'a> Unpin for AberthStep<'a>
impl<'a> UnsafeUnpin for AberthStep<'a>
impl<'a> UnwindSafe for AberthStep<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more