예제 #1
0
 public static ComplexNumber Sine(ComplexNumber z)
 {
     return(new ComplexNumber((float)(Math.Sin(z.a) * Math.Cosh(z.b)), (float)(Math.Cos(z.a) * Math.Sinh(z.b))));
 }
예제 #2
0
 public static ComplexNumber Tangent(ComplexNumber z)
 {
     return(Sine(z) / Cosine(z));
 }