I would like to find the least common multiple of a set of integers. Does a numerical Java library that does this exist? Please provide a link to it.
Asked
Active
Viewed 1,566 times
0
-
None that I could find, but it's really easy to code this for yourself: http://stackoverflow.com/questions/4201860/how-to-find-gcf-lcm-on-a-set-of-numbers – Thomas May 06 '12 at 07:27
-
4I must be getting old, but I long for the 'good old days' in which programmers would try to crack a problem themselves before reaching for a 'plug-n-play' API. – Andrew Thompson May 06 '12 at 07:28
-
check this out http://stackoverflow.com/a/4202114/579580 – aviad May 06 '12 at 07:29
-
@Andrew Thompson, children of nowadays have no minerals :) – aviad May 06 '12 at 07:30
-
@AndrewThompson ... in the good old days people would happily find and copy other peoples work. – Peter Lawrey May 06 '12 at 07:41
-
2Cracking a problem yourself is considered bad practice these days :) NIH, reinventing the wheel... – Marko Topolnik May 06 '12 at 08:04