Exemple #1
0
 /// <summary>
 /// Calculates the base 10 logarithm of each component of the specified vector.
 /// </summary>
 /// <param name="v">The specified vector.</param>
 /// <returns>The vector which contains the base 10 logarithms of the corresponding components in the specified vector.</returns>
 public static Vector2F Log10(Vector2F v)
 {
     return(new Vector2F(MathEx.Log10(v.X), MathEx.Log10(v.Y)));
 }
Exemple #2
0
 /// <summary>
 /// Calculates the base 10 logarithm of each component of the specified vector.
 /// </summary>
 /// <param name="v">The specified vector.</param>
 /// <returns>The vector which contains the base 10 logarithms of the corresponding components in the specified vector.</returns>
 public static Vector4F Log10(Vector4F v)
 {
     return(new Vector4F(MathEx.Log10(v.X), MathEx.Log10(v.Y), MathEx.Log10(v.Z), MathEx.Log10(v.W)));
 }