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
ChaCha.Factory12
Implements

Syntax

public ChaCha.Seed 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
ChaCha.SeedA new TSeed suitable for use in the Create(TSeed) method.