XorShift.Factory Struct
A factory that produces Random Number Generators.
Namespace
RandN.Rngs
Containing Type
XorShift
Interfaces
Base Types
  • object
  • ValueType
XorShift.Factory
ValueType
object
IReproducibleRngFactory<XorShift, (uint x, uint y, uint z, uint w)>

Syntax

public readonly struct XorShift.Factory : ValueType, &#xA;    IReproducibleRngFactory<XorShift, (uint x, uint y, uint z, uint w)>

Methods

NameReturn ValueSummary
Create((uint x, uint y, uint z, uint w))XorShift
Creates a new TRng using the specified seed.
CreateSeed<TSeedingRng>(TSeedingRng)(uint x, uint y, uint z, uint w)
Creates a seed of type TSeed, that can then be used in the Create(TSeed) method to create a TRng.

Extension Methods

NameValueSummary
Create<XorShift, (uint x, uint y, uint z, uint w), TSeedingRng>(TSeedingRng)TRng
Creates a new TRng using a seed created from seedingRng.