Exemple #1
0
 /// <summary>
 /// Returns the distance |a-b| of two quaternions, forming a metric space.
 /// </summary>
 public static double Distance(Quaternion a, Quaternion b)
 {
     return(a.Subtract(b).Abs);
 }
Exemple #2
0
 Distance(
     Quaternion a,
     Quaternion b
     )
 {
     return a.Subtract(b).Abs;
 }
 /// <summary>
 /// Returns the distance |a-b| of two quaternions, forming a metric space.
 /// </summary>
 public static double Distance(Quaternion a, Quaternion b)
 {
     return a.Subtract(b).Abs;
 }
Exemple #4
0
 Distance(
     Quaternion a,
     Quaternion b)
 {
     return(a.Subtract(b).Abs);
 }