sethaxen / ExponentialAction.jl

Compute the action of the matrix exponential
MIT License
24 stars 0 forks source link

Add function for handling multiple time points #17

Closed sethaxen closed 2 years ago

sethaxen commented 2 years ago

This PR adds a function expv_sequence(ts, A, B) that computes expv for a sequence of timepoints ts faster (and potentially more accurately) than doing so independently for each t.

While the Higham paper only discusses regularly spaced points, this method also allows irregularly spaced points, though it doesn't do anything special there.

codecov[bot] commented 2 years ago

Codecov Report

Merging #17 (29433d1) into main (8848b35) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #17   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         6    +2     
  Lines           78       149   +71     
=========================================
+ Hits            78       149   +71     
Impacted Files Coverage Δ
src/parameters.jl 100.00% <ø> (ø)
src/expv.jl 100.00% <100.00%> (ø)
src/sequence.jl 100.00% <100.00%> (ø)
src/taylor.jl 100.00% <100.00%> (ø)
src/util.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8848b35...29433d1. Read the comment docs.