DifferenceEquations.jl

Solving difference equations with DifferenceEquations.jl and the SciML ecosystem.
Author SciML
Popularity
32 Stars
Updated Last
5 Months Ago
Started In
September 2021

DifferenceEquations.jl

Solving difference equations with DifferenceEquations.jl and the SciML ecosystem.

Join the chat at https://julialang.zulipchat.com #sciml-bridged Global Docs

codecov Build Status Build status

ColPrac: Contributor's Guide on Collaborative Practices for Community Packages SciML Code Style

This package simulates for initial value problems for deterministic and stochastic difference equations, with or without a separate observation equation. In addition, the package provides likelihoods for some standard filters for estimating state-space models.

Relative to existing solvers, this package is intended to provide differentiable solvers and filters. For example, you can simulate a linear gaussian state space model and find the gradient of the solution with respect to the model primitives. Similarly, the likelihood for the Kalman Filter can itself be differentiated with respect to the underlying model primitives. This makes the package especially amenable to estimation and calibration, where the entire solution blocks become auto-differentiable.

NOTE: While the features of this package have unit tests and documentation, the package is in a pre-release state. If you require additional features or flexibility, you will need to contribute them.

Tutorials and Documentation

For information on using the package, see the stable documentation. Use the in-development documentation for the version of the documentation, which contains the unreleased features.