PDSampler.jl Documentation

PDSampler.jl is a package designed to provide an efficient, flexible, and expandable framework for samplers based on Piecewise Deterministic Markov Processes and their applications. This includes the Bouncy Particle Sampler and the Zig-Zag Sampler. See the references at the bottom of this page.

The project is hosted by the Alan Turing Institute (ATI). If you encounter problems, please open an issue on Github. If you have comments or wish to collaborate, please open an issue on Github.

Using the Package

To install the package, use the following command inside the Julia REPL:


To load the package, use the command:

using PDSampler

You can also run the tests with Pkg.test("PDSampler") and update to the latest Github version with Pkg.update("PDSampler").


The following examples will introduce you to the functionalities of the package.

Code documentation

These pages introduce you to the core of the package and its interface. This is useful if you are looking into expanding the code yourself to add a capacity or a specific model.