Skip to main content

oxicuda_sparse/format/
mod.rs

1//! Sparse matrix storage formats.
2//!
3//! This module provides GPU-backed sparse matrix types in multiple standard
4//! formats:
5//!
6//! - [`CsrMatrix`] -- Compressed Sparse Row
7//! - [`CscMatrix`] -- Compressed Sparse Column
8//! - [`CooMatrix`] -- Coordinate (triplet) format
9//! - [`BsrMatrix`] -- Block Sparse Row
10//! - [`EllMatrix`] -- ELLPACK format
11//! - [`HybMatrix`] -- HYB (Hybrid ELL+COO) format
12//!
13//! Format conversion routines are in the [`convert`] sub-module.
14
15pub mod bsr;
16pub mod convert;
17pub mod coo;
18pub mod csc;
19pub mod csr;
20pub mod csr5;
21pub mod ell;
22pub mod hyb;
23pub mod reorder;
24
25pub use bsr::BsrMatrix;
26pub use coo::CooMatrix;
27pub use csc::CscMatrix;
28pub use csr::CsrMatrix;
29pub use csr5::Csr5Matrix;
30pub use ell::EllMatrix;
31pub use hyb::{HybMatrix, HybPartition, HybStatistics};
32pub use reorder::{amd_ordering, inverse_permutation, permute_csr, rcm_ordering};