Filon quadrature for highly oscillatory integrals
Project description
filon
Implementation of Filon quadrature in Rust (as filon) and Python (as pyfilon)
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
Built Distribution
Hashes for pyfilon-1.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd38ba1b5eb8651d104568511e9e73082e611ef20711e850a34af0eeb3507442 |
|
MD5 | f87ae034af76392493f513f5f58d4292 |
|
BLAKE2b-256 | f0adfc86879282046f2fe7fccab3f95ef0e7d84da6fbc49c06b7e19a792eb249 |