-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Current behavior
Blackjax doesn't have code for constraints.
Stan (and NumPyro) handle constraints by transformation, and one could extract the Numpyro transformations and use those.
However, for periodic or reflective boundary conditions, transformations are not always useful (there isn't any single chart that covers the circle, for example), whereas it is relatively simple to enforce periodicity directly in the integrator.
Desired behavior
I would update the integrators to allow for a hand chosen addition function when updating position, defaulting to the usual (+), but allowing also for modular addition.
Metadata
Metadata
Assignees
Labels
No labels