FriesischScott / UncertaintyQuantification.jl

Uncertainty Quantification in Julia
MIT License
28 stars 7 forks source link

Allow for passing of different fdm methods #147

Closed FriesischScott closed 6 months ago

FriesischScott commented 6 months ago

Currently everywhere forward_fdm(2,1) is used to compute the first derivatives. This PR allows for passing of different methods using the new structs ForwardFiniteDifferences, CentralFiniteDifferences, BackwardFiniteDifferences.

All methods default to CentralFiniteDifferences(3,1).

Closes #106.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (70d1e21) 98.79% compared to head (208bb4c) 98.81%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #147 +/- ## ========================================== + Coverage 98.79% 98.81% +0.01% ========================================== Files 26 27 +1 Lines 998 1010 +12 ========================================== + Hits 986 998 +12 Misses 12 12 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.