NuGenSciMath

NuGenGeometricProbability Members

NuGenGeometricProbability overview

Public Instance Constructors

NuGenGeometricProbability Constructor Constructs a geometric probability

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetExpectedValue Expected value or population mean is defined by E(Y) = 1/p
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetResult (inherited from NuGenProbability) This is the public function that is callable to compute a probability or a cumulative probability. For cumulative probabilities it is assumed that the Random Variables range is at least computable from zero to Y. Optimizations could be made to compute cumulative probabilities faster for events that have a very large number of FINITE trials by taking the shorter of the computable ranges and possibly subtracting from one if necessary. If the probability is set in the constructor then the value won't be undefined and will be immediately returned.
GetType (inherited from Object) Gets the Type of the current instance.
GetVariance Variance is defined by V(Y)= (1-p)/p^2
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Fields

m_chance_of_success 
m_probability (inherited from NuGenProbability) 
m_RV (inherited from NuGenProbability) 
m_RVT (inherited from NuGenProbability) 
m_trial_of_success 

Protected Instance Methods

ComputeResult Computing the Result.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
SetRV Random variable

See Also

NuGenGeometricProbability Class | Genetibase.MathX Namespace