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))); }
// --------------SECTION: Trigonometric operations (methods implementing ITrigonometric) -------------- // public static Complex Sin(Complex value) { float a = value.m_real; float b = value.m_imaginary; return(new Complex(Mathf.Sin(a) * HyperbolicMath.Cosh(b), Mathf.Cos(a) * HyperbolicMath.Sinh(b))); }