[][src]Enum arctk::math::rng::probability_builder::ProbabilityBuilder

pub enum ProbabilityBuilder {
    Point(f64),
    Points(Array1<f64>),
    Uniform(f64f64),
    Linear(f64f64f64f64),
    Gaussian(f64f64),
    ConstantSpline(Vec<f64>, Vec<f64>),
}

Probability distribution builders.

Variants

Point(f64)

Point.

Points(Array1<f64>)

Points.

Uniform(f64f64)

Uniform range.

Linear(f64f64f64f64)

Linear function.

Gaussian(f64f64)

Gaussian distribution.

ConstantSpline(Vec<f64>, Vec<f64>)

Constant spline.

Trait Implementations

impl Build for ProbabilityBuilder[src]

type Inst = Probability

End type to be built.

impl Debug for ProbabilityBuilder[src]

impl<'de> Deserialize<'de> for ProbabilityBuilder[src]

impl Display for ProbabilityBuilder[src]

impl Load for ProbabilityBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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

impl<T> Background for T[src]

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

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

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Foreground for T[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,