Subtraction between Boolean sparse matrices

[email protected] Wed, 22 Sep 2021 12:27:30 -0000
Newsgroups gmane.comp.python.scientific.user
Message-ID <[email protected]>
What operation is performed when I subtract B from A, where both A and B are sparse matrices of Boolean elements?

This operation is barred in numpy with regular arrays, but allowed in scipy.sparse. I believe it is XOR, but I could not follow the code to confirm this hypothesis.
_______________________________________________
SciPy-User mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-user.python.org/
Member address: [email protected]