Thanks for the explanation Hauke. I guess that shows that I never studied computer science. I expected rows and cols to just be indices of the non-zero items, as 4&$. returns for J's sparse arrays. Anyone else wondering can refer to https://en.m.wikipedia.org/wiki/Sparse_matrix where the CRS storage is explained a little more.
Jan-Pieter On Thu, Jan 27, 2022, 01:29 Hauke Rehr <hauke.r...@uni-jena.de> wrote: > should have read > the first entry in row x … > where x is the index of the number in list rows, > and n is that number > > Am 27.01.22 um 01:25 schrieb Hauke Rehr: > > rows says: the first entry in col x is the n-th entry in values > > -- > ---------------------- > mail written using NEO > neo-layout.org > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm