* Add two complex numbers * @param other - The 2nd complex number operand * @returns x + other
(other: complex)
| 41 | * @returns x + other |
| 42 | */ |
| 43 | public add(other: complex): complex |
| 44 | { |
| 45 | return new complex (this._real + other.real, this._img + other.img); |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Subtract two complex numbers |
no outgoing calls
no test coverage detected