Click or drag to resize

RandGenWeibull Class

Class RandGenWeibull generates random numbers from a Weibull distribution.
Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public class RandGenWeibull : RandomNumberGenerator

The RandGenWeibull type exposes the following members.

Constructors
  NameDescription
Public methodRandGenWeibull(Double)
Constructs a random number generator using RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a Weibull distribution with the specified shape and default scale.
Public methodRandGenWeibull(Double, RandomNumberGeneratorUniformRandomNumber)
Constructs a random number generator using the given shape and delegate as the underlying uniform random number generator. The default scale is used.
Public methodRandGenWeibull(Double, Double)
Constructs a random number generator using RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a Weibull distribution with the specified shape and scale.
Public methodRandGenWeibull(Double, Int32)
Constructs a random number generator using a seeded RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a Weibull distribution with the specified shape default scale.
Public methodRandGenWeibull(Double, Double, RandomNumberGeneratorUniformRandomNumber)
Constructs a RandGenWeibull random number generator instance with the given shape, scale, and underlying uniform random number delegate.
Public methodRandGenWeibull(Double, Double, Int32)
Constructs a random number generator using a seeded RandGenMTwist as the underlying uniform random number generator. The generated deviates will follow a Weibull distribution with the specified shape and scale.
Top
Properties
  NameDescription
Public propertyStatic memberDefaultScale
Gets and sets the value for the default scale parameter for all instances of RandGenWeibull.
Public propertyScale
Gets and sets the scale parameter for the Weibull distribution. Must be positive.
Public propertyShape
Gets and sets the shape parameter for the Weibull distribution.
Public propertyUniformDeviateMethod
Gets and sets the delegate method for generating uniform deviates between zero and one.
(Inherited from RandomNumberGenerator.)
Top
Methods
  NameDescription
Public methodClone
Creates a deep copy of this random number generator.
(Overrides RandomNumberGeneratorClone.)
Public methodFill(Double)
Fills the given array of doubles with random values.
(Inherited from RandomNumberGenerator.)
Public methodFill(Single)
Fills the given array of floats with random values.
(Inherited from RandomNumberGenerator.)
Public methodFill(DoubleComplex)
Fills the given array of double-precision complex numbers with random values.
(Inherited from RandomNumberGenerator.)
Public methodFill(DoubleDataBlock)
Fills the given data block with random values.
(Inherited from RandomNumberGenerator.)
Public methodFill(FloatComplex)
Fills the given array of single-precision complex numbers with random values.
(Inherited from RandomNumberGenerator.)
Public methodNext
Generates a random number.
Public methodNextDouble
Generates a double precision random number.
(Overrides RandomNumberGeneratorNextDouble.)
Public methodNextDoubleComplex
Method for generating a double precision complex number random deviate.
(Inherited from RandomNumberGenerator.)
Public methodNextFloat
Method for generating a single precision random deviate.
(Inherited from RandomNumberGenerator.)
Public methodNextFloatComplex
Method for generating a single precision complex number random deviate.
(Inherited from RandomNumberGenerator.)
Public methodReset
Resets the random number generator using a random seed.
(Inherited from RandomNumberGenerator.)
Public methodReset(Int32)
Resets the random number generator with the specified seed.
(Inherited from RandomNumberGenerator.)
Public methodSetParameters
Sets the shape an scale parameters for the Weibull distribution. Both must be positive.
Top
Fields
  NameDescription
Protected fieldrand_
A delegate method for generating uniform deviates between zero and one.
(Inherited from RandomNumberGenerator.)
Top
See Also