Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Ratio.GetHashCode();
         hashCode = (hashCode * 397) ^ StdDev.GetHashCode();
         hashCode = (hashCode * 397) ^ DotProduct.GetHashCode();
         return(hashCode);
     }
 }
Example #2
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(Min.GetHashCode() ^
            Q1.GetHashCode() ^
            Median.GetHashCode() ^
            Mean.GetHashCode() ^
            Q3.GetHashCode() ^
            Max.GetHashCode() ^
            StdDev.GetHashCode() ^
            N.GetHashCode());
 }