[][src]Trait factorial::DoubleFactorial

pub trait DoubleFactorial<Target = Self> {
    pub fn checked_double_factorial(&self) -> Option<Target>;

    pub fn double_factorial(&self) -> Target { ... }
}

Unary operator for computing the double factorial of a number

Implements checked and unchecked versions of the formula

Required methods

pub fn checked_double_factorial(&self) -> Option<Target>[src]

Loading content...

Provided methods

pub fn double_factorial(&self) -> Target[src]

Loading content...

Implementors

impl<T: PartialOrd + Unsigned + CheckedMul + Copy> DoubleFactorial<T> for T[src]

Loading content...