ndarray-linalg
ndarray-linalg copied to clipboard
Linear algebra package for rust-ndarray using LAPACK binding
For the methods in the `lax` crate which call LAPACK, we need to either add bounds checks (i.e. checking that the provided layout will not cause an out-of-bounds read for...
This is my work in progress adding Moore-Penrose Pseudo-inverse of a Matrices #292. I have added all the tests suggested in @jturner314 https://github.com/rust-ndarray/ndarray-linalg/issues/292#issuecomment-849882407 but it still needs more documentation and...
The `SVDDCInto` trait should require `self` to be `DataMut`, but for the `SVDDC` trait we only need `self` to be `Data` since we do not own it.
I am writing an optimization library for which I would like several of the routine's inputs to be generic LinearOperators. I was happy to find that this trait abstraction was...
``` let mut data = [[2.0f64; 1]; 1]; let mut array = aview_mut2(&mut data); let factorized = array.factorize_into().unwrap(); ``` Fails with ``` note: the following trait bounds were not satisfied:...
I'm having an issue getting the crate to work reliably on OSX. My product requires some simple linear algebra, using the solve functions. My Cargo.toml looks like this ``` [dependencies]...
This adds tests for: - various ways to call `.solveh()`/`.solveh_into()` - 32-bit element types - complex element types - varying array sizes The tests show that the current implementation is...
I've created #294 to add tests for these issues.
Not sure if this is the write place to ask such questions but I couldn't find anywhere else more specific. I am trying to implement the (Moore-Penrose) pseudo-inverse of a...
While still not perfect - that should be solved in upstream ndarray, the new version is an improvement since it checks the compatibility before attempting to construct the array. `.into_raw_vec()`...