patrick-kidger / patrick-kidger/diffrax
Is it possible to obtain the steps of the trajectories?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 189
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 1
Description
Hello,
I was wondering if is it possible to use some kind of callback function on the diffeqsolve function such that I can get not only the last step of the trajectory within the specified time, but also all the intermediate steps. If so, can you give me a quick example on how to implement it myself?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the diffeqsolve API and its trajectory-output behavior. Determine whether intermediate steps are already exposed and identify the relevant documentation or tests; done should be a documented, reproducible way to obtain all intermediate trajectory steps, if supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100