Пример #1
0
        public override int GetHashCode()
        {
            var hashCode = 1081252967;

            hashCode = hashCode * -1521134295 + Mean.GetHashCode();
            hashCode = hashCode * -1521134295 + StandardDeviation.GetHashCode();
            return(hashCode);
        }
Пример #2
0
 /// <summary>
 /// Serves as a hash of this type.
 /// </summary>
 /// <returns>A hash code for the current instance.</returns>
 public override int GetHashCode()
 {
     return
         (Depth.GetHashCode() ^
          Entropy.GetHashCode() ^
          Kurtosis.GetHashCode() ^
          Maximum.GetHashCode() ^
          Mean.GetHashCode() ^
          Minimum.GetHashCode() ^
          Skewness.GetHashCode() ^
          StandardDeviation.GetHashCode() ^
          Sum.GetHashCode() ^
          SumCubed.GetHashCode() ^
          SumFourthPower.GetHashCode() ^
          SumSquared.GetHashCode() ^
          Variance.GetHashCode());
 }