Acceptance Rejection RV
constructor(proposalDistribution: ContinuousDistributionIfc, majorizingConstant: Double, pdf: PDFIfc, streamNum: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider, name: String? = null)
Parameters
proposal Distribution
the proposal distribution for generating variates that could be rejected
majorizing Constant
the majorizing constant for the rejection process
pdf
the PDF from which random variates are needed
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