ars5#
説明#
ARS-5 カウンターベースの擬似乱数生成器。周期は \(2^{128}\) で、AES-NI セット ARS5 [[Salmon11]] の命令を使用します。
API#
構文#
namespace oneapi::mkl::rng {
class ars5 {
public:
static constexpr std::uint64_t default_seed = 0;
ars5(sycl::queue queue, std::uint64_t seed = default_seed);
ars5(sycl::queue queue, std::initializer_list<std::uint64_t> seed);
ars5(const ars5& other);
ars5(ars5&& other);
ars5& operator=(const ars5& other);
ars5& operator=(ars5&& other);
~ars5();
};
}サポートされるデバイス: CPU
インクルード・ファイル#
oneapi/mkl/rng.hpp
入力パラメーター#
名前 |
タイプ |
説明 |
|---|---|---|
queue |
|
有効な |
seed |
|
エンジンの初期条件。 |
この詳細については VS ノートを参照してください。