Exemplo n.º 1
0
        /// <summary>Implementation of <see	cref="object.GetHashCode"/>.</summary>
        public override int GetHashCode()
        {
            int h = 1588331146;

            h = HashHelper.Mixer(h + Coefficients.GetHashCode());
            return(HashHelper.Finisher(h));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Get hash code.
        /// </summary>
        /// <returns></returns>
        public override int GetHashCode()
        {
            int h = 1466494808;

            h = HashHelper.Mixer(h + P.GetHashCode());
            h = HashHelper.Mixer(h + Q.GetHashCode());
            return(HashHelper.Finisher(h));
        }
Exemplo n.º 3
0
        /// <summary>Implementation of <see	cref="object.GetHashCode"/>.</summary>
        public override int GetHashCode()
        {
            int h = -829975572;

            h = HashHelper.Mixer(h + Value.GetHashCode());
            h = HashHelper.Mixer(h + Exponent.GetHashCode());
            return(HashHelper.Finisher(h));
        }
Exemplo n.º 4
0
 /// <summary>
 /// Implementation of <see cref="object.GetHashCode"/>.
 /// </summary>
 public override int GetHashCode()
 {
     return(HashHelper.Finisher(HashHelper.Mixer(-721784075, exponents)));
 }