WeibullRV

class WeibullRV @JvmOverloads constructor(val shape: Double, val scale: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : ParameterizedRV(source)

Weibull(shape, scale) random variable

Parameters

shape

the shape must be greater than 0

scale

the scale must be greater than 0

streamNum

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider

name

an optional name

Constructors

Link copied to clipboard
constructor(shape: Double, scale: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)

Properties

Link copied to clipboard
open override val parameters: RVParameters
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun instance(streamNum: Int, rnStreamProvider: RNStreamProviderIfc): WeibullRV
Link copied to clipboard
open override fun toString(): String