Commit bbd956a
authored
Feature/colpiv qr in nalgebra lapack (#1551)
* start implementation of col piv qr with lapack
* implement basic decomposition
* keep on keeping on
* add triangular solve API
* add permutation tests
* start with rank estimation strategies
* better rank calculation algorithms
* implement owned solver API
* add test for solving
* fix error in lapack diag character conversion
* fix test for equality
* tests for rank deficient problems
* add some comments
* remove some rambling comments
* add more tests, permutations are inverted I think
* fix tests for qr decomposition
* refactor permutation interface to require less allocations
* add comments
* add test helper for max diagonal matrix
* add tests for q matrix
* refactor q multiplication interface
* change q multiplication interface, more changes incoming
* fix dimensions for q multiplication and add test
* remove some superfluous trait bounds
* remove tests for underdetermined rank with qr
* stricter assertions, fix compiler warnings
* factor our error, fix warnings
* start with adding proptest module for colpiv qr
* Qr->QR naming consistent with nalgebra
* bump lapack and lapack-src versions
* fmt
* add basic proptests for qr decomposition
* fmt
* test Q^T Q = Id
* fix proptest compile
* change col permutation logic and test normal equations for matrix solve test
* fix borked permutation logic'
* dynamic linear system proptests
* move strategy back to my module
* remove unused imports
* add documentation, change solver signature slightly
* fix comments, replace unwrap error handling
* make col piv qr public so that it can be used from other crates
* properly expose the unsafety in the lapack backend
* split changelogs as discussed with sebcrozet
* replace unsafe traits with sealed traits
* remove outdated links
* documentation overhaul, lapack-src updates, better selection of lapack features
* add extern crate back, fix num accuracy in tests for mkl
* fix wrong sign in complex conjugate (a + ib)* = a - ib
* migrate complex eigen tests to use proptest for more exhaustive testing
* update changelog
* update changelog again
* fmt changes in docs1 parent e3bb6b7 commit bbd956a
17 files changed
Lines changed: 1941 additions & 101 deletions
File tree
- nalgebra-lapack
- src
- colpiv_qr
- permutation
- rank
- tests/linalg
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
3 | 16 | | |
4 | 17 | | |
5 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
38 | | - | |
39 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | | - | |
| |||
0 commit comments