Expand description
Pseudo-random number generation and distributions.
Structs§
- Bernoulli
- A Bernoulli distribution.
- Points
InUnit Ball - A uniform distribution of 3-points inside the (closed) unit ball.
- Points
OnUnit Disk - A uniform distribution of 2-points inside the (closed) unit disk.
- Uniform
- A uniform distribution of values in a range.
- Unit
Circle - A uniform distribution of unit 2-vectors.
- Unit
Sphere - A uniform distribution of unit 3-vectors.
- Vectors
InUnit Ball - A uniform distribution of 3-vectors inside the (closed) unit ball.
- Vectors
OnUnit Disk - A uniform distribution of 2-vectors inside the (closed) unit disk.
- Xorshift64
- A pseudo-random number generator (PRNG) that uses a [Xorshift algorithm]
to generate 64 bits of randomness at a time, represented by a
u64.
Traits§
- Distrib
- Trait for generating values sampled from a probability distribution.