You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -108,4 +108,29 @@ public bool Equals(VecN other)
108
108
109
109
returntrue;
110
110
}
111
+
112
+
/// <summary>
113
+
/// Determines whether the specified object is equal to the current instance.
114
+
/// </summary>
115
+
/// <param name="obj">The object to compare with the current instance. Can be <see langword="null"/>.</param>
116
+
/// <returns><see langword="true"/> if the specified object is a <c>VecN</c> and is equal to the current instance; otherwise <see langword="false"/>.</returns>
117
+
publicoverrideboolEquals(object?obj)
118
+
{
119
+
returnobjisVecNother&&Equals(other);
120
+
}
121
+
122
+
/// <summary>
123
+
/// Computes a hash code for the current object based on the values in the <c>data</c> collection.
124
+
/// </summary>
125
+
/// <returns>An integer representing the hash code for the current object.</returns>
0 commit comments