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.160 -- Release Build+79afb0c87bd1bdc550b0321e3623ddc7648c3bfe
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