An open API service indexing awesome lists of open source software.

https://github.com/xzackli/oscillatoryintegralsode.jl


https://github.com/xzackli/oscillatoryintegralsode.jl

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# OscillatoryIntegralsODE

[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://xzackli.github.io/OscillatoryIntegralsODE.jl/dev)
[![Build Status](https://github.com/xzackli/OscillatoryIntegralsODE.jl/workflows/CI/badge.svg)](https://github.com/xzackli/OscillatoryIntegralsODE.jl/actions)
[![codecov](https://codecov.io/gh/xzackli/OscillatoryIntegralsODE.jl/branch/main/graph/badge.svg?token=QMFSovaGW4)](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
```