[SciPy-Dev] Minimal sparse array interface

Stefan van der Walt stefanv at berkeley.edu
Fri Jun 4 15:50:30 EDT 2021


HI CJ,

On Thu, Jun 3, 2021, at 21:39, CJ Carey wrote:
> I wrote a lightweight sparse ndarray library a few years ago: https://github.com/perimosocordiae/sparray
> 
> 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.

I presume sparray does not work with the linear algebra facilities in SciPy?

> 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.

I'll definitely look at the indexing logic in particular, thanks!

Stéfan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scipy-dev/attachments/20210604/a39b9689/attachment.html>


More information about the SciPy-Dev mailing list