Remove sparse matrix classes
Closed this issue · 3 comments
We want to remove all Sparse matrix classes
from functions in toqito
and refactor the function to use np.ndarray
instead.
Related to #521 (comment). This issue lists functions not listed in #468.
Below is an itemized list of the files that require these changes. If you are interested in working on one of these, comment with which item you want to work on. A maintainer will assign that item to you.
Can you assign the first two to me, please
I think this issue is not as complicated as I initially thought it would be. We could simply replace all uses of sparse.matrix
with sparse.array
.
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csr_array.html#scipy.sparse.csr_array
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.dia_array.html#scipy.sparse.dia_array
https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.lil_array.html#scipy.sparse.lil_array