Пример #1
0
 public double GetDistance(Vector4d point) =>
 (this - point).Norm;
Пример #2
0
 public static double DotProduct(Vector4d v0, Vector4d v1) =>
 v0.X * v1.X + v0.Y * v1.Y + v0.Z * v1.Z + v0.W * v1.W;