Complex< Type >(3)

NAME
Complex< Type >

SYNOPSIS

#include <Complex.h>

  Public Member Functions
Complex ()
Complex (const Complex &c)
Complex (const Type r)
Complex (const Type r, const Type i)
Complex operator= (const double &d)
Complex operator= (const Complex &c)
Complex operator- ()
Complex operator+= (const Complex &c)
Complex operator+ (const Complex &c)
Complex operator-= (const Complex &c)
Complex operator- (const Complex &c)
Complex operator *= (const double d)
Complex operator *= (const Complex &c)
Complex operator * (const double d)
Complex operator * (const Complex &c)
Complex operator/= (const double d)
Complex operator/= (const Complex &c)
Complex operator/ (const double d)
Complex operator/ (const Complex &c)
Type & operator[] (const int i)
template<typename T2 > operator Complex< T2 > () const
bool is_finite ()
Type real ()
Type imag ()
double power ()
double amp ()
double phi ()
Complex conj ()
void set (const double a, const double p)
void real (const Type d)
void imag (const Type d)
void amp (const double d)
void phi (const double d)
void shift_phi (const double d)
Complex unpack_first (Complex c)
Complex unpack_second (Complex c)

Detailed Description

  template<typename Type>
class Complex< Type >"

Definition at line 23 of file Complex.h.

Constructor & Destructor Documentation

  template<typename Type> Complex< Type >::Complex () [inline]

Definition at line 26 of file Complex.h.

  template<typename Type> Complex< Type >::Complex (const Complex< Type > & c) [inline]

Definition at line 27 of file Complex.h.

  template<typename Type> Complex< Type >::Complex (const Type r) [inline]

Definition at line 28 of file Complex.h.

  template<typename Type> Complex< Type >::Complex (const Type r, const Type i) [inline]

Definition at line 29 of file Complex.h.

Member Function Documentation

  template<typename Type> double Complex< Type >::amp () [inline]

Definition at line 104 of file Complex.h.

  template<typename Type> void Complex< Type >::amp (const double d) [inline]

Definition at line 110 of file Complex.h.

  template<typename Type> Complex Complex< Type >::conj () [inline]

Definition at line 106 of file Complex.h.

  template<typename Type> Type Complex< Type >::imag () [inline]

Definition at line 102 of file Complex.h.

  template<typename Type> void Complex< Type >::imag (const Type d) [inline]

Definition at line 109 of file Complex.h.

  template<typename Type> bool Complex< Type >::is_finite () [inline]

Definition at line 100 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator * (const double d) [inline]

Definition at line 69 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator * (const Complex< Type > & c) [inline]

Definition at line 72 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator *= (const double d) [inline]

Definition at line 59 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator *= (const Complex< Type > & c) [inline]

Definition at line 64 of file Complex.h.

  template<typename Type> template<typename T2 > Complex< Type >::operator Complex< T2 > () const [inline]

Definition at line 97 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator+ (const Complex< Type > & c) [inline]

Definition at line 48 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator+= (const Complex< Type > & c) [inline]

Definition at line 43 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator- () [inline]

Definition at line 40 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator- (const Complex< Type > & c) [inline]

Definition at line 56 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator-= (const Complex< Type > & c) [inline]

Definition at line 51 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator/ (const double d) [inline]

Definition at line 87 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator/ (const Complex< Type > & c) [inline]

Definition at line 90 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator/= (const double d) [inline]

Definition at line 75 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator/= (const Complex< Type > & c) [inline]

Definition at line 80 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator= (const double & d) [inline]

Definition at line 30 of file Complex.h.

  template<typename Type> Complex Complex< Type >::operator= (const Complex< Type > & c) [inline]

Definition at line 35 of file Complex.h.

  template<typename Type> Type& Complex< Type >::operator[] (const int i) [inline]

Definition at line 96 of file Complex.h.

  template<typename Type> double Complex< Type >::phi () [inline]

Definition at line 105 of file Complex.h.

  template<typename Type> void Complex< Type >::phi (const double d) [inline]

Definition at line 111 of file Complex.h.

  template<typename Type> double Complex< Type >::power () [inline]

Definition at line 103 of file Complex.h.

  template<typename Type> Type Complex< Type >::real () [inline]

Definition at line 101 of file Complex.h.

  template<typename Type> void Complex< Type >::real (const Type d) [inline]

Definition at line 108 of file Complex.h.

  template<typename Type> void Complex< Type >::set (const double a, const double p) [inline]

Definition at line 107 of file Complex.h.

  template<typename Type> void Complex< Type >::shift_phi (const double d) [inline]

Definition at line 112 of file Complex.h.

  template<typename Type> Complex Complex< Type >::unpack_first (Complex< Type > c) [inline]

Definition at line 113 of file Complex.h.

  template<typename Type> Complex Complex< Type >::unpack_second (Complex< Type > c) [inline]

Definition at line 116 of file Complex.h.

Author

Generated automatically by Doxygen for Bsoft from the source code.