casacore
Functions
std Namespace Reference

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)
 

Detailed Description

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.

Function Documentation

◆ conj() [1/2]

float std::conj ( float  x)
inline

Definition at line 362 of file Complex.h.

◆ conj() [2/2]

double std::conj ( double  x)
inline

Definition at line 363 of file Complex.h.

◆ imag() [1/2]

float std::imag ( float  )
inline

Definition at line 367 of file Complex.h.

◆ imag() [2/2]

double std::imag ( double  )
inline

Definition at line 368 of file Complex.h.

◆ real() [1/2]

float std::real ( float  x)
inline

Definition at line 365 of file Complex.h.

Referenced by casacore::LatticeHistograms< T >::convertT().

◆ real() [2/2]

double std::real ( double  x)
inline

Definition at line 366 of file Complex.h.