oneapi::mkl::rng::sobol¶
Description¶
Sobol quasi-random number generator [Sobol76], [Bratley88], which works in arbitrary dimension.
API¶
Syntax¶
class sobol {
public:
    static constexpr std::uint32_t default_dimensions_number = 1;
    sobol(sycl::queue queue, std::uint32_t dimensions = default_dimensions_number);
    sobol(sycl::queue queue, std::vector<std::uint32_t>& direction_numbers);
    sobol(const sobol& other);
    sobol(sobol&& other);
    sobol& operator=(const sobol& other);
    sobol& operator=(sobol&& other);
    ~sobol();
};
Devices supported: Host, CPU, and GPU.
Include Files¶
oneapi/mkl/rng.hpp
Input Parameters¶
Name  | 
Type  | 
Description  | 
|---|---|---|
queue  | 
  | 
Valid   | 
dimensions  | 
  | 
Number of dimensions.  | 
direction_numbers  | 
  | 
User-defined direction numbers.  | 
See VS Notes for the detailed descriptions.