RaisedCosineRandom Class

Random number generator with a raised cosine probability distribution.

Definition

Namespace: KLib.Utilities
Assembly: KLib.Utilities (in KLib.Utilities.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public sealed class RaisedCosineRandom
Inheritance
Object    RaisedCosineRandom

Remarks

Generates random numbers on the interval [-0.5, 0.5] using a sinusoidal probability distribution function. The shape of the distribution is controlled by one parameter m.

Constructors

RaisedCosineRandom(Int32, Double)Initializes a new instance of the RaisedCosineRandom class
RaisedCosineRandom(Random, Int32, Double) Create SineRandom object.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetInvCDF Return InvCDF (for debugging purposes)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Next Generate a single random number from a raised-cosine probability distribution.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also