RandomExtensions Class

Constains extension methods for random number generators.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static class RandomExtensions
Inheritance
Object  →  RandomExtensions

Methods

AsParallel Returns a thread-safe version of this random number generator.
Fill(Random, IList<Double>) Fills a Double array with random numbers.
Fill(Random, IList<Int32>) Fills an Int32 array with random numbers.
Fill(Random, IList<Double>, Int32, Int32) Fills a Double array with random numbers.
Fill(Random, IList<Int32>, Int32, Int32) Fills an Int32 array with random numbers.
FillNormal(Random, IList<Double>) Fills a list with normal random numbers with zero mean and unit standard deviation.
FillNormal(Random, IList<Double>, Int32, Int32) Fills a list with normal random numbers with zero mean and unit standard deviation.

See Also