mkl::rng::wichmann_hill

Wichmann-Hill pseudorandom number generator (a set of 273 basic generators) from NAG Numerical Libraries [NAG].

Syntax

class wichmann_hill: internal::engine_base<wichmann_hill>{

public:

wichmann_hill (cl::sycl::queue& queue, std::uint32_t seed, std::uint32_t engine_idx);

wichmann_hill (cl::sycl::queue& queue, std::initializer_list<std::uint32_t> seed, std::uint32_t engine_idx);

wichmann_hill (const wichmann_hill& other);

wichmann_hill& operator=(const wichmann_hill& other);

~wichmann_hill();

};

Devices supported: Host and CPU.

Include Files

Description

Wichmann-Hill pseudorandom number generator (a set of 273 basic generators) from NAG Numerical Libraries [NAG].

Input Parameters

Name

Type

Description

queue

cl::sycl::queue

Valid cl::sycl::queue, calls of mkl::rng::generate() routine submit kernels in this queue.

seed

std::uint32_t / std::initializer_list<std::uint32_t>

Initial conditions of the engine.

engine_idx

std::uint32_t

Index of the engine from the set (set contains 273 basic generators)

See VS Notes for detailed descriptions.