Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scalar and matrix-valued differential equations #457

Open
pnkraemer opened this issue Mar 14, 2023 · 0 comments
Open

Scalar and matrix-valued differential equations #457

pnkraemer opened this issue Mar 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pnkraemer
Copy link
Owner

What?

Would be great to be able to support equations of the form M'(t) = f(M(t)) where $M$ is an arbitrarily-shaped array (e.g., a matrix) and not necessarily a (n,)-shaped array.

Why?

This is super useful when solving for instance partial differential equations and has come up recently in #452.

Context

While we can always "flatten" the equation, it is not just easier to use the code if flattening isn't necessary, but matrix-valued equations also motivate a different state-space model and maybe we can improve efficiency here.

Other

Stretch goal: solve equations where the state is an arbitrary pytree. It is not obvious, however, what the state-space model should be for an arbitrary pytree so this stretch goal is likely out of scope.

Related

If #288 can be realised successfully, we get matrix-valued differential equations for free. See also #296, which "goes the other way" (i.e. demanding solvers for ndim-0 arrays instead of ndim-1 arrays).

@pnkraemer pnkraemer added the enhancement New feature or request label Mar 14, 2023
@pnkraemer pnkraemer changed the title Matrix-valued differential equations Scalar and matrix-valued differential equations Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant