[SciPy-User] overflow

Sturla Molden sturla@molden...
Sat Jul 10 17:09:29 CDT 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.


More information about the SciPy-User mailing list