pub enum Roots {
None,
One(f64),
Two(f64, f64),
Infinite,
}Expand description
Real-root outcomes for the small equation helpers in this crate.
Variants§
None
The equation has no finite real roots.
One(f64)
The equation has exactly one finite real root.
Two(f64, f64)
The equation has exactly two distinct finite real roots.
Infinite
The equation is satisfied by every real value.
Trait Implementations§
impl StructuralPartialEq for Roots
Auto Trait Implementations§
impl Freeze for Roots
impl RefUnwindSafe for Roots
impl Send for Roots
impl Sync for Roots
impl Unpin for Roots
impl UnsafeUnpin for Roots
impl UnwindSafe for Roots
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