Public Member Functions | List of all members
ComplexLess< T > Class Template Reference

Public Member Functions

bool operator() (const complex< T > &x, const complex< T > &y) const
 Comparison in terms of magnitude of complex number. More...
 
bool operator() (const complex< T > &x, const complex< T > &y) const
 Comparison. Are the values identical or not? More...
 

Detailed Description

template<class T>
class ComplexLess< T >

Function-type-object to perform comparison of complex data types Needed to sort the complex eigenvalues into order based on the size of the real part.

Definition at line 60 of file complex_harmonic.cc.

Member Function Documentation

template<class T >
bool ComplexLess< T >::operator() ( const complex< T > &  x,
const complex< T > &  y 
) const
inline

Comparison. Are the values identical or not?

Definition at line 55 of file harmonic.cc.

template<class T >
bool ComplexLess< T >::operator() ( const complex< T > &  x,
const complex< T > &  y 
) const
inline

Comparison in terms of magnitude of complex number.

Definition at line 65 of file complex_harmonic.cc.


The documentation for this class was generated from the following files: