Expand description
Matrix types and operations.
This module defines the Matrix trait and related traits for matrix operations:
- DenseMatrix for dense column-major matrices
- Sparsity detection and handling
Implementations are provided for:
- Dense matrices: NalgebraMat, FaerMat
- Sparse matrices: FaerSparseMat
- GPU matrices:
CudaMat(requirescudafeature)
Modules§
Constants§
- MAX_
SMALL_ COLS - Largest column range the small-coefficient kernels accept —
DenseMatrix::mul_cols_byandDenseMatrix::gemv_cols.
Traits§
- Dense
Matrix - A dense column-major matrix with efficient column access operations.
- Matrix
- A base matrix trait supporting both sparse and dense matrices.
- Matrix
Common - Common interface for matrix types, providing access to scalar type, context, and dimensions.
- Matrix
MutOps ByValue - In-place operations on matrices (addition and subtraction).
- Matrix
OpsBy Value - Operations on matrices by value (addition and subtraction).
- Matrix
Ref - A trait allowing for references to implement matrix operations