simpeg / pymatsolver

Solve matrix equations in python.
https://pymatsolver.readthedocs.io/en/latest/
MIT License
33 stars 16 forks source link

Accepts Linear Operator as a valid input for solvers #51

Closed jcapriot closed 2 weeks ago

jcapriot commented 2 weeks ago

Only will use scipy's ishermitian and issymmetric functions if the input matrix A is an ndarray now, allowing passing a wider range of input types for the matrix to solve, specifically this allows LinearOperator to be valid input (for the solvers it would be valid for, e.g. SolverCG).

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (fb88e36) to head (5f17cf8). Report is 4 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #51 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 16 16 Lines 1048 1060 +12 ========================================= + Hits 1048 1060 +12 ```

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