Click or drag to resize
DigitalRuneRandomHelper Class
A class to generate random values.
Inheritance Hierarchy
SystemObject
  DigitalRune.Mathematics.StatisticsRandomHelper

Namespace: DigitalRune.Mathematics.Statistics
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static class RandomHelper

The RandomHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberNextT
Gets a new random value for the specified probability distribution.
Public methodStatic memberNextBool
Gets a random boolean value.
Public methodStatic memberNextByte
Gets a random byte value.
Public methodStatic memberNextDouble
Gets a random double value that lies in the interval [min, max].
Public methodStatic memberNextFloat
Gets a random float value that lies in the interval [min, max].
Public methodStatic memberNextInteger
Gets a random integer value that lies in the interval [min, max].
Public methodStatic memberNextMatrix22D
Gets a random Matrix22D.
Public methodStatic memberNextMatrix22F
Gets a random Matrix22F.
Public methodStatic memberNextMatrix33D
Gets a random Matrix33D.
Public methodStatic memberNextMatrix33F
Gets a random Matrix33F.
Public methodStatic memberNextMatrix44D
Gets a random Matrix44D.
Public methodStatic memberNextMatrix44F
Gets a random Matrix44F.
Public methodStatic memberNextMatrixD
Fills a MatrixD with random values.
Public methodStatic memberNextMatrixF
Fills a MatrixF with random values.
Public methodStatic memberNextQuaternionD
Gets a random unit QuaternionD.
Public methodStatic memberNextQuaternionF
Gets a random unit QuaternionF.
Public methodStatic memberNextVector2D
Gets a random Vector2D.
Public methodStatic memberNextVector2F
Gets a random Vector2F.
Public methodStatic memberNextVector3D
Gets a random Vector3D.
Public methodStatic memberNextVector3F
Gets a random Vector3F.
Public methodStatic memberNextVector4D
Gets a random Vector4D.
Public methodStatic memberNextVector4F
Gets a random Vector4F.
Public methodStatic memberNextVectorD
Fills a VectorD with random values.
Public methodStatic memberNextVectorF
Fills a VectorF with random values.
Top
Properties
  NameDescription
Public propertyStatic memberRandom
Gets or sets the default random number generator.
Top
See Also