* Get the negation of the complex number * @returns The negation of the complex number: -a + (-bi)
()
| 120 | * @returns The negation of the complex number: -a + (-bi) |
| 121 | */ |
| 122 | public neg(): complex |
| 123 | { |
| 124 | return new complex (-this.real, -this.img); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * Get the arguement of the complex number, the angle in radians with the x-axis in polar |
nothing calls this directly
no outgoing calls
no test coverage detected