![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re: Algorithm for cancelling common factors between two lists of multiplicandsby sgifford (Prior) |
on Aug 08, 2005 at 20:00 UTC ( #482003=note: print w/replies, xml ) | Need Help?? |
Hi BrowserUK,
I'm not understanding what you mean by cancelling out. Can you explain a bit more thoroughly? I see you've updated the original node, but it's still not clear to me. If an item in b is a factor of an item in a, should both be eliminated? Or if they have a factor in common? Or...? Also, will the arrays be sorted, as they are in your example?
In Section
Seekers of Perl Wisdom
|
|