Click or drag to resize

FloatRandomBetaDistribution Class

Class FloatRandomBetaDistribution generates random numbers from a beta distribution.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreFloatRandomBetaDistribution

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

The FloatRandomBetaDistribution type exposes the following members.

Constructors
 NameDescription
Public methodFloatRandomBetaDistribution 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 methodFloatRandomBetaDistribution(Single, Single, Single, Single) Constructs a random number generator for a beta distribution using the specified distribution parameters.
Public methodFloatRandomBetaDistribution(Single, Single, Single, Single, FloatRandomBetaDistributionGenerationMethod) 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, FloatVector, Int32, Int32) Uses the given random number stream to fill the given vector of floats with random values.
Public methodFill(RandomNumberStream, Single, Int32, Int32) Uses the given random number stream to fill the given array of integers 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