Click or drag to resize

BetaDistribution Class

Generates Beta distributed random numbers.
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Probability.OldProbabilityDistribution
    Altaxo.Calc.Probability.OldBetaDistribution

Namespace: Altaxo.Calc.Probability.Old
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class BetaDistribution : ProbabilityDistribution

The BetaDistribution type exposes the following members.

Constructors
 NameDescription
Public methodBetaDistribution(Double, Double)Initializes a new instance of the BetaDistribution class
Public methodBetaDistribution(Double, Double, RandomGenerator)Initializes a new instance of the BetaDistribution class
Top
Properties
 NameDescription
Public propertyA 
Public propertyB 
Public propertyGeneratorReturns the random generator used by the distribution to generate the random values.
(Inherited from ProbabilityDistribution)
Top
Methods
 NameDescription
Public methodCDF
(Overrides ProbabilityDistributionCDF(Double))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize 
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNextDouble
(Overrides ProbabilityDistributionNextDouble)
Public methodPDF
(Overrides ProbabilityDistributionPDF(Double))
Public methodQuantile
(Overrides ProbabilityDistributionQuantile(Double))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected fielda 
Protected fieldaa 
Protected fieldalgorithmBB 
Protected fieldalpha 
Protected fieldb 
Protected fieldbb 
Protected fieldbeta 
Protected fielddelta 
Protected fieldgamma 
Protected fieldgeneratorPointer to generator.
(Inherited from ProbabilityDistribution)
Protected fieldk1 
Protected fieldk2 
Protected fieldmaxexp 
Protected fieldscale 
Top
Remarks
C#
Return Beta distributed random deviates according to the density

                a-1       b-1
               x     (1-x)
 p   (x) dx = --------------- dx   for 0 < x < 1
  a,b              B(a,b)

            =  0                   otherwise

References:

R. C. H. Cheng, Generating Beta Variatew with Non-integral Shape
Parameters, Comm. ACM, 21, 317-322 (1978). (Algorithms BB and BC).
See Also