findiff
findiff copied to clipboard
Allow the user to specify difference method
Instead of FinDiff using central coefficients whenever possible and switching to backward or forward coefficients if not enough points are available on either side, allow the user to specify a desired method.
So, you basically want to apply the differential operator only at single points instead of the whole grid? Otherwise prescribing the method would not work on at least some part of the grid...
Let's say I have velocity measurements and I want to differentiate them to get accelerations, technically I only have the previous measurements for velocity at any given time-step therefore I would like to apply backward differentiation only.