serge-sans-paille / pythran

Ahead of Time compiler for numeric kernels
https://pythran.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.98k stars 191 forks source link

Allow taking the real/imag part of a numpy_iexpr #2182

Closed serge-sans-paille closed 4 months ago

serge-sans-paille commented 4 months ago

But this creates a copy, I'm not very happy with this solution. Ideally we could avoid it.

Fix #2173