Finds the magnitude of the complex number. @return The magnitude.
()
| 135 | * @return The magnitude. |
| 136 | */ |
| 137 | public double abs() { |
| 138 | return Math.hypot(this.real, this.img); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Divides this complex number by another. |
no outgoing calls