Enum arrayfire::RandomEngineType [−][src]
#[repr(u32)]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]
impl Clone for RandomEngineType
fn clone(&self) -> RandomEngineType
[src]
fn clone(&self) -> RandomEngineType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for RandomEngineType
[src]
impl Copy for RandomEngineType
impl Debug for RandomEngineType
[src]
impl Debug for RandomEngineType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for RandomEngineType
[src]
impl PartialEq for RandomEngineType
fn eq(&self, other: &RandomEngineType) -> bool
[src]
fn eq(&self, other: &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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl From<u32> for RandomEngineType
[src]
impl From<u32> for RandomEngineType
fn from(t: u32) -> RandomEngineType
[src]
fn from(t: u32) -> RandomEngineType
Performs the conversion.
Auto Trait Implementations
impl Send for RandomEngineType
impl Send for RandomEngineType
impl Sync for RandomEngineType
impl Sync for RandomEngineType