dimforge / dimforge/nalgebra

Mutating update for decompositions (QR, LU, ...)

Open
#1,070 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

To be able to reuse matrix allocations, it would be nice to have a possibility to calculate matrix decompositions while reusing their already allocated storage. Each decomposition type would have a new method `fn update(&mut self, matrix: &Matrix<...>)` (*) that updates `self` by calculating the decomposition for `matrix`.

If this idea is approved, I am fine with making a PR.

*I am not sure about the name "update". It may be confused with rank-1 update that is implemented for `Cholesky` (and that can be implemented for some other decompositions as well). Proposals for alternatives are welcome.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.