CreateSeed<TSeedingRng>(TSeedingRng) Method
Creates a seed of type TSeed, that can then be used in the Create(TSeed) method to create a TRng.
Namespace
RandN.Rngs
Containing Type
XorShift.Factory
Implements

Syntax

public (uint x, uint y, uint z, uint w) CreateSeed<TSeedingRng>(TSeedingRng seedingRng) &#xA;    where TSeedingRng : IRng

Type Parameters

NameDescription
TSeedingRngThe type of the IRng used to create the seed.

Parameters

NameTypeDescription
seedingRngTSeedingRngThe TSeedingRng used to create the seed.

Return Value

TypeDescription
(uint x, uint y, uint z, uint w)A new TSeed suitable for use in the Create(TSeed) method.