Define real & complex conjugation for non-complex types and put comparisons into std namespace. More...
Functions | |
float | conj (float x) |
double | conj (double x) |
float | real (float x) |
double | real (double x) |
float | imag (float) |
double | imag (double) |
Define real & complex conjugation for non-complex types and put comparisons into std namespace.
The new C++11 standard library already defines real and imag.
float std::conj | ( | float | x | ) | [inline] |
Definition at line 345 of file Complex.h.
Referenced by casa::CFBuffer::nearestFreqNdx(), and casa::refim::CFBuffer::nearestFreqNdx().
float std::imag | ( | float | ) | [inline] |
Definition at line 350 of file Complex.h.
Referenced by asdm::Complex::equals(), asdm::Complex::getImg(), asdm::Complex::isZero(), and asdm::Complex::setReal().
float std::real | ( | float | x | ) | [inline] |
Definition at line 348 of file Complex.h.
Referenced by casa::applyScircInv(), casa::applySlinInv(), casacore::LatticeHistograms< T >::convertT(), asdm::Complex::equals(), asdm::Complex::getReal(), asdm::Complex::isZero(), and asdm::Complex::setImg().