![]() Registered Member ![]()
|
Hello,
I have begun using arrays of complex numbers in Eigen (i.e. ArrayXcd). I see .real(), .imag() and .abs() methods, but I can't see a corresponding .arg() method to get the element-wise complex argument/phase/angle. I have fallen back to using (on a complex array called data):
Thanks in advance. |
![]() Moderator ![]()
|
Right, we should add both atan2 and arg shortcuts.
|
![]() Registered Member ![]()
|
I updated bug 80 on bugzilla with these functions; see http://eigen.tuxfamily.org/bz/show_bug.cgi?id=80
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]