Permissively licensed modern Fortran Gauss–Jacobi
quadrature: nodes and weights on [-1, 1]
for weight (1-x)^α (1+x)^β (α,β > −1).
Multiple algorithms, optional auto selection, Coarray Fortran paths, and
C/Python surfaces.
Navigation follows the Diátaxis map (same pattern as rsx docs):
| Need | Go to |
|---|---|
| Install and compute one rule | Tutorials · Quickstart |
| C / Python / CAF recipes | Howto · Bindings, Howto · CAF, Howto · Accuracy |
| Why these methods / auto policy | Explanation · Methods |
| API surfaces and method strings | Reference · Fortran, C, Python, method names |
| Cite software and literature | Explanation · Citation · refs.bib |
gauss_jacobi_rule
(optional method; blank / "auto" → policy;
multi-image auto selects *_caf)rec, gw, algo665, algo665_dc, sturm,
glr, bogaert, and *_caf
variants (rec_caf, sturm_caf, glr_caf, bogaert_caf, algo665_dc_caf, …)gauss_jacobi_rule_c (single-image);
Python: PyPI gauss-jacobi-quad (Stable ABI
cp39-abi3 + free-threaded cp313t wheels)GaussJacobiQuad → docs/refs.bibuse GaussJacobiQuad, only: gauss_jacobi_rule
use gjp_types, only: dp
integer, parameter :: n = 32
real(dp) :: x(n), w(n)
call gauss_jacobi_rule(n, 0.0_dp, 0.0_dp, x, w) ! auto
call gauss_jacobi_rule(n, 0.5_dp, 0.5_dp, x, w, "glr") ! forced# Narrative HTML (pandoc) + optional Doxygen API
./docs/scripts/build_docs.sh
# Output: docs/site/ (narrative) and html/ when doxygen runsAPI HTML (Doxygen) is the site root (haozeke.github.io/GaussJacobiQuad).
This narrative sits at /narrative/. Build
both with ./docs/scripts/build_docs.sh
(apidocs/Doxygen-GaussJacobiQuad.cfg).
gauss-jacobi-quad (C-FFI to libgjp_cinterp)gauss-jacobi-quad — CPython extension over
ISOCBINDING; wheels: one Stable ABI (cp39-abi3) for 3.9+ GIL, plus free-threaded
(cp313t)vX.Y.Z;
Fortran via fpm/meson as usualSee repository readme.org and crates/gauss-jacobi-quad/README.md / python/README.md.