Truncated Normal RV
class TruncatedNormalRV @JvmOverloads constructor(val mean: Double = 0.0, val variance: Double = 1.0, interval: Interval, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : ParameterizedRV(source)
A truncated normal distribution.
Parameters
mean
the mean of the distribution
variance
the variance of the distribution
interval
the interval over which the distribution is defined
stream Num
the random number stream number, defaults to 0, which means the next stream
stream Provider
the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider
name
an optional name
Constructors
Functions
Link copied to clipboard
open override fun instance(streamNum: Int, rnStreamProvider: RNStreamProviderIfc): TruncatedNormalRV