Function peroxide::statistics::ops::factorial

source ·
pub fn factorial(n: usize) -> usize
Expand description

Factorial

§Type

: usize -> usize

§Usage

extern crate peroxide;
use peroxide::fuga::*;

assert_eq!(factorial(5), 120);