PPL Logo

ckcomplex Struct Reference

#include <ckcomplex.h>

Collaboration diagram for ckcomplex:

Collaboration graph
[legend]

Public Member Functions

 ckcomplex (RealType _re=0., RealType _im=0.)
 ~ckcomplex ()
RealType getMagSqr (void) const
ckcomplex operator+ (ckcomplex a)
ckcomplex conj (void)
void operator+= (ckcomplex a)
ckcomplex operator* (RealType a)
bool notzero () const
void operator*= (ckcomplex a)
ckcomplex operator* (ckcomplex a)
void operator-= (ckcomplex a)
ckcomplex multiplyByi ()
void * operator new[] (size_t size)
void operator delete[] (void *buf)

Data Fields

RealType re
RealType im

Friends

ckcomplex operator- (ckcomplex lhs, ckcomplex rhs)
ckcomplex operator* (RealType lhs, ckcomplex rhs)
ckcomplex operator/ (ckcomplex lhs, RealType rhs)
std::ostream & operator<< (std::ostream &out, const ckcomplex &aNum)

Detailed Description

Definition at line 16 of file ckcomplex.h.


Constructor & Destructor Documentation

ckcomplex::ckcomplex ( RealType  _re = 0.,
RealType  _im = 0. 
) [inline]

Definition at line 21 of file ckcomplex.h.

Referenced by conj(), multiplyByi(), operator*(), and operator+().

Here is the caller graph for this function:

ckcomplex::~ckcomplex (  )  [inline]

Definition at line 25 of file ckcomplex.h.


Member Function Documentation

RealType ckcomplex::getMagSqr ( void   )  const [inline]

Definition at line 27 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::operator+ ( ckcomplex  a  )  [inline]

Definition at line 31 of file ckcomplex.h.

References ckcomplex(), im, and re.

Here is the call graph for this function:

ckcomplex ckcomplex::conj ( void   )  [inline]

Definition at line 40 of file ckcomplex.h.

References ckcomplex(), im, and re.

Here is the call graph for this function:

void ckcomplex::operator+= ( ckcomplex  a  )  [inline]

Definition at line 44 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::operator* ( RealType  a  )  [inline]

Definition at line 57 of file ckcomplex.h.

References ckcomplex(), im, and re.

Here is the call graph for this function:

bool ckcomplex::notzero (  )  const [inline]

Definition at line 61 of file ckcomplex.h.

References im, and re.

void ckcomplex::operator*= ( ckcomplex  a  )  [inline]

Definition at line 63 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::operator* ( ckcomplex  a  )  [inline]

Definition at line 71 of file ckcomplex.h.

References ckcomplex(), im, and re.

Here is the call graph for this function:

void ckcomplex::operator-= ( ckcomplex  a  )  [inline]

Definition at line 76 of file ckcomplex.h.

References im, and re.

ckcomplex ckcomplex::multiplyByi (  )  [inline]

Definition at line 81 of file ckcomplex.h.

References ckcomplex(), im, and re.

Here is the call graph for this function:

void* ckcomplex::operator new[] ( size_t  size  )  [inline]

Definition at line 85 of file ckcomplex.h.

References buf, and malloc().

Here is the call graph for this function:

void ckcomplex::operator delete[] ( void *  buf  )  [inline]

Definition at line 90 of file ckcomplex.h.

References free().

Here is the call graph for this function:


Friends And Related Function Documentation

ckcomplex operator- ( ckcomplex  lhs,
ckcomplex  rhs 
) [friend]

Definition at line 36 of file ckcomplex.h.

ckcomplex operator* ( RealType  lhs,
ckcomplex  rhs 
) [friend]

Definition at line 49 of file ckcomplex.h.

ckcomplex operator/ ( ckcomplex  lhs,
RealType  rhs 
) [friend]

Definition at line 53 of file ckcomplex.h.

std::ostream& operator<< ( std::ostream &  out,
const ckcomplex aNum 
) [friend]

Definition at line 94 of file ckcomplex.h.


Field Documentation


The documentation for this struct was generated from the following file:

Generated on Mon Sep 21 08:19:42 2020 for Charm++ by  doxygen 1.5.5