public static double SqrMagnitude(Vector3D a) { return a.x * a.x + a.y * a.y + a.z * a.z; }
public static bool operator !=(Vector3D lhs, Vector3D rhs) { return((double)Vector3D.SqrMagnitude(lhs - rhs) >= 0.0 / 1.0); }