* Construct a new complex number from two real numbers * @param real - The real component * @param imaginary - The imaginary component * @returns Complex number constructed from given parameters
(real: number, imaginary: number)
| 12 | * @returns Complex number constructed from given parameters |
| 13 | */ |
| 14 | constructor(real: number, imaginary: number) |
| 15 | { |
| 16 | this._real = real; |
| 17 | this._img = imaginary; |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * Get the real component of the complex number |
nothing calls this directly
no outgoing calls
no test coverage detected