InverseCDFRV

class InverseCDFRV @JvmOverloads constructor(val inverseCDF: InverseCDFIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : RVariable(source)

Facilitates the creation of random variables from distributions that implement InverseCDFIfc

Parameters

inverseCDF

the inverse of the distribution function

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(inverseCDF: InverseCDFIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)

Properties

Link copied to clipboard

Functions

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