GF2 sparse arrays supported? #419
-
|
From what I can tell sparse arrays are not supported. Is that correct? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
SciPy isn't currently tested against. This morning I tried instantiating a For instance, I found these methods I would be happy to support them, but I haven't found the best integration with NumPy ufuncs / Numba. The principle mechanism that |
Beta Was this translation helpful? Give feedback.
SciPy isn't currently tested against. This morning I tried instantiating a
scipy.sparsematrix and getting the finite field ufuncs to trigger and could not.For instance, I found these methods
__add__(),_add_dense(), and_add_spare()inscipy.sparse.bsr_array. However, I wasn't able to get any to use the custom finite field ufuncs constructed byFieldArray-- addition is available asFieldArray._add.ufunc, for example.I would be happy to support them, but I haven't found the best integration with NumPy ufuncs / Numba. The principle mechanism that
galoisoverrides ofndarrayinFieldArrayis__array_ufunc__(), which handles the ufunc dispatching. I haven't found such a hook inscipy.sparse…