Random weighting. You can draw a value based on the weight
A weighted random sampling crate using Walker's Alias Method.
Efficiently find items by matching weight. You can build the lookup structure at compile time.
Encapsulates the random-constructible and random-constructible-derive crates which are used for creating random instances of data structures with weighted probabilities
Provides a derive macro for the random-constructible crate which is used for creating random instances of enums with weighted probabilities
a complex numbers, 2d/3d graphing, arbitrary precision, vector/matrix, cli calculator with real-time output and support for units
a complex numbers, 2d/3d graphing, arbitrary precision, vector/matrix, cli calculator with real-time output and support for units
A simple and fast Markov chain generator in Rust.
Tiered randomness for Rust: fast PRNG, process-unique seeds, and OS-backed cryptographic random — plus bounded ranges, strings, tokens, shuffle, sample, and weighted choice. Zero dependencies, MSRV 1.75.
Rust-native tensor and math library
Rust-native tensor and math library (community edition)
A small crate for choosing random items from a set of weighted items.