"

RngExtensions Class

Summary

Various extension methods to simplify use of RNGs.
Namespace
RandN
Base Types
  • object

Syntax

public static class RngExtensions

Methods

NameValueSummary
Create<TRng, TSeed, TSeedingRng>(IReproducibleRngFactory<TRng, TSeed>, TSeedingRng)TRng
Creates a new TRng using a seed created from seedingRng.
static
ShuffleInPlace<TRng, T>(TRng, IList<T>)void
Shuffles a list using the in-place Fisher-Yates shuffling algorithm.
static