Ratio Of Uniforms RV
class RatioOfUniformsRV @JvmOverloads constructor(umax: Double, vmin: Double, vmax: Double, f: PDFIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null) : RVariable(source)
Provides a framework for generating random variates using the ratio of uniforms method. Specifies the pair (u, v), with ratio v/u
Parameters
umax
the maximum bound in the "u" variate
vmin
the minimum bound for the "v" variate
vmax
the maximum bound in the "v" variate
f
the desired PDF
rn Stream
the random number stream to use
Constructors
Functions
Link copied to clipboard
open override fun instance(streamNum: Int, rnStreamProvider: RNStreamProviderIfc): RatioOfUniformsRV