https://github.com/xzackli/oscillatoryintegralsode.jl
https://github.com/xzackli/oscillatoryintegralsode.jl
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xzackli/oscillatoryintegralsode.jl
- Owner: xzackli
- License: mit
- Created: 2021-02-18T03:31:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-02T20:05:46.000Z (about 2 years ago)
- Last Synced: 2025-03-08T05:46:19.919Z (3 months ago)
- Language: Julia
- Size: 156 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OscillatoryIntegralsODE
[](https://xzackli.github.io/OscillatoryIntegralsODE.jl/dev)
[](https://github.com/xzackli/OscillatoryIntegralsODE.jl/actions)
[](https://codecov.io/gh/xzackli/OscillatoryIntegralsODE.jl)This package computes highly oscillatory integrals by combining a Levin method ([Levin 1994](https://www.sciencedirect.com/science/article/pii/0377042794001189)) with an ODE solver. It currently supports Bessel, spherical Bessel, and harmonic integrals.
Please read the [documentation](https://xzackli.github.io/OscillatoryIntegralsODE.jl/dev) for details.
```julia
using OscillatoryIntegralsODE
f(x) = exp(-x^2/16)
bi = BesselJIntegral{Float64}(100., 100.) # nu, r
levintegrate(bi, f, 1.0, 5.0; abstol=1e-6, reltol=1e-6)
```
```
0.006311599451652101
```