Registry / other / lapack-sys

lapack-sys

JSON →
library0.15.0rscratesunverified

The package provides bindings to LAPACK (Fortran).

# Cargo.toml [dependencies] lapack-sys = "0.15.0"
INSTALL
IMPORT
SIG · LAPACK-SYS
L
lapack-sys
otherrustv0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dgetrf_
use lapack_sys::*;

Performs LU factorization using LAPACK's dgetrf.

use lapack_sys::dgetrf_; fn main() { unsafe { let m = 3; let n = 3; let mut a = vec![1.0, 2.0, 3.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0]; let lda = m; let mut ipiv = vec![0i32; m.min(n)]; let mut info = 0i32; dgetrf_(&m, &n, a.as_mut_ptr(), &lda, ipiv.as_mut_ptr(), &mut info); } }
Debug
Known issues
gotchaRequires LAPACK and Fortran runtime libraries installed on the system.
fix
Install LAPACK via your package manager (e.g., apt install liblapack-dev).
affects: >= 0.1
Upgrade
Version history
0.15.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lapack-sys — cargo add lapack-sys · libregistry