Enum arrayfire::RandomEngineType
[−]
[src]
#[repr(C)]pub enum RandomEngineType { PHILOX_4X32_10, THREEFRY_2X32_16, MERSENNE_GP11213, }
Random engine types
Variants
PHILOX_4X32_10
Philox variant with N=4, W=32 and Rounds=10
THREEFRY_2X32_16
Threefry variant with N=2, W=32 and Rounds=16
MERSENNE_GP11213
Mersenne variant with MEXP = 11213
Trait Implementations
impl Clone for RandomEngineType
[src]
fn clone(&self) -> RandomEngineType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for RandomEngineType
[src]
impl Debug for RandomEngineType
[src]
impl PartialEq for RandomEngineType
[src]
fn eq(&self, __arg_0: &RandomEngineType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl From<i32> for RandomEngineType
[src]
fn from(t: i32) -> RandomEngineType
Performs the conversion.