6 Commits

Author SHA1 Message Date
Diggory Hardy
f5185d91fa
thread_rng() → rand::rng() (#1506)
- Rename `rand::thread_rng()` → `rand::rng()`
- Remove `thread_rng()` and `random()` from the prelude
2024-10-11 08:51:21 +01:00
Diggory Hardy
ef052ec539
No usize except uniform (#1487)
- Add UniformUsize
- Support ..end and ..=ub range syntax for unsigned ints
2024-09-09 08:33:43 +01:00
Diggory Hardy
79f1b0ffdb
Document known issues: #1378, #1312, #1476. 2024-08-12 12:16:08 +01:00
Diggory Hardy
2d5948d264
rand::distributions -> distr; split uniform module (#1470) 2024-07-23 14:14:11 +01:00
Diggory Hardy
605476c4e4
Portability fixes (#1469)
- Fix portability of `choose_multiple_array`
- Fix portability of `rand::distributions::Slice`
2024-07-23 13:50:31 +01:00
Diggory Hardy
ca9e119859
Add IndexedRandom::choose_multiple_array, index::sample_array (#1453)
* New private module rand::seq::iterator
* New private module rand::seq::slice
* Add index::sample_array and IndexedRandom::choose_multiple_array
2024-06-04 09:32:57 +01:00