pub enum Roots<N> {
NoRoots,
NoRootsFound,
OneRealRoot(N),
TwoRealRoots(N, N),
ThreeRealRoots(N, N, N),
ManyRealRoots(Vec<N>),
OneComplexRoot(Complex<N>),
TwoComplexRoots(Complex<N>, Complex<N>),
ThreeComplexRoots(Complex<N>, Complex<N>, Complex<N>),
ManyComplexRoots(Vec<Complex<N>>),
InfiniteRoots,
OnlyRealRoots(Vec<f64>),
}Variants§
NoRoots
NoRootsFound
OneRealRoot(N)
TwoRealRoots(N, N)
ThreeRealRoots(N, N, N)
ManyRealRoots(Vec<N>)
OneComplexRoot(Complex<N>)
TwoComplexRoots(Complex<N>, Complex<N>)
ThreeComplexRoots(Complex<N>, Complex<N>, Complex<N>)
ManyComplexRoots(Vec<Complex<N>>)
InfiniteRoots
OnlyRealRoots(Vec<f64>)
Trait Implementations§
impl<N> StructuralPartialEq for Roots<N>
Auto Trait Implementations§
impl<N> Freeze for Roots<N>where
N: Freeze,
impl<N> RefUnwindSafe for Roots<N>where
N: RefUnwindSafe,
impl<N> Send for Roots<N>where
N: Send,
impl<N> Sync for Roots<N>where
N: Sync,
impl<N> Unpin for Roots<N>where
N: Unpin,
impl<N> UnwindSafe for Roots<N>where
N: UnwindSafe,
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