[][src]Enum rustnomial::Roots

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: Clone> Clone for Roots<N>[src]

impl<N: Debug> Debug for Roots<N>[src]

impl<N: PartialEq> PartialEq<Roots<N>> for Roots<N>[src]

impl<N> StructuralPartialEq for Roots<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Roots<N> where
    N: RefUnwindSafe
[src]

impl<N> Send for Roots<N> where
    N: Send
[src]

impl<N> Sync for Roots<N> where
    N: Sync
[src]

impl<N> Unpin for Roots<N> where
    N: Unpin
[src]

impl<N> UnwindSafe for Roots<N> where
    N: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.