pub struct RootIsolator { /* private fields */ }Expand description
Root isolation engine for real polynomials.
Implementations§
Source§impl RootIsolator
impl RootIsolator
Sourcepub fn new(precision: BigRational) -> Self
pub fn new(precision: BigRational) -> Self
Create a new root isolator.
Sourcepub fn isolate_roots(
&mut self,
poly: &[BigRational],
interval: (BigRational, BigRational),
) -> Vec<RootInterval>
pub fn isolate_roots( &mut self, poly: &[BigRational], interval: (BigRational, BigRational), ) -> Vec<RootInterval>
Isolate all real roots of a polynomial in an interval.
Sourcepub fn stats(&self) -> &IsolationStats
pub fn stats(&self) -> &IsolationStats
Get statistics.
Auto Trait Implementations§
impl Freeze for RootIsolator
impl RefUnwindSafe for RootIsolator
impl Send for RootIsolator
impl Sync for RootIsolator
impl Unpin for RootIsolator
impl UnsafeUnpin for RootIsolator
impl UnwindSafe for RootIsolator
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