MetropolisHastings1D

constructor(initialX: Double, targetFun: FunctionIfc, proposalFun: ProposalFunction1DIfc, streamNumber: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)(source)

Parameters

initialX

the initial value to start generation process

targetFun

the target function

proposalFun

the proposal function

streamNumber

the random number stream number, defaults to 0, which means the next stream

streamProvider

the provider of random number streams, defaults to KSLRandom.DefaultRNStreamProvider