Expand description
OxiBLAS BLAS - Pure Rust BLAS implementation.
This crate provides BLAS (Basic Linear Algebra Subprograms) operations implemented in pure Rust with SIMD optimization.
§BLAS Levels
- Level 1: Vector-vector operations (dot, axpy, nrm2, etc.)
- Level 2: Matrix-vector operations (gemv, trmv, etc.)
- Level 3: Matrix-matrix operations (gemm, trmm, etc.)
§Example
use oxiblas_blas::level3::gemm;
use oxiblas_matrix::Mat;
// Create matrices
let a: Mat<f64> = Mat::filled(100, 50, 1.0);
let b: Mat<f64> = Mat::filled(50, 80, 2.0);
let mut c: Mat<f64> = Mat::zeros(100, 80);
// GEMM: C = A * B
gemm(1.0, a.as_ref(), b.as_ref(), 0.0, c.as_mut());Modules§
- accuracy
- Accuracy and numerical error analysis for BLAS operations.
- cblas
- CBLAS-compatible interface for BLAS-TESTER compatibility.
- complex_
interleaved - Interleaved complex storage support.
- level1
- BLAS Level 1 - Vector Operations.
- level2
- BLAS Level 2 - Matrix-Vector Operations.
- level3
- Level 3 BLAS operations (matrix-matrix).
- ndtensor
- N-dimensional tensor type.
- prelude
- Prelude module for convenient imports.
- tensor
- Tensor contraction operations.