IMSL C# Numerical Library

Random Members

Random overview

Public Instance Constructors

Random Overloaded. Initializes a new instance of the Random class.

Public Instance Properties

Multiplier The multiplier for a linear congruential random number generator.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
NextOverloaded. Returns a nonnegative pseudorandom int.
Next (inherited from Random)Overloaded. Returns a nonnegative random number.
NextBeta Generate a pseudorandom number from a beta distribution.
NextBinomial Generate a pseudorandom number from a Binomial distribution.
NextBytes (inherited from Random) Fills the elements of a specified array of bytes with random numbers.
NextCauchy Generates a pseudorandom number from a Cauchy distribution.
NextChiSquared Generates a pseudorandom number from a Chi-squared distribution.
NextDouble Generates the next pseudorandom number.
NextExponential Generates a pseudorandom number from a standard exponential distribution.
NextExponentialMix Generate a pseudorandom number from a mixture of two exponential distributions.
NextExtremeValue Generate a pseudorandom number from an extreme value distribution.
NextF Generate a pseudorandom number from the F distribution.
NextFloat Generates the next pseudorandom number.
NextGamma Generates a pseudorandom number from a standard gamma distribution.
NextGeometric Generate a pseudorandom number from a geometric distribution.
NextHypergeometric Generate a pseudorandom number from a hypergeometric distribution.
NextLogarithmic Generate a pseudorandom number from a logarithmic distribution.
NextLogNormal Generate a pseudorandom number from a lognormal distribution.
NextMultivariateNormal Generate pseudorandom numbers from a multivariate normal distribution.
NextNegativeBinomial Generate a pseudorandom number from a negative Binomial distribution.
NextNormal Generate a pseudorandom number from a standard normal distribution using an inverse CDF method.
NextNormalAR Generate a pseudorandom number from a standard normal distribution using an acceptance/rejection method.
NextPoisson Generate a pseudorandom number from a Poisson distribution.
NextRayleigh Generate a pseudorandom number from a Rayleigh distribution.
NextStudentsT Generate a pseudorandom number from a Student's t distribution.
NextTriangular Generate a pseudorandom number from a triangular distribution on the interval (0,1).
NextVonMises Generate a pseudorandom number from a von Mises distribution.
NextWeibull Generate a pseudorandom number from a Weibull distribution.
Skip Resets the seed to skip ahead in the base linear congruential generator.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
Sample (inherited from Random) Returns a random number between 0.0 and 1.0.

See Also

Random Class | Imsl.Stat Namespace | Example