Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Latest commit

 

History

History
46 lines (31 loc) · 2.07 KB

File metadata and controls

46 lines (31 loc) · 2.07 KB

polpack

Special Functions and Recursively-Defined Polynomial Families for Python

Tests Documentation codecov

License: LGPL-2.1 PyPI Downloads Python versions

polpack is a high-performance Python library for evaluating special functions and recursively-defined polynomial families. The numerical core is written in Fortran and compiled via f2py, providing efficient routines for mathematical and combinatorial computations.

It includes routines to evaluate classic families such as Bernoulli, Chebyshev, Gegenbauer, Hermite, Laguerre, and Legendre polynomials, among others.

Quick example

import numpy as np
import polpack

# Example: Compute Bell numbers
bell = np.zeros(11, dtype=np.int32)
polpack.bell(10, bell)
print(f"Bell numbers: {bell}")

Installation

pip install polpack

Requires Python 3.10+ and NumPy. See the full installation guide for conda, poetry, and source builds.

Documentation

  • Theory — mathematical background, polynomial families, and special functions
  • Quickstart — runnable examples
  • API Reference — function signatures and parameters
  • References — literature citations

License

LGPL-2.1 — see LICENSE.