[SciPy-dev] modulo operation and new scipy core

Travis Oliphant oliphant at ee.byu.edu
Wed Oct 12 13:49:42 CDT 2005


Arnd Baecker wrote:

>>set_numeric_ops(remainder=mod)
>>
>>will give you the behavior you seek.
>>    
>>
>
>Wow - that's cool!
>
>
>Still I am in faviour of % behaving the same way for arrays
>and scalars as default.
>  
>
Done.  People who need the old behavior can set their numeric ops, as 
they wish.

-Travis




More information about the Scipy-dev mailing list