☰
Rng
struct
Rng
Static Methods
Rng
Methods
Bernoulli
Geometric
Shuffle
UniformF
UniformI
UniformU
Operators
operator()
Struct
libjxl
::
jxl
::
Rng
struct
Rng
{ ... };
Static Methods
Rng
(size_t seed)
Methods
auto
Bernoulli
(float p) -> bool
auto
Geometric
(
const
GeometricDistribution
& dist) -> uint32_t
template <class T>
auto
Shuffle
(T* t, size_t n) -> void
auto
UniformF
(float begin, float end) -> float
auto
UniformI
(int64_t begin, int64_t end) -> int64_t
auto
UniformU
(uint64_t begin, uint64_t end) -> uint64_t
Operators
auto
operator()
() -> uint64_t