Struct probability::prelude::Pert [−][src]
A PERT distribution.
Implementations
impl Pert
[src]
pub fn new(a: f64, b: f64, c: f64) -> Self
[src]
Create a PERT distribution with parameters a
, b
, and c
.
It should hold that a < b < c
.
pub fn a(&self) -> f64
[src]
Return the first parameter.
pub fn b(&self) -> f64
[src]
Return the second parameter.
pub fn c(&self) -> f64
[src]
Return the third parameter.
pub fn alpha(&self) -> f64
[src]
Return the first shape parameter of the corresponding Beta distribution.
pub fn beta(&self) -> f64
[src]
Return the second shape parameter of the corresponding Beta distribution.
Trait Implementations
impl Clone for Pert
[src]
impl Continuous for Pert
[src]
impl Copy for Pert
[src]
impl Debug for Pert
[src]
impl Distribution for Pert
[src]
impl Entropy for Pert
[src]
impl Inverse for Pert
[src]
impl Kurtosis for Pert
[src]
impl Mean for Pert
[src]
impl Median for Pert
[src]
impl Modes for Pert
[src]
impl Sample for Pert
[src]
impl Skewness for Pert
[src]
impl Variance for Pert
[src]
Auto Trait Implementations
impl RefUnwindSafe for Pert
impl Send for Pert
impl Sync for Pert
impl Unpin for Pert
impl UnwindSafe for Pert
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,