RandomSources.Default Property

Gets or sets the default random source used by Resolve() when an API does not receive an explicit RNG.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.3.0
C#
public static IRandomSource? Default { get; set; }

Property Value

IRandomSource

Remarks

This is a convenience mechanism primarily intended for sequential code that wants reproducible behavior without passing an RNG to every call.

See Also