ndarray-linalg
ndarray-linalg copied to clipboard
Explicit memory management of working memory
Resolve #168
Changes
- Create structs which manages working memory used in LAPACK routines, e.g.
EighWork Lapacktrait merges*_traits, e.g.Eigh_- Introduce
LapackStricttrait for APIs which manage memory strictly. - ~~Make submodules in lax, e.g.
lax::eigh, private and expose them intolax::namespace~~ #242
TODO
- [x] cholesky
- [ ] eig
- [x] eigh
- [ ] least_square
- [ ] opnorm
- [ ] qr
- [ ] solve
- [ ] solveh
- [ ] svd
- [ ] svddc
- [ ] triangular
- [ ] tridiagonal
Codecov Report
Merging #241 into master will decrease coverage by
0.70%. The diff coverage is69.69%.
@@ Coverage Diff @@
## master #241 +/- ##
==========================================
- Coverage 89.08% 88.38% -0.71%
==========================================
Files 71 74 +3
Lines 3592 3694 +102
==========================================
+ Hits 3200 3265 +65
- Misses 392 429 +37
| Impacted Files | Coverage Δ | |
|---|---|---|
| lax/src/cholesky.rs | 100.00% <ø> (ø) |
|
| lax/src/lib.rs | 100.00% <ø> (ø) |
|
| lax/src/strict.rs | 0.00% <0.00%> (ø) |
|
| lax/src/eigh_generalized.rs | 47.94% <47.94%> (ø) |
|
| lax/src/eigh.rs | 100.00% <100.00%> (+5.55%) |
:arrow_up: |
| lax/src/traits.rs | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 6ab2b48...ba45af3. Read the comment docs.
Lapack trait merges *_ traits, e.g. Eigh_ Introduce LapackStrict trait for APIs which manage memory strictly.
These should be split into another PR
This can be done without breaking change. I drop this PR from 0.13.0 milestone.
This PR is outdated. Passed to #333