|
| MKLEngine (result_type s=1) |
|
template<typename SeedSeq > |
| MKLEngine (SeedSeq &seq, typename std::enable_if< internal::is_seed_seq< SeedSeq, MKL_INT, result_type, MKLEngine< BRNG, Bits >>::value >::type *=nullptr) |
|
| MKLEngine (MKL_INT offset, result_type s) |
|
template<typename SeedSeq > |
| MKLEngine (MKL_INT offset, SeedSeq &seq, typename std::enable_if< internal::is_seed_seq< SeedSeq, MKL_INT, MKL_UINT, MKLEngine< BRNG, Bits >>::value >::type *=nullptr) |
|
std::size_t | discard () |
| Discard the buffer. More...
|
|
void | discard (long long nskip) |
|
result_type | operator() () |
|
void | operator() (std::size_t n, result_type *r) |
|
void | seed (result_type s) |
|
template<typename SeedSeq > |
void | seed (SeedSeq &seq, typename std::enable_if< internal::is_seed_seq< SeedSeq, MKL_INT, result_type >::value >::type *=nullptr) |
|
void | seed (MKL_INT offset, result_type s) |
|
template<typename SeedSeq > |
void | seed (MKL_INT offset, SeedSeq &seq, typename std::enable_if< internal::is_seed_seq< SeedSeq, MKL_UINT >::value >::type *=nullptr) |
|
MKLStream & | stream () |
|
const MKLStream & | stream () const |
|
|
bool | operator!= (const MKLEngine< BRNG, Bits > &eng1, const MKLEngine< BRNG, Bits > &eng2) |
| eng1 != eng2 is a necessary condition for subsequent call of operator() output different results. But it is not a sufficient condition. More...
|
|
template<typename CharT , typename Traits > |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, const MKLEngine< BRNG, Bits > &eng) |
|
bool | operator== (const MKLEngine< BRNG, Bits > &eng1, const MKLEngine< BRNG, Bits > &eng2) |
| eng1 == eng2 is a sufficent condition for subsequent call of operator() output the same results. But it is not a necessary condition. More...
|
|
template<typename CharT , typename Traits > |
std::basic_istream< CharT, Traits > & | operator>> (std::basic_istream< CharT, Traits > &is, MKLEngine< BRNG, Bits > &eng) |
|
template<MKL_INT BRNG, int Bits>
class vsmc::MKLEngine< BRNG, Bits >
MKL RNG C++11 engine.
- Template Parameters
-
BRNG | A MKL BRNG. It need to support either viRngUniformBits32 or viRngUniformBits64 . |
Bits | The number of bits in the output unsigned integer
- It can be 32 if and only if
viRngUniformBits32 is supported
- It can be 64 if and only if
viRngUniformBits64 is supported
|
Definition at line 1308 of file rng/internal/common.hpp.