Metropolis Hastings1D
constructor(initialX: Double, targetFun: FunctionIfc, proposalFun: ProposalFunction1DIfc, streamNumber: Int = 0, streamProvider: RNStreamProviderIfc = KSLRandom.DefaultRNStreamProvider)(source)
Parameters
initial X
the initial value to start generation process
target Fun
the target function
proposal Fun
the proposal function
stream Number
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