About#
padaquad is written by Kareem Hegazy. It is distributed under the Creative
Commons Attribution 4.0 International license; see
LICENSE.md.
Contributors follow the
code of conduct.
The source code, issues and pull requests are at khegazy/padaquad.
Citing padaquad#
There is no paper about padaquad. To cite the software, use the metadata in
the file CITATION.cff at the root of the repository, shown below; GitHub turns
it into a citation under “Cite this repository” on the repository page.
cff-version: 1.2.0
message: "If you use padaquad in your work, please cite the software as below."
type: software
title: "padaquad: parallel adaptive numerical quadrature in PyTorch"
abstract: >-
padaquad computes definite integrals of functions that can be evaluated, in
PyTorch. It splits the integration domain into subintervals, refines those
whose error estimate is too large, and evaluates the integrand at many points
of many subintervals in one call, on a CPU or a GPU, with gradients through
the result.
authors:
- family-names: Hegazy
given-names: Kareem
# version equals pyproject.toml, and date-released equals that version's date in
# CHANGELOG.md; tests/test_docs_methods_table.py checks both.
version: "1.4.1"
date-released: "2026-11-15"
license: CC-BY-4.0
repository-code: "https://github.com/khegazy/padaquad"
url: "https://khegazy.github.io/padaquad/"
keywords:
- numerical integration
- adaptive quadrature
- Gauss-Kronrod
- Clenshaw-Curtis
- PyTorch
- automatic differentiation