Returns e to the power of the complex number
()
| 460 | * Returns e to the power of the complex number |
| 461 | */ |
| 462 | public Complex exp() { |
| 463 | double exp_x = StrictMath.exp(re); |
| 464 | return new Complex(exp_x*StrictMath.cos(im), exp_x*StrictMath.sin(im)); |
| 465 | } |
| 466 | |
| 467 | /** |
| 468 | * Returns the logarithm of this complex number. |