Code Monkey home page Code Monkey logo

pnkraemer / diffeqzoo Goto Github PK

View Code? Open in Web Editor NEW
12.0 2.0 2.0 683 KB

A zoo of implementations of differential equation problems in NumPy and JAX. Oscillators, chemical reactions, n-body problems, epidemiological models, IVPs, BVPs, and more.

Home Page: https://diffeqzoo.readthedocs.io

License: MIT License

Python 97.45% Makefile 2.55%
numerical-methods scientific-computing boundary-value-problem initial-value-problem ordinary-differential-equations jax numpy

diffeqzoo's Issues

One-dimensional problems

What do we do with one-dimensional problems? Implement them as scalars (0-dimensional arrays), 1-dimensional arrays, or both?

Documentation for ODE problems

Must have:

  • A reference to the original paper (or whatever one can find)
  • A description of what it models, and why it is interesting

Nice to have:

  • Meanings of parameter names
  • Maths
  • Example usage of the function

Make notebooks a bit nicer

The notebooks are there and working, but

  • use the old API (with namedtuple outputs)
  • Have no text
  • Are not rendered with plots in the docs

Would be great to give them some care

Design choices

Mention the design choices somewhere (implementation as raw as possible even if it implies a slightly annoying API, implement in a way that makes it easy to use for benchmarks and papers, take second-order, non-autonomous, mass-matric, problems seriously, etc.)

Rethink conversion functionality

  • should it be a subpackage, with a more granular functionality? for BVPs, vector field conversion remains the same, but the function does not apply anymore.
  • The jacobian conversion is incorrect. It does not convert the output appropriately.
  • The functionality is not used anywhere (e.g., in the notebooks), so I have no idea how useful it is.
  • Mark somewhere that it is very experimental (even more than the rest). Complete conversion is, in the end, something the user has to do.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.