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
Constructor.
Definition at line 55 of file LauComplex.hh.
Destructor. Definition at line 58 of file LauComplex.hh.
Copy constructor.
Definition at line 64 of file LauComplex.hh. Member Function Documentation
Obtain the absolute value of the complex number.
Definition at line 220 of file LauComplex.hh.
Obtain the square of the absolute value of the complex number.
Definition at line 229 of file LauComplex.hh.
Obtain the phase angle of the complex number.
Definition at line 238 of file LauComplex.hh.
Obtain the complex conjugate.
Definition at line 257 of file LauComplex.hh.
Obtain the exponential of the complex number.
Definition at line 247 of file LauComplex.hh.
Get the imaginary part.
Definition at line 211 of file LauComplex.hh.
Transform this to its complex conjugate. Definition at line 263 of file LauComplex.hh.
Multiplication operator.
Definition at line 118 of file LauComplex.hh.
Multiplication assignment operator.
Definition at line 166 of file LauComplex.hh.
Addition operator.
Definition at line 94 of file LauComplex.hh.
Addition assignment operator.
Definition at line 142 of file LauComplex.hh.
Unary minus operator.
Definition at line 84 of file LauComplex.hh.
Subtraction operator.
Definition at line 106 of file LauComplex.hh.
Subtraction assignment operator.
Definition at line 154 of file LauComplex.hh.
Division operator.
Definition at line 130 of file LauComplex.hh.
Division assignment operator.
Definition at line 179 of file LauComplex.hh.
Copy assignment operator.
Definition at line 71 of file LauComplex.hh.
Boolean comparison operator.
Definition at line 193 of file LauComplex.hh.
Print the complex number. Definition at line 38 of file LauComplex.cc.
Get the real part.
Definition at line 202 of file LauComplex.hh.
Scale this by a factor.
Definition at line 282 of file LauComplex.hh.
Obtain the complex number scaled by some factor.
Definition at line 273 of file LauComplex.hh.
Set the imaginary part.
Definition at line 301 of file LauComplex.hh.
Set both real and imaginary part.
Definition at line 311 of file LauComplex.hh.
Set the real part.
Definition at line 292 of file LauComplex.hh.
Set both real and imaginary part to zero. Definition at line 318 of file LauComplex.hh. Member Data Documentation
The imaginary part. Definition at line 330 of file LauComplex.hh.
The real part. Definition at line 328 of file LauComplex.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |