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

Travis E. Oliphant oliphant at enthought.com
Mon Feb 4 15:50:24 EST 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