Skip to main content
fodeint
======
| Numerical integration of fractional ordinary differential equations.

Overview
--------
fodeint will be a collection of numerical algorithms for integrating fractional ordinary differential equations (FODEs). It has simple functions that can be used in a similar way to ``scipy.integrate.odeint()`` or MATLAB's ``ode45``.

This first version supports Caputo equations with fractional exponent in the range (0,1).

This is prototype code in python, so not aiming for speed. Later can always rewrite these with loops in C when speed is needed.

Warning: this is an early pre-release. Wait for version 1.0. Bug reports are very welcome!

functions
---------
| ``fodeint(a, f, y0, tspan)`` for Caputo equation D^a y(t) = f(y,t), 0<a<1.

This works with scalar or vector equations.

specific algorithms:
--------------------
| ``caputoEuler(a, f, y0, tspan)``: an explicit one-step Adams-Bashforth (Euler) method. The simplest possible method.

Examples:
---------

References for these algorithms:
--------------------------------

| ``caputoEuler``:
| K. Diethelm, N. J. Ford and A. D. Freed (2004) Detailed error analysis for a fractional Adams method
| C. Li and F. Zeng (2012) Finite Difference Methods for Fractional Differential Equations

TODO
----
- Implement fast sum-of-exponentials approximation of Jiang et al. (2017).
- Support other values of the fractional exponent.
- Implement a higher order predictor-corrector algorithm.
- Support Caputo equations with noise (FSODEs).
- Support Riemann-Liouville and Riesz equations.

Metadata

Release files for fodeint 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fodeint 0.1.0
File Size Uploaded
fodeint-0.1.0.tar.gz 19.1 kB Details

Release files / fodeint-0.1.0.tar.gz

Download URL fodeint-0.1.0.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1361db0f988a3188115facfc728493a3908f6ed7b2ca03fa3cf4548a3d2e58b4
BLAKE2b-256 checksum
How to use checksums
6206f3a5dc36f3db19495f72b953e601da802ae16a0e546c74e98fc93b752b05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page