Special Functions and Recursively-Defined Polynomial Families for Python
polpack is a high-performance Python library for evaluating special functions and recursively-defined polynomial families. The numerical core is written in Fortran and exposed via a Pythonic interface with comprehensive Google-style docstrings.
import numpy as np
import polpack
# Example: Compute Bell numbers up to order 10
b = np.zeros(11, dtype=np.int32, order='F')
polpack.bell(10, b)
print(f"Bell numbers: {b}")pip install polpackRequires Python 3.10+ and NumPy. See the full installation guide for conda, poetry, and source builds.
- Theory — mathematical background
- Quickstart — runnable examples
- API Reference — function signatures and parameters
- References — literature citations
LGPL-2.1 — see LICENSE.