Registered Member
|
Is there a way to do inplace conjugation? I understand I could make a complex<float> j(1.0f, -1.0f) and multiply my vector by it with *=, but that does unnecessary multiplications on the real part of the array.
|
Moderator
|
The following will work in-place:
A = A.conjugate(); |
Registered Member
|
Oh, I had assumed it wouldn't. Thanks! |
Moderator
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], rblackwell