Commit Graph

253 Commits (57ffb231dc1343b908d13e44857a322454ea2bf8)

Author SHA1 Message Date
Doug Coleman 93104742f8 more docs for math.primes, move words out of miller-rabin 2009-05-10 23:21:47 +02:00
Doug Coleman 259fd34d49 add next-odd etc to math.bitwise 2009-05-10 23:21:46 +02:00
Doug Coleman aae9b78219 add lucas-lehmer primality test 2009-05-10 23:21:46 +02:00
Doug Coleman f30cdb1ea3 update usages of miller-rabin 2009-05-10 23:21:46 +02:00
Doug Coleman 9ab5ffa636 move math.miller-rabin to math.primes.miller-rabin 2009-05-10 23:21:46 +02:00
Joe Groff e301d29f90 cut perlin-noise time in half 2009-05-10 23:21:45 +02:00
Doug Coleman 97da4e994b 64-bit add/subtract/multiply 2009-05-10 23:21:45 +02:00
Slava Pestov cda3685c4d Eliminate prettyprinter dependency from UI 2009-05-09 20:24:17 -05:00
Joe Groff dd9af334a9 send bilerp upstream to spawn 2009-05-09 11:43:04 -05:00
Slava Pestov ea85f298d1 math.combinatorics: fix unit test and help lint 2009-05-08 18:00:53 -05:00
Slava Pestov 5cbaa1d4fd Merge branch 'master' of git://factorcode.org/git/factor 2009-05-08 16:27:36 -05:00
Joe Groff cc05a90900 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-08 13:13:00 -07:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Aaron Schaefer d5a028c507 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/math/miller-rabin/miller-rabin.factor
2009-05-07 22:20:53 -04:00
Slava Pestov 5099046f9f math.miller-rabin: make some utilities not private since math.primes uses them 2009-05-07 20:52:16 -05:00
Aaron Schaefer f465a013d7 Speed up best-hands a bit using reduce and add a test 2009-05-07 21:23:58 -04:00
Aaron Schaefer 7f6998a815 Make next-odd public again as it's used elsewhere 2009-05-07 18:33:55 -04:00
Aaron Schaefer f0ceb33906 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-07 16:44:15 -04:00
Doug Coleman 605068df93 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-07 13:09:45 -05:00
Slava Pestov d7b40d72a0 Code cleanups 2009-05-07 12:33:31 -05:00
Aaron Schaefer 83e7516666 Use iota where necessary in tests 2009-05-06 21:31:37 -04:00
Aaron Schaefer b84a3158fa Add docs for combination words 2009-05-06 21:27:04 -04:00
Aaron Schaefer 78037d8d05 Use binary-search instead of find-last for combinations 2009-05-06 20:46:41 -04:00
Aaron Schaefer 678f603aa5 Clean up combinations a bit 2009-05-06 20:18:21 -04:00
Aaron Schaefer c9b97f3f92 Add tests for combinations 2009-05-06 19:33:58 -04:00
Doug Coleman 6a19cae302 Document miller-rabin, more unit tests for some corner cases 2009-05-06 16:26:06 -05:00
Doug Coleman 8b4815c01e fix miller-rabin 2009-05-06 14:10:29 -05:00
Joe Groff 4cb6ecbc3c Merge branch 'master' of git://factorcode.org/git/factor 2009-05-06 13:23:05 -05:00
Joe Groff fdab677ef5 add 2pi constant 2009-05-06 12:38:14 -05:00
Joe Groff 2bb7b287f7 make ^n foldable 2009-05-06 12:36:34 -05:00
Doug Coleman 75a71c0bd9 fix miller-rabin, safe primes 2009-05-06 12:21:30 -05:00
Doug Coleman 5a4270f777 fix miller-rabin, it's correct but a little ugly still. bed time 2009-05-06 00:54:14 -05:00
Aaron Schaefer eaeda30bb1 Combinations now map to input sequences directly 2009-05-06 01:17:35 -04:00
Doug Coleman d168f76ab0 remove 1-, 1+, use iota somewhere 2009-05-05 23:32:23 -05:00
Doug Coleman ffbd19faba Merge branch 'master' of git://factorcode.org/git/factor 2009-05-05 23:26:58 -05:00
Doug Coleman 3e16463f28 _finally_ cleaned up miller-rabin. it's passable now 2009-05-05 23:25:26 -05:00
Joe Groff 4b64d9a5e5 more vector operations; perlin noise vocab 2009-05-05 22:17:04 -05:00
Aaron Schaefer 71022f9940 Add combination support to math.combinatorics 2009-05-05 22:43:07 -04:00
Joe Groff ec1918aaa8 Merge branch 'master' of /cygdrive/z/Documents/Code/others/factor 2009-05-05 18:40:08 -07:00
Slava Pestov 4ee5815843 math.polynomials: use <repetition> instead of <array> 2009-05-05 18:34:52 -05:00
Joe Groff 2a00f10d1a lerp functions 2009-05-05 13:55:00 -05:00
Joe Groff 49674dc8ad Merge branch 'master' of git://factorcode.org/git/factor 2009-04-30 21:36:54 -05:00
Slava Pestov fc4894fbdf Replace ratio and complex built-in types with tuples defined in the library. This frees up two lo-tags, so move array and quotation over to these tags and update compiler for new tags 2009-04-30 00:27:35 -05:00
Joe Groff c3b63821b9 literal syntax for rects 2009-04-29 14:58:55 -05:00
Samuel Tardieu 18abc8b9f1 Add q+ and q- to math.quaternions
This makes the quaternions library self-contained and more independent
of the underlying representation.
2009-04-27 17:24:39 +02:00
Slava Pestov 66b4d42e13 math.blas: use gfortran by default on linux-x86-64 since latest ubuntu blas packages are compiled with gfortran abi 2009-04-25 17:03:50 -05:00
Slava Pestov 77c56e55a3 Oops 2009-04-23 03:57:05 -05:00
Slava Pestov c2fe2a4fea Improve stack checker documentation 2009-04-23 03:48:32 -05:00
Slava Pestov 3353a777f7 Fixing some unit test failures 2009-04-22 07:05:00 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00