![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re^2: Algorithm for cancelling common factors between two lists of multiplicandsby BrowserUk (Patriarch) |
on Aug 10, 2005 at 10:13 UTC ( #482554=note: print w/replies, xml ) | Need Help?? |
I'm am completely aware that all the other terms need to be calculated in order to determine whether the value is significant. I even mentioned this in 482056. And, I guess I could be misusing your code, but when I feed it these values 5 0 4 1, it produces the same output exactly as my "misguided" code. Funnily enough, for those values, it produces the same output as tmoertel's (apparently equally misguided) code. Is it only when given the larger set of test values 989 9400 43300 2400 that your special code does something extraordinarily clever that I'm to stupid to understand?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
In Section
Seekers of Perl Wisdom
|
|