#linear-algebra #matrix #ndarray #linalg

linfa-linalg

Pure-Rust implementation of linear algebra routines for ndarray

1 unstable release

0.1.0 Jun 5, 2022

#1286 in Algorithms

Download history 3331/week @ 2023-12-13 2034/week @ 2023-12-20 1393/week @ 2023-12-27 3825/week @ 2024-01-03 4057/week @ 2024-01-10 4455/week @ 2024-01-17 3795/week @ 2024-01-24 3950/week @ 2024-01-31 3528/week @ 2024-02-07 3687/week @ 2024-02-14 3689/week @ 2024-02-21 5392/week @ 2024-02-28 5545/week @ 2024-03-06 5224/week @ 2024-03-13 4660/week @ 2024-03-20 3975/week @ 2024-03-27

20,411 downloads per month
Used in 16 crates (13 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.6–2.3MB
~46K SLoC