Skip to main content

Filon quadrature for highly oscillatory integrals

Project description

filon

Implementation of Filon quadrature in Rust (as filon) and Python (as pyfilon)

crates.io PyPI

The Filon quadrature is a quadrature for highly oscillatory integrals, such as $\int_a^b f(x) sin(mx)$ or $\int_a^b f(x) cos(mx)$.

This package implements the Filon quadrature algorithm in Rust as well as Python via PyO3 and maturin.

Supports: In Rust: quadrature for discretised functions with $sin(mx)$ and $cos(mx)$ In Python: quadrature for discretised and non-discretised functions with $sin(mx)$, $cos(mx)$ and $exp(imx)$.

This code ports John Burkardt's implementation of Filon quadrature, based on Chase and Fosdick's algorithm in the ACM, available on Netlib as TOMS 353.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfilon-1.2.0.tar.gz (31.3 kB view hashes)

Uploaded Source

Built Distribution

pyfilon-1.2.0-cp311-cp311-manylinux_2_34_x86_64.whl (225.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.34+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page