Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use triangular solves in default _solve #801

Merged

Conversation

timweiland
Copy link
Collaborator

In a Nutshell

Make use of triangular property in _solve

Detailed Description

  • Make the default _solve implementation of LinearOperator use triangular solves if the linear operator is known to be lower/upper triangular
  • Add test cases for triangular matrices

Makes the default `_solve` implementation of `LinearOperator` use
triangular solves if the linear operator is lower/upper triangular
Add test cases for triangular matrices
@codecov
Copy link

codecov bot commented Mar 8, 2023

Codecov Report

Merging #801 (aa0b889) into main (4d435e4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #801   +/-   ##
=======================================
  Coverage   91.28%   91.29%           
=======================================
  Files         218      218           
  Lines        8207     8209    +2     
  Branches     1059     1060    +1     
=======================================
+ Hits         7492     7494    +2     
  Misses        487      487           
  Partials      228      228           
Impacted Files Coverage Δ
src/probnum/linops/_linear_operator.py 87.21% <100.00%> (+0.04%) ⬆️

Copy link
Collaborator

@marvinpfoertner marvinpfoertner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏🏻

@timweiland timweiland merged commit 15f6d0a into probabilistic-numerics:main Mar 9, 2023
@timweiland timweiland deleted the triangular-solves branch March 9, 2023 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants