Mt1993764.Factory Struct
Produces Mersenne Twister RNGs and seeds.
Namespace
RandN.Rngs
Containing Type
Mt1993764
Interfaces
Base Types
  • object
  • ValueType

Mt1993764.Factory

ValueType

object

IReproducibleRngFactory<Mt1993764, ulong>

IReproducibleRngFactory<Mt1993764, ulong[]>

Syntax

public readonly struct Mt1993764.Factory : ValueType, IReproducibleRngFactory<Mt1993764, ulong>, &#xA;    IReproducibleRngFactory<Mt1993764, ulong[]>

Methods

NameReturn ValueSummary
Create(ulong)Mt1993764
Creates a new TRng using the specified seed.
Create(ulong[])Mt1993764
Creates a new TRng using the specified seed.
CreateSeed<TSeedingRng>(TSeedingRng)ulong[]
Creates a seed of type TSeed, that can then be used in the Create(TSeed) method to create a TRng.