dimforge / dimforge/nalgebra

FullPivLU and QR refuse to solve for non square matrix

Open
#672 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.8k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

The [doc](https://www.nalgebra.org/decompositions_and_lapack/) says that LU will only solve for square matrix but that both FullPivLU and QR should work for non-square matrices.

In practice there is an assert in both [implementations of solve](https://docs.rs/nalgebra/0.19.0/src/nalgebra/linalg/full_piv_lu.rs.html#186-211) to insures the methods fails on non-square matrices.

Is it because the implementation of FullPivLU and QR is not able to deal with non-square matrix yet or is it a copy-paste error (in which case I can submit a PR) ?

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.