[SciPy-User] overflow
Sturla Molden
sturla at molden.no
Sat Jul 10 18:09:29 EDT 2010
Sebastian Haase skrev:
>
> This does not sound like an easy solution ...
> First: How to sub-class a basic thing like this .... this looks like
> it's happening on the C level ... !?
>
See chapter 15.3 in Travis' NumPy book.
I think the new dtype must register the C function to the for loop of
ufunc np.multiply, though I haven't checked thoroughly.
Subclassing with Cython is likely to be easier.
Sturla
More information about the SciPy-User
mailing list