Laplace RV
class LaplaceRV @JvmOverloads constructor(val location: Double, val scale: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : ParameterizedRV(source)
LaplaceRV(mean, scale)
Parameters
location
the mean (location) of the random variable
scale
must be greater than 0
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
Link copied to clipboard
constructor(location: Double, scale: Double, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)