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.143 -- Release Build+7b47d813842cdbcdc1945a56970c7676cbda1a3a
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