PF: A C++ Library for Fast Particle Filtering
Official code: tbrown122387/pf (61 stars, C++, MIT, last commit 2026-10-14).
Abstract
Particle filters are a class of algorithms that are used for "tracking" or "filtering" in real-time for a wide array of time series models. Despite their comprehensive applicability, particle filters are not always the tool of choice for many practitioners, due to how difficult they are to implement.
Show full abstractHide
This short article presents PF, a C++ header-only template library that provides fast implementations of many different particle filters. A tutorial along with an extensive fully-worked example is provided.