public bool Equals(VectorInt other) { if (_hashCode != other.GetHashCode() || Length != other.Length) { return(false); } for (int i = 0; i < other.Length; ++i) { // ReSharper disable once CompareOfFloatsByEqualityOperator if (_values[i] != other._values[i]) { return(false); } } return(true); }
public override int GetHashCode() { return(_innerVector.GetHashCode()); }