Various extension methods to simplify use of RNGs.
- Namespace
- RandN
- Base Types
- object
Syntax
public static class RngExtensionsMethods
| Name | Return Value | Summary |
|---|---|---|
| Create | TRng | Creates a new TRng using a seed created from seedingRng. static |
| Sample | TResult | Samples the distribution from rng. static |
| Sample | TResult | Samples the distribution from rng. static |
| ShuffleInPlace | void | Shuffles a list using the in-place Fisher-Yates shuffling algorithm. static |