Skip to main content

Module random

Module random 

Source
Expand description

Iterators that generate Floats randomly.

Structs§

ExponentialRandomFloats
Generates random Floats sampled, with rounding, from the exponential distribution with mean 1.
NormalRandomFloats
Generates random Floats sampled, with rounding, from the normal distribution with mean 0 and variance 1.
RandomFiniteFloats
Generates random finite Floats.
RandomNegativeFiniteFloats
Generates random negative finite Floats.
RandomNonNegativeFiniteFloats
Generates random non-negative finite Floats.
RandomNonPositiveFiniteFloats
Generates random non-positive finite Floats.
RandomNonzeroFiniteFloats
Generates random nonzero finite Floats.
RandomPositiveFiniteFloats
Generates random positive finite Floats.
UniformRandomNonNegativeFloatsAtMostOne
Generates random Floats in $[0, 1]$, as if a uniform random real number were drawn from the unit interval and rounded to a fixed precision with a fixed rounding mode.
UniformRandomNonNegativeFloatsLessThanOne
Generates uniform random Floats in the interval $[0, 1)$, with a fixed precision.

Functions§

exponential_random_floats
Generates random Floats sampled, with rounding, from the exponential distribution with mean 1.
normal_random_floats
Generates random Floats sampled, with rounding, from the normal distribution with mean 0 and variance 1.
random_finite_floats
Generates random finite Floats.
random_floats
Generates random Floats.
random_negative_finite_floats
Generates random negative finite Floats.
random_non_negative_finite_floats
Generates random non-negative finite Floats.
random_non_positive_finite_floats
Generates random non-positive finite Floats.
random_nonzero_finite_floats
Generates random nonzero finite Floats.
random_positive_finite_floats
Generates random positive finite Floats.
random_positive_floats_with_precision
Generates random positive finite Floats with a specified precision.
striped_random_finite_floats
Generates striped random finite Floats.
striped_random_floats
Generates striped random finite Floats.
striped_random_negative_finite_floats
Generates striped random negative finite Floats.
striped_random_non_negative_finite_floats
Generates striped random non-negative finite Floats.
striped_random_non_positive_finite_floats
Generates striped random non-positive finite Floats.
striped_random_nonzero_finite_floats
Generates striped random nonzero finite Floats.
striped_random_positive_finite_floats
Generates striped random positive finite Floats.
striped_random_positive_floats_with_precision
Generates striped random positive finite Floats with a specified precision.
uniform_random_non_negative_floats_at_most_one
Generates random Floats in $[0, 1]$, as if a uniform random real number were drawn from the unit interval and rounded to precision prec with rounding mode rm.
uniform_random_non_negative_floats_less_than_one
Generates uniform random Floats in the interval $[0, 1)$, with a fixed precision.