Skip to content

OpenSRDK/linear-algebra-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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