Re: about Equals and GetHashCode



On Jun 12, 6:51 pm, "Peter Duniho" <NpOeStPe...@xxxxxxxxxxxxxxxx>
wrote:
You could still multiply the 0 by 37 in the first field incorporated,  
preserving the symmetry aspect.  I just don't see the point in starting  
with 17 versus 0.  It has the sense of "magic" about it, but unlike the  
multiplication by 37, I don't see any practical advantage.  A less  
"magical" initializer of 0 would be just as good.

I think.  :)

Pete

It does seem like magic doesn't it? But, then again mathematics is
full intriguing quirks so it wouldn't surprise me if there was a valid
reason.

It reminds of me of the section in Knuth Vol 2 where he talks about
random number generators and warns that using one random number
generator to seed another generator may actually make the end result
*less* random! I know...completely off topic. My mind works in
mysterious ways :)

.



Relevant Pages

  • Re: Noether charge & generators of symmetry
    ... charge of an infinitesimal symmetry is the generator of the symmetry? ... and we want to induce this action on phase space. ... Poisson bracket we have actions of our Lie algebra on phase space ...
    (sci.physics.research)
  • Re: issues with statistical test suite from http://csrc.nist.gov/rng/
    ... > Skewness is a measure of symmetry, or more precisely, the lack of ... > A generator is bad when it fails a test that has a good mathematical ... Could you list some test that has a good mathematical foundation? ...
    (sci.crypt)

Quantcast