Enum cubic_splines::Factors[][src]

pub enum Factors {
    ThreeLinear {
        a: f64,
        x1: f64,
        x2: f64,
        x3: f64,
    },
    LinearAndQuadratic {
        a: f64,
        x1: f64,
        b: f64,
        c: f64,
    },
}

Variants

ThreeLinear

f(x) = a(x-x1)(x-x2)(x-x3)

Show fields

Fields of ThreeLinear

a: f64x1: f64x2: f64x3: f64
LinearAndQuadratic

f(x) = a(x-x1)(x²+bx+c)

Show fields

Fields of LinearAndQuadratic

a: f64x1: f64b: f64c: f64

Trait Implementations

impl Clone for Factors[src]

impl Copy for Factors[src]

impl Debug for Factors[src]

impl PartialEq<Factors> for Factors[src]

impl StructuralPartialEq for Factors[src]

Auto Trait Implementations

impl RefUnwindSafe for Factors

impl Send for Factors

impl Sync for Factors

impl Unpin for Factors

impl UnwindSafe for Factors

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.