Creates a new TRng using a seed created from seedingRng.
- Namespace
- RandN
- Containing Type
- RngExtensions
Syntax
public static TRng Create<TRng, TSeed, TSeedingRng>(this IReproducibleRngFactory<TRng, TSeed> factory, TSeedingRng seedingRng) 
 where TRng : notnull, IRng where TSeedingRng : notnull, IRng
Type Parameters
| Name | Description |
|---|
| TRng | |
| TSeed | |
| TSeedingRng | |
Parameters
| Name | Type | Description |
|---|
| factory | IReproducibleRngFactory<TRng, TSeed>| The factory creating the new RNG. | | seedingRng | TSeedingRng | The RNG used to create the seed. | |
Return Value
| Type | Description |
|---|
| TRng | A new TRng instance. |