iteration_offsets¶
- jaxrens.prior_mass.iteration_offsets(n_live, n_cull=1)[source]¶
Within-iteration offsets for closed-form weights at any iteration.
Dead point
k(0 <= k < n_cull, descending energy) of iterationiis global dead pointn = i * n_cull + k, andlog X_n = i * log_alpha + x_offset[k]log a_n = i * log_alpha + w_offset[k]
This lets the JIT step and the termination criteria evaluate weights at iteration
iin O(n_cull) without materialising the whole ladder.