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: row-major dense matrix.
Device views#
view::dense,view::csr, …: non-owning, trivially copyable views ofDense,Coo,Csr,Ell,SellpandHybridstorage for use inside device kernels and for passing matrices between libraries; obtained withget_device_view()/get_const_device_view().
Utility operators#
Identity: identity LinOp.Diagonal: diagonal matrix.Permutation: row/column permutation.ScaledPermutation: permutation with row scaling.RowGatherer: gather rows by index.