bits¶
Class is used for generation of underlying engine integer recurrence.
Description
The class object is used in the oneapi::mkl::rng::generate() function to provide integer random numbers. Each integer can be treated as a vector of several bits. In a truly random generator, these bits are random, while in pseudorandom generators this randomness can be violated.
class bits¶
Syntax
namespace oneapi::mkl::rng {
template<typename UIntType = std::uint32_t>
class bits {
public:
using result_type = UIntType;
};
}
Template parameters
- typename UIntType
- Type of the produced values. Supported types:
std::uint32_t
Member types
bits::result_type = UIntType
Description
The type which defines type of generated random numbers.
Parent topic: Distributions