functionRatio

protected fun functionRatio(currentX: DoubleArray, proposedY: DoubleArray): Double(source)

Return

the ratio of f(y)/f(x) for the generation step

Parameters

currentX

the current state

proposedY

the proposed state