- Companion:
- object
Value members
Abstract methods
Concrete methods
Fill an Array[A] using the given Dist[A] instance.
Fill an Array[A] using the given Dist[A] instance.
Generate an Array[A] using the given Dist[A] instance.
Generate an Array[A] using the given Dist[A] instance.
Generate an infinite iterator of random values using Dist[A].
Generate an infinite iterator of random values using Dist[A].
Generate a random value using a Dist[A] type class instance.
Generate a random value using a Dist[A] type class instance.
Implicit Dist[A] instances are provided for the AnyVal types as well as UByte through ULong. More complex Dist instances can be created from these.
Generates a random integer using n bits of state (0 <= n <= 32).
Generates a random integer using n bits of state (0 <= n <= 32).
Generates a random int between 0 (inclusive) and n (exclusive).
Generates a random int between 0 (inclusive) and n (exclusive).
Generates a random int between 0 (inclusive) and n (exclusive).
Generates a random int between 0 (inclusive) and n (exclusive).
Deprecated methods
- Deprecated
[Since version 0.18.0]