MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / exp

Method exp

src/org/opensourcephysics/numerics/Complex.java:462–465  ·  view source on GitHub ↗

Returns e to the power of the complex number

()

Source from the content-addressed store, hash-verified

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.

Callers 15

flipMethod · 0.80
getScratchParamsMethod · 0.80
setLevelOrigMethod · 0.80
setLevelMethod · 0.80
builtInFunctionMethod · 0.80
get256ColorImageMethod · 0.80
ByteImageMethod · 0.80
builtInFunctionMethod · 0.80
evaluateMethod · 0.80
powerMethod · 0.80
powMethod · 0.80
sinMethod · 0.80

Calls 2

cosMethod · 0.45
sinMethod · 0.45

Tested by 2

gaussianMethod · 0.64
saddleMethod · 0.64