class WeibullGenerator extends RandomDataGenerator[Double]
Generates i.i.d. samples from the Weibull distribution with the given shape and scale parameter.
- Alphabetic
- By Inheritance
- WeibullGenerator
- RandomDataGenerator
- Serializable
- Serializable
- Pseudorandom
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
WeibullGenerator(alpha: Double, beta: Double)
- alpha
shape parameter for the Weibull distribution.
- beta
scale parameter for the Weibull distribution.
Value Members
- val alpha: Double
- val beta: Double
-
def
copy(): WeibullGenerator
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the class when applicable for non-locking concurrent usage.
Returns a copy of the RandomDataGenerator with a new instance of the rng object used in the class when applicable for non-locking concurrent usage.
- Definition Classes
- WeibullGenerator → RandomDataGenerator
-
def
nextValue(): Double
Returns an i.i.d.
Returns an i.i.d. sample as a generic type from an underlying distribution.
- Definition Classes
- WeibullGenerator → RandomDataGenerator
-
def
setSeed(seed: Long): Unit
Set random seed.
Set random seed.
- Definition Classes
- WeibullGenerator → Pseudorandom