#linear-algebra

opensrdk-linear-algebra

Standard linear algebra library using blas and lapack for OpenSRDK toolchain

27 releases

0.8.4 Jan 22, 2022
0.8.2 Dec 23, 2021
0.8.1 Oct 25, 2021
0.6.7 Apr 22, 2021
0.1.0 Jul 7, 2020

#131 in Math

Download history 24/week @ 2022-01-28 14/week @ 2022-02-04 11/week @ 2022-02-11 35/week @ 2022-02-18 19/week @ 2022-02-25 23/week @ 2022-03-04 116/week @ 2022-03-11 113/week @ 2022-03-18 7/week @ 2022-03-25 20/week @ 2022-04-01 21/week @ 2022-04-08 10/week @ 2022-04-15 49/week @ 2022-04-22 166/week @ 2022-04-29 180/week @ 2022-05-06 473/week @ 2022-05-13

870 downloads per month
Used in 3 crates

Apache-2.0

120KB
4K SLoC

linear-algebra-rs

Usage

[dependencies]
opensrdk-linear-algebra = "0.8.1"
blas-src = { version = "0.8", features = ["openblas"] }
lapack-src = { version = "0.8", features = ["openblas"] }
extern crate opensrdk_linear_algebra;
extern crate blas_src;
extern crate lapack_src;

You can also use accelerate, intel-mkl and so on. See

use opensrdk_linear_algebra::*;

Examples

Routine Naming

Prefix

  • bd: Bidiagonal
  • ci: Circulant
  • di: Diagonal
  • ge: General
    • sy_he: Symmetric, Hermitian
      • po: Positive definite
    • tr: Triangle
  • gt: General tridiagonal
  • kr: Kronecker
  • sp_hp: Symmetric packed, Hermite packed
    • pp: Positive definite packed
  • ss: Sparse
  • st: Symmetric tridiagonal
    • pt: Positive definite tridiagonal
  • to: Toeplitz

Suffix

  • sv: Solve
  • trf: Triangle factorization
  • tri: Triangle inversion
  • trs: Triangle solution
  • svd: Singular value decomposition
  • ev: Eigenvalues
  • evd: Eigenvalue decomposition
  • trd: Tridiagonal decomposition
  • det: Determinant

Dependencies

~64MB
~859K SLoC