gko::matrix#

Matrix formats and matrix-like operators. Every type below is a LinOp — composable through apply, transformable through clone and copy, and shareable across executors. For background on the format trade-offs see the Matrix formats concept page.

Sparse formats#

  • Csr — compressed sparse row.

  • Coo — coordinate format.

  • Ell — equal-length rows.

  • Sellp — sliced ELL with permutation.

  • Hybrid — ELL + COO fall-back.

  • Fbcsr — fixed-size block CSR.

  • SparsityCsr — sparsity pattern only.

Dense#

  • Dense — column-major dense matrix.

Utility operators#