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.172 -- Release Build+a1df2e6c05369850bd6adda4f66e605f51f93037
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