SciML / LinearSolve.jl

LinearSolve.jl: High-Performance Unified Interface for Linear Solvers in Julia. Easily switch between factorization and Krylov methods, add preconditioners, and all in one interface.
https://docs.sciml.ai/LinearSolve/stable/
Other
245 stars 52 forks source link

Specialize diagonal matrices #244

Closed ChrisRackauckas closed 1 year ago

ChrisRackauckas commented 1 year ago

Fixes https://github.com/SciML/LinearSolve.jl/issues/219, though we'll need to continue to figure out why it's not eliding the allocation of the solution struct.

codecov[bot] commented 1 year ago

Codecov Report

Merging #244 (49e7cd7) into main (3ed00b6) will decrease coverage by 3.11%. The diff coverage is 64.70%.

@@            Coverage Diff             @@
##             main     #244      +/-   ##
==========================================
- Coverage   65.14%   62.02%   -3.12%     
==========================================
  Files          12       12              
  Lines         723      740      +17     
==========================================
- Hits          471      459      -12     
- Misses        252      281      +29     
Impacted Files Coverage Δ
src/LinearSolve.jl 0.00% <ø> (-75.00%) :arrow_down:
src/default.jl 33.76% <33.33%> (-9.90%) :arrow_down:
src/factorization.jl 73.48% <81.81%> (-3.97%) :arrow_down:
src/common.jl 80.00% <0.00%> (-7.28%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more