Diana Software
Classes | Functions
QComplex.hh File Reference

Go to the source code of this file.

Classes

class  QComplex
 

Functions

Q_END_NAMESPACE Diana::QComplex operator* (double t, const Diana::QComplex &z)
 
Diana::QComplex operator/ (double t, const Diana::QComplex &z)
 
Diana::QComplex pow (const Diana::QComplex &z, double a)
 Raise a complex number to a real power. More...
 
Diana::QComplex pow (const Diana::QComplex &z, const Diana::QComplex &a)
 Raise a complex number to a complex power. More...
 
double Re (const Diana::QComplex &z)
 Function to get the real part. More...
 
double Im (const Diana::QComplex &z)
 Function to get the imag part. More...
 
std::ostream & operator<< (std::ostream &s, const Diana::QComplex &z)
 

Detailed Description


Definition in file QComplex.hh.

Function Documentation

◆ Im()

double Im ( const Diana::QComplex &  z)

Function to get the imag part.

Definition at line 262 of file QComplex.cc.

Referenced by QMatrixCArray::Initialize(), QRealComplexFFTW3::TransformFromFreq(), and QRealComplexFFTW3::TransformToFreq().

◆ operator*()

Q_END_NAMESPACE Diana::QComplex operator* ( double  t,
const Diana::QComplex &  z 
)

Definition at line 237 of file QComplex.cc.

◆ operator/()

Diana::QComplex operator/ ( double  t,
const Diana::QComplex &  z 
)

Definition at line 242 of file QComplex.cc.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const Diana::QComplex &  z 
)

Definition at line 264 of file QComplex.cc.

◆ pow() [1/2]

Diana::QComplex pow ( const Diana::QComplex &  z,
const Diana::QComplex &  a 
)

Raise a complex number to a complex power.

Definition at line 253 of file QComplex.cc.

References a.

◆ pow() [2/2]

Diana::QComplex pow ( const Diana::QComplex &  z,
double  a 
)

◆ Re()

double Re ( const Diana::QComplex &  z)