patrick-kidger / patrick-kidger/diffrax
ODE solver: some time period has algebraic solution
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 189
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 1
Description
Hello Patrick,
I met a problem on realizing such function:
Suppose I have such ODE function: From t0 to t1 I have dy/dx=f(t,y), in this period of time I have to use numerical ODE solver to solve until I get y(t1), from t1 to t2 I have algebraic formula to compute any t between t1 and t2, so I could easily use the formula to get y(t2). From t2 to t3 again I have to use ODE solver numerically.......
Do you have any idea on how to code with the diffrax? And another point , I also want to realize that one can calculate the sensitivities, how should I do it?
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
The issue does not identify a file, test, or entry point. Start by reviewing Diffrax's documented ODE solver and sensitivity interfaces, then determine how piecewise algebraic intervals should be represented; done requires a clear, working approach for both interval switching and sensitivity calculation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100