Orders eigenvalues by non-descending real part, then by imaginary part. More...
#include <helper-implementation.h>
Orders eigenvalues by non-descending real part, then by imaginary part.
The magnitude of the imaginary part is compared before its sign so that distinct complex pairs sharing a real part stay together, and the two members of a pair come out in a fixed order.
Public Member Functions | |
| bool | operator() (const std::complex< real_type > &lhs, const std::complex< real_type > &rhs) const |
|
inline |