Skip to contents

Get random number generator (RNG) state from the particle filter.

Usage

dust_likelihood_rng_state(obj)

dust_likelihood_set_rng_state(obj, rng_state)

Arguments

obj

A dust_filter object, created by dust_filter_create or a dust_unfilter object created by dust_unfilter_create

rng_state

A raw vector of random number generator state, returned by dust_likelihood_rng_state

Value

A raw vector, this could be quite long. Later we will describe how you might reseed a filter or system with this state.