alexfikl / pycaputo

Evaluate fractional integrals and solve fractional ODEs.
https://pycaputo.readthedocs.io
3 stars 0 forks source link

Rework derivative discretizations #57

Closed alexfikl closed 1 month ago

alexfikl commented 2 months ago

See discussion in #55. Methods that need updating

Caputo

Riemann-Liouville

Should just work once Caputo methods are updated.

Grünwald-Letnikov

Gradient

Reimplement gradient based on diffs method. Methods that don't support it can take a long hard look at themselves.

Fixes #55.

alexfikl commented 1 month ago

This turned out to be a bit of a pain. Had to re-derive most of the methods to be able to write out the weights and diffs separately.

For now, the interface seems nice enough and the most used methods are ported. The rest of them can be done one by one whenever someone finds the time and the will :grin: