Пример #1
0
 /// <summary>
 /// Calculates the hyperbolic sine of each component of the specified vector.
 /// </summary>
 /// <param name="v">The specified vector.</param>
 /// <returns>The vector which contains the hyperbolic sines of the corresponding components in the specified vector.</returns>
 public static Vector2F Sinh(Vector2F v)
 {
     return(new Vector2F(MathEx.Sinh(v.X), MathEx.Sinh(v.Y)));
 }
Пример #2
0
 /// <summary>
 /// Calculates the hyperbolic sine of each component of the specified vector.
 /// </summary>
 /// <param name="v">The specified vector.</param>
 /// <returns>The vector which contains the hyperbolic sines of the corresponding components in the specified vector.</returns>
 public static Vector4F Sinh(Vector4F v)
 {
     return(new Vector4F(MathEx.Sinh(v.X), MathEx.Sinh(v.Y), MathEx.Sinh(v.Z), MathEx.Sinh(v.W)));
 }