Expand description
§nabled
nabled is an ndarray-native numerical library focused on production-grade
linear algebra and ML-oriented primitives.
§Crate Layout
corefor shared error taxonomy, validation, and ndarray prelude exports.linalgfor linear algebra and decomposition domains.mlfor ML-oriented numerical routines.
§Feature Flags
blas: enablesndarray/blasin lower crates.openblas-system: enables provider-backedLAPACKpaths via systemOpenBLAS.openblas-static: enables provider-backedLAPACKpaths via statically linkedOpenBLAS.netlib-system: enables provider-backedLAPACKpaths via systemNetlibLAPACK.netlib-static: enables provider-backedLAPACKpaths via statically linkedNetlibLAPACK.accelerator-rayon: enables parallel CPU kernels where implemented.accelerator-wgpu: enables WGPU-backed kernel paths where implemented.
§Execution Semantics
Provider: decomposition implementation source (internal vs selected LAPACK provider).Backend: primitive-kernel execution target (CPU/WGPU).Kernel: operation-family backend contract (matmat,matvec, sparse ops, tensor ops).
§Quick Start
use ndarray::arr2;
use nabled::linalg::svd;
let a = arr2(&[[1.0_f64, 2.0], [3.0, 4.0]]);
let decomposition = svd::decompose(&a)?;
assert_eq!(decomposition.singular_values.len(), 2);§Optional Provider Build
cargo test -p nabled --features openblas-system§Optional Accelerator Build
cargo test -p nabled --features accelerator-wgpu