Registry / other / blas-src

blas-src

JSON →
library0.14.0rscratesunverified

Provides a BLAS source of choice for linear algebra operations.

# Cargo.toml [dependencies] blas-src = "0.14.0"
INSTALL
IMPORT
SIG · BLAS-SRC
B
blas-src
otherrustv0.14.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.

c
use blas_src::c::*;

Demonstrates calling a BLAS function (ddot) using the blas-src crate.

use blas_src::c::*; // Example: ddot computes dot product of two vectors let x = vec![1.0, 2.0, 3.0]; let y = vec![4.0, 5.0, 6.0]; let result = unsafe { ddot(3, x.as_ptr(), 1, y.as_ptr(), 1) }; println!("Dot product: {}", result);
Debug
Known issues
gotchaRequires a BLAS backend library to be linked (e.g., OpenBLAS, Intel MKL).
fix
Add a backend crate like `openblas-src` or `intel-mkl-src` as a dependency.
affects: >=0.14.0
Upgrade
Version history
0.14.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
1
OpenAI (training)
1
Resources
blas-src — cargo add blas-src · libregistry