pub struct PolynomialRoot {
pub x: f64,
pub lower: f64,
pub upper: f64,
pub kind: RootKind,
}Expand description
A real root, or an unresolved root region, of a polynomial.
Fields§
§x: f64Best estimate.
lower: f64Lower end of the enclosure.
upper: f64Upper end of the enclosure. |x - root| <= upper - lower for every
root the entry accounts for.
kind: RootKindWhether the entry is one certified simple root.
Implementations§
Source§impl PolynomialRoot
impl PolynomialRoot
Sourcepub fn error_bound(&self) -> f64
pub fn error_bound(&self) -> f64
A bound on the distance from x to each root this entry accounts
for: the enclosure width.
Trait Implementations§
Source§impl Clone for PolynomialRoot
impl Clone for PolynomialRoot
impl Copy for PolynomialRoot
Source§impl Debug for PolynomialRoot
impl Debug for PolynomialRoot
Source§impl PartialEq for PolynomialRoot
impl PartialEq for PolynomialRoot
impl StructuralPartialEq for PolynomialRoot
Auto Trait Implementations§
impl Freeze for PolynomialRoot
impl RefUnwindSafe for PolynomialRoot
impl Send for PolynomialRoot
impl Sync for PolynomialRoot
impl Unpin for PolynomialRoot
impl UnsafeUnpin for PolynomialRoot
impl UnwindSafe for PolynomialRoot
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