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◆ LauComplex() [1/2]
Constructor.
Definition at line 90 of file LauComplex.hh. ◆ LauComplex() [2/2]
Copy constructor.
Definition at line 103 of file LauComplex.hh. Member Function Documentation◆ abs()
Obtain the absolute value of the complex number.
Definition at line 254 of file LauComplex.hh. ◆ abs2()
Obtain the square of the absolute value of the complex number.
Definition at line 260 of file LauComplex.hh. ◆ arg()
Obtain the phase angle of the complex number.
Definition at line 266 of file LauComplex.hh. ◆ conj()
Obtain the complex conjugate.
Definition at line 282 of file LauComplex.hh. ◆ exp()
Obtain the exponential of the complex number.
Definition at line 272 of file LauComplex.hh. ◆ im()
Get the imaginary part.
Definition at line 248 of file LauComplex.hh. ◆ operator*()
Multiplication operator.
Definition at line 158 of file LauComplex.hh. ◆ operator*=()
Multiplication assignment operator.
Definition at line 206 of file LauComplex.hh. ◆ operator+()
Addition operator.
Definition at line 134 of file LauComplex.hh. ◆ operator+=()
Addition assignment operator.
Definition at line 182 of file LauComplex.hh. ◆ operator-() [1/2]
Unary minus operator.
Definition at line 127 of file LauComplex.hh. ◆ operator-() [2/2]
Subtraction operator.
Definition at line 146 of file LauComplex.hh. ◆ operator-=()
Subtraction assignment operator.
Definition at line 194 of file LauComplex.hh. ◆ operator/()
Division operator.
Definition at line 170 of file LauComplex.hh. ◆ operator/=()
Division assignment operator.
Definition at line 219 of file LauComplex.hh. ◆ operator=()
Copy assignment operator.
Definition at line 114 of file LauComplex.hh. ◆ operator==()
Boolean comparison operator.
Definition at line 233 of file LauComplex.hh. ◆ re()
Get the real part.
Definition at line 242 of file LauComplex.hh. ◆ rescale()
Scale this by a factor.
Definition at line 301 of file LauComplex.hh. ◆ scale()
Obtain the complex number scaled by some factor.
Definition at line 292 of file LauComplex.hh. ◆ setImagPart()
Set the imaginary part.
Definition at line 317 of file LauComplex.hh. ◆ setRealImagPart()
Set both real and imaginary part.
Definition at line 324 of file LauComplex.hh. ◆ setRealPart()
Set the real part.
Definition at line 311 of file LauComplex.hh. The documentation for this class was generated from the following files:
Generated by ![]() |