public static Complex Cosh(Complex value) /* Hyperbolic cos */ { float a = value.m_real; float b = value.m_imaginary; return(new Complex(HyperbolicMath.Cosh(a) * Mathf.Cos(b), HyperbolicMath.Sinh(a) * Mathf.Sin(b))); }
public static Complex Cos(Complex value) { float a = value.m_real; float b = value.m_imaginary; return(new Complex(Mathf.Cos(a) * HyperbolicMath.Cosh(b), -(Mathf.Sin(a) * HyperbolicMath.Sinh(b)))); }