Class DoubleRandomBetaDistribution generates random numbers from a beta distribution.
Inheritance Hierarchy
SystemObject

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
```public class DoubleRandomBetaDistribution : IRandomNumberDistribution<double>,
ICloneable```

The DoubleRandomBetaDistribution type exposes the following members.

Constructors
NameDescription
DoubleRandomBetaDistribution Constructs a random number generator for a beta distribution using default P of 1.0, Q of 1.0, displacement of 0.0, and scale of 1.0.
DoubleRandomBetaDistribution(Double, Double, Double, Double) Constructs a random number generator for a beta distribution using the specified distribution parameters.
DoubleRandomBetaDistribution(Double, Double, Double, Double, DoubleRandomBetaDistributionGenerationMethod) Constructs a random number generator for a beta distribution using the specified distribution parameters.
Top
Properties
NameDescription
Displacement Gets the displacement.
Method Gets the generation method.
P The first shape parameter.
Q The second shape parameter.
Scale Gets the scale.
Top
Methods
NameDescription
Clone Creates a deep copy of this random number generator.
Fill(RandomNumberStream, DoubleVector, Int32, Int32) Uses the given random number stream to fill the given vector of doubles with random values.
Fill(RandomNumberStream, Double, Int32, Int32) Uses the given random number stream to fill the given array of doubles with random values.
Top
Remarks
The beta distribution f(x:p,q,a,b) = {1/[B(p,q)*b^(p+q-1)]}*(x-a)^(p-1)*(b + a - x)^(q-1) where B(p,q) is the complete beta function, p and q are shape parameters, a is the displacement or location parameter, and b is the scale factor.

#### Reference

CenterSpace.NMath.Core Namespace