matflow.subset_simulation.subset_simulation.generate_next_state#
- matflow.subset_simulation.subset_simulation.generate_next_state(x, proposal, rng)#
Proposal must be a symmetric distribution centred on zero.
Returns the new candidate state and the number of new components in that state (i.e. number of accepted components).