LauComplex Class Reference Class for defining a complex number. More...
Detailed DescriptionClass for defining a complex number. Class for complex number manipulation. In the function descriptions, the form (a,b) is used to represent a complex number. This is equivalent to the mathematical expression a + ib. Definition at line 47 of file LauComplex.hh. Constructor & Destructor Documentation
Default Constructor. Definition at line 51 of file LauComplex.hh.
Constructor.
Definition at line 58 of file LauComplex.hh.
Destructor. Definition at line 61 of file LauComplex.hh.
Copy constructor.
Definition at line 67 of file LauComplex.hh. Member Function Documentation
Obtain the absolute value of the complex number.
Definition at line 223 of file LauComplex.hh.
Obtain the square of the absolute value of the complex number.
Definition at line 232 of file LauComplex.hh.
Obtain the phase angle of the complex number.
Definition at line 241 of file LauComplex.hh.
Obtain the complex conjugate.
Definition at line 260 of file LauComplex.hh.
Obtain the exponential of the complex number.
Definition at line 250 of file LauComplex.hh.
Get the imaginary part.
Definition at line 214 of file LauComplex.hh.
Transform this to its complex conjugate. Definition at line 266 of file LauComplex.hh.
Multiplication operator.
Definition at line 121 of file LauComplex.hh.
Multiplication assignment operator.
Definition at line 169 of file LauComplex.hh.
Addition operator.
Definition at line 97 of file LauComplex.hh.
Addition assignment operator.
Definition at line 145 of file LauComplex.hh.
Unary minus operator.
Definition at line 87 of file LauComplex.hh.
Subtraction operator.
Definition at line 109 of file LauComplex.hh.
Subtraction assignment operator.
Definition at line 157 of file LauComplex.hh.
Division operator.
Definition at line 133 of file LauComplex.hh.
Division assignment operator.
Definition at line 182 of file LauComplex.hh.
Copy assignment operator.
Definition at line 74 of file LauComplex.hh.
Boolean comparison operator.
Definition at line 196 of file LauComplex.hh.
Print the complex number. Definition at line 38 of file LauComplex.cc.
Get the real part.
Definition at line 205 of file LauComplex.hh.
Scale this by a factor.
Definition at line 285 of file LauComplex.hh.
Obtain the complex number scaled by some factor.
Definition at line 276 of file LauComplex.hh.
Set the imaginary part.
Definition at line 304 of file LauComplex.hh.
Set both real and imaginary part.
Definition at line 314 of file LauComplex.hh.
Set the real part.
Definition at line 295 of file LauComplex.hh.
Set both real and imaginary part to zero. Definition at line 321 of file LauComplex.hh. Member Data Documentation
The imaginary part. Definition at line 333 of file LauComplex.hh.
The real part. Definition at line 331 of file LauComplex.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |