gauss-jacobi-quad (CPython extension)Primary distribution: meson-python wheel from the repository
root (pyproject.toml). Extension
module gauss_jacobi_quad._core links
Fortran + C ABI into one .so.
Features:
gauss_jacobi_rule_c
(ISOCBINDING / same as libgjp_cinterp)PyModuleDef_Init + Py_mod_execGaussJacobiError
(module state)cp39-abi3) for
GIL 3.9+; free-threaded wheel (cp313t)
with Py_MOD_GIL_NOT_USED (cannot share
abi3)GJP_CINTERP required for the
installed wheelfrom gauss_jacobi_quad import gauss_jacobi, GaussJacobiError, GJP_OK, GJP_ERR_BOGAERT_AB
x, w = gauss_jacobi(n, alpha, beta) # method=None → auto
x, w = gauss_jacobi(n, alpha, beta, method="glr")
x, w = gauss_jacobi(n, alpha, beta, method="bogaert")numpy.ndarray of shape
(n,) (nodes, weights).GaussJacobiError (message
includes status=N matching C GJP_ERR_*).CLI entry point: gauss-jacobi-quad (or
python -m package CLI).
Sources: python/src/gauss_jacobi_quad/.
Tests: python/tests/.
Path: interfaces/PyInterface/gauss_jacobi_quad.py
(ctypes → libgjp_cinterp). Set GJP_CINTERP if auto-discovery fails. Tests:
pytests/test_c_py_bindings.py.
Howto: Howto · Bindings.