shunwang / numexpr

Automatically exported from code.google.com/p/numexpr
MIT License
0 stars 0 forks source link

Add conjugate() function #57

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a request for enhancement, to add the complex-conjugate to the list of 
supported functions (currently, one has to type 'complex(a.real, -a.imag)', 
which is fine, but less readable.

Original issue reported on code.google.com by pierre.c...@gmail.com on 6 Sep 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Well, hum... feel free to sumbit a patch :). By the way, I guess you mean 
"complex(real(a), -imag(a))".

Original comment by gdemen...@gmail.com on 6 Sep 2011 at 10:36

GoogleCodeExporter commented 9 years ago
Well, 'complex(a.real, -a.imag)' does work and takes the same amount of time. 
For a patch, don't hold your breath... I'm already quite busy with my 
packages... :(

Original comment by pierre.c...@gmail.com on 7 Sep 2011 at 7:32