pub enum RootKind {
Simple,
Unresolved {
max_count: usize,
},
}Expand description
How certain a reported root is.
Variants§
Simple
The polynomial is monotone on [lower, upper] and its sign
certifiably changes across it: exactly one simple root lies inside.
Unresolved
|p| is within its rounding bound near x. Between zero and
max_count roots, counted with multiplicity, lie in
[lower, upper]: a multiple root, a cluster, or a near-touch that
f64 evaluation cannot tell apart. A root at an end of the
searched interval is reported this way, with max_count 1, since
it may lie just outside.
Trait Implementations§
impl Copy for RootKind
impl Eq for RootKind
impl StructuralPartialEq for RootKind
Auto Trait Implementations§
impl Freeze for RootKind
impl RefUnwindSafe for RootKind
impl Send for RootKind
impl Sync for RootKind
impl Unpin for RootKind
impl UnwindSafe for RootKind
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