<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>HI CJ,<br></div><div><br></div><div>On Thu, Jun 3, 2021, at 21:39, CJ Carey wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>I wrote a lightweight sparse ndarray library a few years ago: <a href="https://github.com/perimosocordiae/sparray">https://github.com/perimosocordiae/sparray</a><br></div><div><br></div><div>It uses Cython for some hot loops, otherwise it's fairly simple. It uses a flattened COO-like format that's pretty efficient for common ndarray use cases. I was planning to add other backends, but then I finished my degree and got a Real Job.<br></div></div></blockquote><div><br></div><div>I presume sparray does not work with the linear algebra facilities in SciPy?</div><div><br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div>Both of these haven't seen development or use in a while, but if you're looking to put a sparse ndarray together they might be useful starting points.<br></div></div></blockquote><div><br></div><div>I'll definitely look at the indexing logic in particular, thanks!<br></div><div><br></div><div>Stéfan<br></div><div><br></div></body></html>