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.3572.0 (4.8.3572.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 propertyAGets the first shape parameter.
Public propertyBGets the second shape parameter.
Public propertyGeneratorReturns the random generator used by the distribution to generate the random values.
(Inherited from ProbabilityDistribution)
Top
Methods
 NameDescription
Public methodCDF Gives the cumulative probability at x.
(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 methodInitializeInitializes the parameters for the beta distribution.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNextDouble Generates a random value distributed according to the distribution.
(Overrides ProbabilityDistributionNextDouble)
Public methodPDF Gives the probability density at x.
(Overrides ProbabilityDistributionPDF(Double))
Public methodQuantile Gives the pth quantile of the distribution.
(Overrides ProbabilityDistributionQuantile(Double))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected fielda Cached coefficients used by the beta distribution implementation.
Protected fieldaa Cached shape parameters used by the beta distribution implementation.
Protected fieldalgorithmBB Cached flag indicating whether algorithm BB is used.
Protected fieldalpha Cached coefficients used by the beta distribution implementation.
Protected fieldb Cached coefficients used by the beta distribution implementation.
Protected fieldbb Cached shape parameters used by the beta distribution implementation.
Protected fieldbeta Cached coefficients used by the beta distribution implementation.
Protected fielddelta Cached coefficients used by the beta distribution implementation.
Protected fieldgamma Cached coefficients used by the beta distribution implementation.
Protected fieldgeneratorPointer to generator.
(Inherited from ProbabilityDistribution)
Protected fieldk1 Cached coefficients used by the beta distribution implementation.
Protected fieldk2 Cached coefficients used by the beta distribution implementation.
Protected fieldmaxexp Cached coefficients used by the beta distribution implementation.
Protected fieldscale Cached coefficients used by the beta distribution implementation.
Top
Remarks
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 Variates with Non-integral Shape Parameters, Comm. ACM, 21, 317-322 (1978). (Algorithms BB and BC).
See Also