10 Dec
2009
10 Dec
'09
1:51 a.m.
Pauli Virtanen-3 wrote:
I'd think that downcasting is different from dropping the imaginary part.
There are many ways (in fact, an unlimited number) to downcast from complex to real. Here are three possibilities: - Take the real part. - Take the magnitude (root-mean-square of the real and imaginary parts). - Assign a NaN. -- View this message in context: http://old.nabble.com/Assigning-complex-values-to-a-real-array-tp22383353p26... Sent from the Numpy-discussion mailing list archive at Nabble.com.