You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some O(N) operations become O(1) such as reshape, flatnonzero.
COO becomes a special case of the GCRS/GCCS scheme, which means we can drop CSD and go with GCRS/GCCS, but with the difference that any collection of axes (not just rows/columns) can be compressed.
CSR/CSC are represented exactly as in SciPy/other libraries (instead of having 2-D indices)
Cons:
Adds a small (my intuition says almost negligible) performance penalty in many operations.
Some O(1) operations become O(N) such as nonzero, the one-argument version of where.
I was thinking of replacing the full coordinates (
coords) with just a 1-D array of linearised indices.Pros:
reshape,flatnonzero.Cons:
nonzero, the one-argument version ofwhere.cc @mrocklin, @stefanv