Example #1
0
 private static double Sech(double val)
 {
     return(1.0 / Math.Cosh(val));
 }
Example #2
0
 private static int Math_Cosh(ILuaState lua)
 {
     lua.PushNumber(Math.Cosh(lua.L_CheckNumber(1)));
     return(1);
 }
Example #3
0
 public static double Cosh(object self, [DefaultProtocol] double x)
 {
     return(SM.Cosh(x));
 }
Example #4
0
 public static float Cosh(float value)
 {
     return((float)SMath.Cosh(value));
 }
Example #5
0
 public static double Cosh(object self, double x)
 {
     return(SM.Cosh(x));
 }
Example #6
0
 /// <summary>
 /// Returns the hyperbolic cosine of the specified angle.
 /// </summary>
 /// <param name="radians">The angle in radians.</param>
 /// <returns>System.Double.</returns>
 public static double CosH(double radians)
 {
     return(NMath.Cosh(radians));
 }