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
Containing Type
IReproducibleRngFactory<TRng, TSeed>

Syntax

TSeed CreateSeed<TSeedingRng>(TSeedingRng seedingRng) 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
TSeedA new TSeed suitable for use in the Create(TSeed) method.