Gemstone Numeric Library
Show/Hide TOC

# GeometricRandomNumberGenerator Constructor

Instantiates Normal distribution generator to Geometric(probability)

## Definition

Namespace: Gemstone.Numeric.Random.Geometric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.164 -- Release Build+6702c515f0dd5ff2666fab734b3300f444325a3e
C#
View Source Request Example

    public GeometricRandomNumberGenerator(
    	int seed,
    	double probability
    )

VB
View Source Request Example

    Public Sub New (
    	seed As Integer,
    	probability As Double
    )

C++
View Source Request Example

    public:
    GeometricRandomNumberGenerator(
    	int seed,
    	double probability
    )

JavaScript
View Source Request Example

    Gemstone.Numeric.Random.Geometric.GeometricRandomNumberGenerator = function(seed, probability);

#### Parameters

seed Int32
  Seed value for Uniform generator
probability Double
  Probability of bernoulli trial success

## See Also

#### Reference

GeometricRandomNumberGenerator Class
Gemstone.Numeric.Random.Geometric Namespace