Truncated RV
constructor(distribution: ContinuousDistributionIfc, distDomain: Interval = distribution.domain(), truncInterval: Interval, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)
constructor(distribution: InvertibleCDFIfc, cdfLL: Double, cdfUL: Double, lowerLimit: Double, upperLimit: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)
Parameters
distribution
the distribution to truncate, must not be null
cdf LL
The lower limit of the range of support of the distribution
cdf UL
The upper limit of the range of support of the distribution
lower Limit
The truncated lower limit (if moved in from cdfLL), must be >= cdfLL
upper Limit
The truncated upper limit (if moved in from cdfUL), must be <= cdfUL
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