The namespace DigitalRune.Mathematics.Statistics contains types for working with random numbers, statistics and probability distributions. (See also Class Diagram of Namespace DigitalRune.Mathematics.Statistics.)
The namespace DigitalRune.Mathematics.Statistics contains the base class Distribution<(Of <(<'T>)>)> and several derived classes. A distribution object is an object that provides random values with certain qualities. For instance, a UniformDistributionF provides random floating-point values from a configurable interval. FastGaussianDistributionF provides random floating-point numbers following an approximated Gaussian distribution. SphereDistribution provides random 3D positions that lie within a spherical volume.
One major use of Distribution objects is in configurable particle systems: See DigitalRune Particles.
Important: The .NET class Random is not thread-safe! In multi-threaded applications, when using the .NET Random class or a type of the DigitalRune.Mathematics.Statistics namespace that makes use of Random, please make sure that the usage is thread-safe or that each thread uses a separate instance of Random.