vSMC
vSMC: Scalable Monte Carlo
Public Types | Public Member Functions | List of all members
vsmc::MKLUniformDistribution< ResultType, Method > Class Template Reference

MKL Uniform distribution. More...

#include <vsmc/rng/mkl.hpp>

Public Types

typedef ResultType result_type
 
- Public Types inherited from vsmc::MKLDistribution< ResultType, MKLUniformDistribution< ResultType, Method > >
typedef ResultType result_type
 

Public Member Functions

 MKLUniformDistribution (result_type a=0, result_type b=1)
 
template<MKL_INT BRNG>
void generate (MKLStream< BRNG > &stream, MKL_INT n, result_type *r)
 
- Public Member Functions inherited from vsmc::MKLDistribution< ResultType, MKLUniformDistribution< ResultType, Method > >
 MKLDistribution ()
 
void buffer_size (MKL_INT size)
 Set the buffer size, zero or negative value restore the default. More...
 
MKL_INT buffer_size () const
 
result_type operator() (MKLStream< BRNG > &stream)
 
void operator() (MKLStream< BRNG > &stream, MKL_INT n, result_type *r)
 
void reset ()
 

Additional Inherited Members

- Protected Member Functions inherited from vsmc::MKLDistribution< ResultType, MKLUniformDistribution< ResultType, Method > >
void generate_error_check (int status, const char *name)
 

Detailed Description

template<typename ResultType, MKL_INT Method>
class vsmc::MKLUniformDistribution< ResultType, Method >

MKL Uniform distribution.

Definition at line 67 of file mkl.hpp.

Member Typedef Documentation

template<typename ResultType , MKL_INT Method>
typedef ResultType vsmc::MKLUniformDistribution< ResultType, Method >::result_type

Definition at line 737 of file mkl.hpp.

Constructor & Destructor Documentation

template<typename ResultType , MKL_INT Method>
vsmc::MKLUniformDistribution< ResultType, Method >::MKLUniformDistribution ( result_type  a = 0,
result_type  b = 1 
)
inlineexplicit

Definition at line 739 of file mkl.hpp.

Member Function Documentation

template<typename ResultType , MKL_INT Method>
template<MKL_INT BRNG>
void vsmc::MKLUniformDistribution< ResultType, Method >::generate ( MKLStream< BRNG > &  stream,
MKL_INT  n,
result_type r 
)
inline

Definition at line 743 of file mkl.hpp.