Skip to content

Pre-compute the eigen-decomposition of full covariance matrices#30

Merged
francois-rozet merged 1 commit intoprobabilists:masterfrom
iSach:cov-precompute-decomp
Apr 6, 2026
Merged

Pre-compute the eigen-decomposition of full covariance matrices#30
francois-rozet merged 1 commit intoprobabilists:masterfrom
iSach:cov-precompute-decomp

Conversation

@iSach
Copy link
Copy Markdown
Contributor

@iSach iSach commented Apr 6, 2026

This PR replaces the storage of a full covariance matrix by instead storing its eigen-decomposition to make operations such as inversion and matrix-vector products cheaper, which were previously done by materializing the full inverse matrix for computing $$\Sigma^{-1} x$$.

@francois-rozet francois-rozet changed the title ⚡️ Pre-compute the eigen-decomposition of full covariance matrices Pre-compute the eigen-decomposition of full covariance matrices Apr 6, 2026
@francois-rozet francois-rozet merged commit 1118291 into probabilists:master Apr 6, 2026
6 checks passed
@francois-rozet
Copy link
Copy Markdown
Member

Nice work! This should bring a significant performance boost for GaussianDenoiser.

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