Skip to main content

Module matrix

Module matrix 

Source
Expand description

Small column-major dense containers for internal numerics.

Mat and Mat3 hold generic scalars (including Df64) for the SVE, polynomial, and kernel-matrix code paths. They are plain column-major Vec<T> buffers with infallible indexing: the first index varies fastest in memory, matching Fortran, BLAS, and tenferro.

sparse-ir-core moves them to and from tenferro tensors without copying (its MatTyped trait).

Structsยง

Mat
Column-major dense matrix with infallible indexing.
Mat3
Column-major dense rank-3 array with infallible indexing.