mcg59#
説明#
NAG Numerical Libraries [NAG] の 59 ビット乗法合同型疑似乱数ジェネレータ MCG (\(13^{13}, 2^{59}\))。
API#
構文#
namespace oneapi::mkl::rng {
class mcg59 {
public:
static constexpr std::uint64_t default_seed = 1;
mcg59(sycl::queue queue, std::uint64_t seed = default_seed);
mcg59(const mcg59& other);
mcg59(mcg59&& other);
mcg59& operator=(const mcg59& other);
mcg59& operator=(mcg59&& other);
~mcg59();
};
}サポートされるデバイス: CPU と GPU。
インクルード・ファイル#
oneapi/mkl/rng.hpp
入力パラメーター#
名前 |
タイプ |
説明 |
|---|---|---|
queue |
|
有効な |
seed |
|
エンジンの初期条件。 |
この詳細については VS ノートを参照してください。