Click or drag to resize

DoubleRandomBetaDistribution Class

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

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
Public methodDoubleRandomBetaDistribution 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.
Public methodDoubleRandomBetaDistribution(Double, Double, Double, Double) Constructs a random number generator for a beta distribution using the specified distribution parameters.
Public methodDoubleRandomBetaDistribution(Double, Double, Double, Double, DoubleRandomBetaDistributionGenerationMethod) Constructs a random number generator for a beta distribution using the specified distribution parameters.
Top
Properties
 NameDescription
Public propertyDisplacement Gets the displacement.
Public propertyMethod Gets the generation method.
Public propertyP The first shape parameter.
Public propertyQ The second shape parameter.
Public propertyScale Gets the scale.
Top
Methods
 NameDescription
Public methodClone Creates a deep copy of this random number generator.
Public methodFill(RandomNumberStream, DoubleVector, Int32, Int32) Uses the given random number stream to fill the given vector of doubles with random values.
Public methodFill(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.
See Also