Commit Graph

11 Commits (b84a3158fa47b9507fd495a75e7cfa63fe72691d)

Author SHA1 Message Date
Doug Coleman 99122a8fb1 use while to implement randomize (thanks joe!), document it 2009-02-14 14:25:48 -06:00
Doug Coleman a0491606bc fix { } randomize, more unit tests 2009-02-14 14:04:54 -06:00
Doug Coleman 1418a67cc6 unit test how many elements to swap with randomize, remove a usage of pick 2009-02-14 13:28:41 -06:00
Doug Coleman 0286c524e8 randomize was broken -- elements could not exchange with themselves 2009-02-14 13:14:00 -06:00
Slava Pestov b0d57ead86 Fix unit test 2008-10-05 23:09:10 -05:00
Doug Coleman 7bf5a3a077 remove unit test 2008-10-05 16:41:42 -05:00
Doug Coleman 6b3b48a106 random is generic, better random docs, cleanups 2008-10-04 11:44:12 -05:00
Doug Coleman 24642501e7 fix random for real. is there redundant math here? 2008-09-09 17:07:32 -05:00
Doug Coleman 7764242f66 make the random word actually return a number in the full range of the input and replace division words with bitwise ones 2008-09-09 15:39:40 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Slava Pestov d66f887736 Create basis vocab root 2008-07-28 22:03:13 -05:00