create

fun create(initialX: Double, warmUpAmount: Int, targetFun: FunctionIfc, proposalFun: ProposalFunction1DIfc): MetropolisHastings1D

Return

the created instance

Parameters

initialX

the initial value to start the burn in period

warmUpAmount

the number of samples in the burn in period

targetFun

the target function

proposalFun

the proposal function