Jan-Pieter,
ArrayFire uses a modified CSR from the wikipedia documentation. Instead of
just counts it has +/\ counts. It also has a leading 0 and a trailing value.

On Thu, Jan 27, 2022 at 3:50 AM Jan-Pieter Jacobs <
[email protected]> wrote:

> 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 <[email protected]> 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to