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#
Dense#
Dense— column-major dense matrix.
Utility operators#
Identity— identity LinOp.Diagonal— diagonal matrix.Permutation— row/column permutation.ScaledPermutation— permutation with row scaling.RowGatherer— gather rows by index.