Trait ndarray_rand::rand_distr::num_traits::FloatConst [−][src]
Required methods
pub fn E() -> Self
[src]
Return Euler’s number.
pub fn FRAC_1_PI() -> Self
[src]
Return 1.0 / π
.
pub fn FRAC_1_SQRT_2() -> Self
[src]
Return 1.0 / sqrt(2.0)
.
pub fn FRAC_2_PI() -> Self
[src]
Return 2.0 / π
.
pub fn FRAC_2_SQRT_PI() -> Self
[src]
Return 2.0 / sqrt(π)
.
pub fn FRAC_PI_2() -> Self
[src]
Return π / 2.0
.
pub fn FRAC_PI_3() -> Self
[src]
Return π / 3.0
.
pub fn FRAC_PI_4() -> Self
[src]
Return π / 4.0
.
pub fn FRAC_PI_6() -> Self
[src]
Return π / 6.0
.
pub fn FRAC_PI_8() -> Self
[src]
Return π / 8.0
.
pub fn LN_10() -> Self
[src]
Return ln(10.0)
.
pub fn LN_2() -> Self
[src]
Return ln(2.0)
.
pub fn LOG10_E() -> Self
[src]
Return log10(e)
.
pub fn LOG2_E() -> Self
[src]
Return log2(e)
.
pub fn PI() -> Self
[src]
Return Archimedes’ constant π
.
pub fn SQRT_2() -> Self
[src]
Return sqrt(2.0)
.
Provided methods
pub fn TAU() -> Self where
Self: Add<Self, Output = Self>,
[src]
Self: Add<Self, Output = Self>,
Return the full circle constant τ
.
pub fn LOG10_2() -> Self where
Self: Div<Self, Output = Self>,
[src]
Self: Div<Self, Output = Self>,
Return log10(2.0)
.
pub fn LOG2_10() -> Self where
Self: Div<Self, Output = Self>,
[src]
Self: Div<Self, Output = Self>,
Return log2(10.0)
.