Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Exp()

static Complex System.Numerics.Complex.Exp ( Complex value)
inlinestatic

Definition at line 558 of file Complex.cs.

559 {
560 double num = Math.Exp(value.m_real);
561 double real = num * Math.Cos(value.m_imaginary);
562 double imaginary = num * Math.Sin(value.m_imaginary);
563 return new Complex(real, imaginary);
564 }
Complex(double real, double imaginary)
Definition Complex.cs:38

References System.Numerics.Complex.Complex(), System.Math.Cos(), System.Math.Exp(), System.Math.Sin(), and System.value.