[Numpy-discussion] round, fix, ceil, and floor for complex args

Travis E. Oliphant oliphant@enthought....
Mon Feb 4 14:50:24 CST 2008


Stuart Brorson wrote:
>
> Anyway, since NumPy is committed to (Re, Im) as the base
> representation of complex numbers, then it is not unreasonable to
> implement round, fix, and so on, by operating independently on the Re
> and Im parts.
>
> Or am I wrong?
>   

Sounds reasonable to me...

-Travis O.




More information about the Numpy-discussion mailing list