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.162 -- Release Build+b0b1f9c5171a2883e4373a312a94f91e409594f1
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