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 61 of file LauComplex.hh. Constructor & Destructor Documentation
Default Constructor. Definition at line 65 of file LauComplex.hh.
Constructor.
Definition at line 72 of file LauComplex.hh.
Destructor. Definition at line 75 of file LauComplex.hh.
Copy constructor.
Definition at line 81 of file LauComplex.hh. Member Function Documentation
Obtain the absolute value of the complex number.
Definition at line 237 of file LauComplex.hh.
Obtain the square of the absolute value of the complex number.
Definition at line 246 of file LauComplex.hh.
Obtain the phase angle of the complex number.
Definition at line 255 of file LauComplex.hh.
Obtain the complex conjugate.
Definition at line 274 of file LauComplex.hh.
Obtain the exponential of the complex number.
Definition at line 264 of file LauComplex.hh.
Get the imaginary part.
Definition at line 228 of file LauComplex.hh.
Transform this to its complex conjugate. Definition at line 280 of file LauComplex.hh.
Multiplication operator.
Definition at line 135 of file LauComplex.hh.
Multiplication assignment operator.
Definition at line 183 of file LauComplex.hh.
Addition operator.
Definition at line 111 of file LauComplex.hh.
Addition assignment operator.
Definition at line 159 of file LauComplex.hh.
Unary minus operator.
Definition at line 101 of file LauComplex.hh.
Subtraction operator.
Definition at line 123 of file LauComplex.hh.
Subtraction assignment operator.
Definition at line 171 of file LauComplex.hh.
Division operator.
Definition at line 147 of file LauComplex.hh.
Division assignment operator.
Definition at line 196 of file LauComplex.hh.
Copy assignment operator.
Definition at line 88 of file LauComplex.hh.
Boolean comparison operator.
Definition at line 210 of file LauComplex.hh.
Print the complex number. Definition at line 52 of file LauComplex.cc.
Get the real part.
Definition at line 219 of file LauComplex.hh.
Scale this by a factor.
Definition at line 299 of file LauComplex.hh.
Obtain the complex number scaled by some factor.
Definition at line 290 of file LauComplex.hh.
Set the imaginary part.
Definition at line 318 of file LauComplex.hh.
Set both real and imaginary part.
Definition at line 328 of file LauComplex.hh.
Set the real part.
Definition at line 309 of file LauComplex.hh.
Set both real and imaginary part to zero. Definition at line 335 of file LauComplex.hh. Member Data Documentation
The imaginary part. Definition at line 347 of file LauComplex.hh.
The real part. Definition at line 345 of file LauComplex.hh. The documentation for this class was generated from the following files:
Generated by 1.8.5 |