blitz Version 1.0.2
Loading...
Searching...
No Matches
ranlib::MersenneTwister::BitMixer Struct Reference
Collaboration diagram for ranlib::MersenneTwister::BitMixer:
Collaboration graph

Public Member Functions

 BitMixer ()
 
 BitMixer (twist_int k)
 
twist_int low_mask (twist_int s1) const
 
twist_int high_mask (twist_int s1) const
 
twist_int operator() (twist_int s1)
 

Public Attributes

twist_int s0
 
const twist_int K
 

Constructor & Destructor Documentation

◆ BitMixer() [1/2]

ranlib::MersenneTwister::BitMixer::BitMixer ( )
inline

References K, and s0.

◆ BitMixer() [2/2]

ranlib::MersenneTwister::BitMixer::BitMixer ( twist_int k)
inline

References K, and s0.

Member Function Documentation

◆ high_mask()

twist_int ranlib::MersenneTwister::BitMixer::high_mask ( twist_int s1) const
inline

References s0.

Referenced by operator()().

◆ low_mask()

twist_int ranlib::MersenneTwister::BitMixer::low_mask ( twist_int s1) const
inline

References K.

Referenced by operator()().

◆ operator()()

twist_int ranlib::MersenneTwister::BitMixer::operator() ( twist_int s1)
inline

References high_mask(), low_mask(), and s0.

Member Data Documentation

◆ K

const twist_int ranlib::MersenneTwister::BitMixer::K

Referenced by BitMixer(), BitMixer(), and low_mask().

◆ s0

twist_int ranlib::MersenneTwister::BitMixer::s0

The documentation for this struct was generated from the following file: