Produces a random integer drawn from the distribution.

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 2.1.0.0 (2.1.0.0)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public virtual int GetRandomValue(
	Random rng
)
Public Overridable Function GetRandomValue ( _
	rng As Random _
) As Integer
public:
virtual int GetRandomValue(
	Random^ rng
)
abstract GetRandomValue : 
        rng : Random -> int 
override GetRandomValue : 
        rng : Random -> int 

Parameters

rng
Random
A random number generator.

Return Value

A random integer drawn from the distribution.

See Also