opensrdk-linear-algebra

Standard linear algebra library using blas and lapack for OpenSRDK toolchain

36 releases

0.9.3 Mar 30, 2023
0.8.9 Feb 13, 2023
0.8.4 Jan 22, 2022
0.8.2 Dec 23, 2021
0.1.0 Jul 7, 2020

#482 in Math

Download history 6/week @ 2024-06-15 2/week @ 2024-06-22 4/week @ 2024-07-13 3/week @ 2024-07-20 3/week @ 2024-07-27 27/week @ 2024-09-21 39/week @ 2024-09-28

66 downloads per month
Used in 4 crates

Apache-2.0

175KB
6K SLoC

linear-algebra-rs

Usage

[dependencies]
opensrdk-linear-algebra = "0.8.8"
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

~66MB
~893K SLoC