#ndarray #matrix #linalg

linfa-linalg

Pure-Rust implementation of linear algebra routines for ndarray

1 unstable release

0.1.0 Jun 5, 2022

#204 in Math

Download history 417/week @ 2022-08-10 248/week @ 2022-08-17 246/week @ 2022-08-24 350/week @ 2022-08-31 664/week @ 2022-09-07 222/week @ 2022-09-14 276/week @ 2022-09-21 350/week @ 2022-09-28 905/week @ 2022-10-05 514/week @ 2022-10-12 571/week @ 2022-10-19 614/week @ 2022-10-26 1311/week @ 2022-11-02 1147/week @ 2022-11-09 592/week @ 2022-11-16 434/week @ 2022-11-23

3,678 downloads per month
Used in 12 crates (10 directly)

MIT/Apache

145KB
3K SLoC

linfa-linalg

Provides pure-Rust implementations of linear algebra routines for ndarray without depending on external LAPACK/BLAS libraries.

Eliminating BLAS dependencies

If this crate is being used as a BLAS-less replacement for ndarray-linalg, make sure to remove ndarray-linalg from the entire dependency tree of your crate. This is because ndarray-linalg, even as a transitive dependency, forces ndarray to be built with the blas feature, which forces all matrix multiplications to rely on a BLAS backend. This leads to linker errors if no BLAS backend is specified.

License

Dual-licensed to be compatible with the Rust project.

Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.


lib.rs:

Provides pure-Rust implementations of linear algebra routines for ndarray without depending on external LAPACK/BLAS libraries.

Eliminating BLAS dependencies

If this crate is being used as a BLAS-less replacement for ndarray-linalg, make sure to remove ndarray-linalg from the entire dependency tree of your crate. This is because ndarray-linalg, even as a transitive dependency, forces ndarray to be built with the blas feature, which forces all matrix multiplications to rely on a BLAS backend. This leads to linker errors if no BLAS backend is specified.

Dependencies

~1.5–2MB
~41K SLoC