vSMC
vSMC: Scalable Monte Carlo
Public Member Functions | List of all members
vsmc::MKLStream< BRNG > Class Template Reference

MKL RNG C++11 engine stream. More...

#include <vsmc/rng/mkl.hpp>

Public Member Functions

 MKLStream (MKL_UINT s=traits::MKLSeedTrait< BRNG >::value, MKL_INT offset=0)
 
template<typename SeedSeq >
 MKLStream (SeedSeq &seq, typename cxx11::enable_if< internal::is_seed_seq< SeedSeq, MKL_UINT, MKLStream< BRNG > >::value >::type *=nullptr)
 
 MKLStream (const MKLStream< BRNG > &other)
 
 MKLStream (MKLStream< BRNG > &&other)
 
 ~MKLStream ()
 
MKLStream< BRNG > & operator= (const MKLStream< BRNG > &other)
 
MKLStream< BRNG > & operator= (MKLStream< BRNG > &&other)
 
const VSLBRngProperties & property () const
 
VSLStreamStatePtr ptr () const
 
void seed (MKL_UINT s)
 
template<typename SeedSeq >
void seed (SeedSeq &seq, typename cxx11::enable_if< internal::is_seed_seq< SeedSeq, MKL_UINT, MKLStream< BRNG > >::value >::type *=nullptr)
 

Additional Inherited Members

- Static Public Member Functions inherited from vsmc::internal::MKLOffsetZero
static constexpr MKL_INT max ()
 
static constexpr MKL_INT min ()
 
static void offset (MKL_INT)
 
static constexpr MKL_INT offset ()
 

Detailed Description

template<MKL_INT BRNG>
class vsmc::MKLStream< BRNG >

MKL RNG C++11 engine stream.

Definition at line 59 of file mkl.hpp.

Constructor & Destructor Documentation

template<MKL_INT BRNG>
vsmc::MKLStream< BRNG >::MKLStream ( MKL_UINT  s = traits::MKLSeedTrait<BRNG>::value,
MKL_INT  offset = 0 
)
inlineexplicit

Definition at line 372 of file mkl.hpp.

template<MKL_INT BRNG>
template<typename SeedSeq >
vsmc::MKLStream< BRNG >::MKLStream ( SeedSeq &  seq,
typename cxx11::enable_if< internal::is_seed_seq< SeedSeq, MKL_UINT, MKLStream< BRNG > >::value >::type = nullptr 
)
inlineexplicit

Definition at line 389 of file mkl.hpp.

template<MKL_INT BRNG>
vsmc::MKLStream< BRNG >::MKLStream ( const MKLStream< BRNG > &  other)
inline

Definition at line 406 of file mkl.hpp.

template<MKL_INT BRNG>
vsmc::MKLStream< BRNG >::MKLStream ( MKLStream< BRNG > &&  other)
inline

Definition at line 429 of file mkl.hpp.

template<MKL_INT BRNG>
vsmc::MKLStream< BRNG >::~MKLStream ( )
inline

Definition at line 449 of file mkl.hpp.

Member Function Documentation

template<MKL_INT BRNG>
MKLStream<BRNG>& vsmc::MKLStream< BRNG >::operator= ( const MKLStream< BRNG > &  other)
inline

Definition at line 415 of file mkl.hpp.

template<MKL_INT BRNG>
MKLStream<BRNG>& vsmc::MKLStream< BRNG >::operator= ( MKLStream< BRNG > &&  other)
inline

Definition at line 434 of file mkl.hpp.

template<MKL_INT BRNG>
const VSLBRngProperties& vsmc::MKLStream< BRNG >::property ( ) const
inline

Definition at line 493 of file mkl.hpp.

template<MKL_INT BRNG>
VSLStreamStatePtr vsmc::MKLStream< BRNG >::ptr ( ) const
inline

Definition at line 491 of file mkl.hpp.

template<MKL_INT BRNG>
void vsmc::MKLStream< BRNG >::seed ( MKL_UINT  s)
inline

Definition at line 455 of file mkl.hpp.

template<MKL_INT BRNG>
template<typename SeedSeq >
void vsmc::MKLStream< BRNG >::seed ( SeedSeq &  seq,
typename cxx11::enable_if< internal::is_seed_seq< SeedSeq, MKL_UINT, MKLStream< BRNG > >::value >::type = nullptr 
)
inline

Definition at line 483 of file mkl.hpp.