ndarray_rand::rand_distr::num_traits

Function one

Source
pub fn one<T>() -> T
where T: One,
Expand description

Returns the multiplicative identity, 1.