[SciPy-Dev] __bool__ for sparse matrices
Pauli Virtanen
pav at iki.fi
Wed Jun 19 13:44:24 EDT 2013
19.06.2013 20:18, Blake Griffith kirjoitti:
> Okay, I will do this for now. I was exploring using
> numpy.set_numeric_ops, as discussed in this SO question:
>
> http://stackoverflow.com/questions/14619449/how-can-i-override-comparisons-between-numpys-ndarray-and-my-type
Yea, it may be possible to hack around it, but I think this is best
tackled later together with the second half of your GSoc proposal, as
the solution will be the same for the comparison ops.
Pauli
More information about the SciPy-Dev
mailing list