Commit Graph

275 Commits (2b3d62821e7179c9665e2ef12f4b36fbda44d39b)

Author SHA1 Message Date
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
Slava Pestov 9add08c200 Move math.matrices to basis 2009-04-18 04:09:16 -05:00
Doug Coleman 364ea217ef fix more compiler errors 2009-04-17 14:44:08 -05:00
sheeple a4e62dfdba Fix for math.parser syntax change 2009-04-13 14:47:39 -05:00
Slava Pestov 0ffd43e2e3 1.0/0.0 => 1/0. 2009-04-13 19:48:08 -05:00
Slava Pestov 41e3e0acb4 Fix alien.fortran for NetBSD x86.64 2009-04-07 18:49:54 -05:00
Slava Pestov 99b8400e56 Documentation updates 2009-04-06 03:00:46 -05:00
Doug Coleman 7e0f271cf3 fix typo in docs 2009-04-02 17:00:29 -05:00
Aaron Schaefer ed9a63311c Fix typo and update a combinator usage in calendar 2009-04-01 22:03:45 -04:00
Aaron Schaefer ca9fb1fcf1 Update usages of divisor? where appropriate 2009-04-01 21:53:18 -04:00
Aaron Schaefer c698a83a12 Add divisor? math function 2009-04-01 19:29:19 -04:00
Joe Groff 432ff9b07f Make math.blas library and ABI choice configurable 2009-04-01 14:52:43 -05:00
Doug Coleman e37627fa8f fix linux64 blas 2009-04-01 04:28:53 -05:00
Doug Coleman e5ffc202f2 fix blas ffi on linux64 2009-03-28 14:17:24 -05:00
Doug Coleman 4f428f6404 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-27 21:57:27 -05:00
Doug Coleman 92bd390c9b use a different abi on linux for fortran 2009-03-27 21:57:10 -05:00
Slava Pestov 6c0986f8b2 Add definition mixin in definitions vocab to replace hard-coded union in ui.tools.operations; add ?execute to kernel to replace dup word? [ execute ] when calls in unicode.breaks and opengl 2009-03-26 21:27:45 -05:00
Doug Coleman b771758ff7 fix load errors, help lint 2009-03-26 10:45:52 -05:00
Slava Pestov 8385e9d9f5 Fixing compile errors, test failures and help lint failures 2009-03-23 17:12:41 -05:00
Slava Pestov ea60f8ae93 Changing : foo ; parsing to SYNTAX: foo ; 2009-03-21 01:27:50 -05:00
Slava Pestov c468ed8962 integer/integer partial dispatch ops now use both-fixnums? 2009-03-16 00:44:44 -05:00
Slava Pestov b6f6e880bf Make partially dispatched integer ops foldable 2009-03-11 13:57:13 -05:00
Slava Pestov df95c2a5b4 Merge branch 'master' into new_ui 2009-03-05 13:59:55 -06:00
Samuel Tardieu b5e08a8e3e When a factor has been found, check if the remainder is a prime number
Performances are greatly increased when a large prime number is involved.
Also, mark some words as flushable, even if it is unlikely that they
will be invoked if their result is discarded.
2009-03-02 19:05:54 +01:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov 91d0c4ed1f Fix conflict 2009-02-22 20:02:13 -06:00
Slava Pestov 0c090699c2 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-22 19:52:06 -06:00
Slava Pestov 127f9b3578 Add unit tests for bignum bug 2009-02-22 19:41:47 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Daniel Ehrenberg 70d931d0b2 Creating math.bits 2009-02-20 20:14:54 -06:00
Slava Pestov 15b5d696c1 Merge branch 'master' into new_ui 2009-02-19 18:25:59 -06:00
Jason Merrill 4e0db1332c Merge branch 'master' of git://factorcode.org/git/factor 2009-02-19 18:55:27 -05:00
Jason Merrill 90b6b38fd1 Changed math.dual to define words as dword instead of overloading generic words on dual numbers. 2009-02-19 18:49:13 -05:00
Slava Pestov 58e55d4f45 Working on documentation 2009-02-19 16:54:27 -06:00
Slava Pestov b4a61114e1 Merge branch 'master' into new_ui 2009-02-19 13:36:32 -06:00
Slava Pestov 60134eeb98 Documentation fixes 2009-02-19 13:35:53 -06:00
Slava Pestov 31553f5d50 Clean up math.complex 2009-02-19 00:56:30 -06:00
Slava Pestov 5e19766330 Fix conflict 2009-02-18 22:20:05 -06:00
Jason Merrill 6f735fd763 Merge branch 'master' of git://factorcode.org/git/factor 2009-02-18 19:58:55 -05:00
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 73dfa2ae65 Fix conflict 2009-02-16 21:47:35 -06:00
Doug Coleman bff66cd47b remove empty file 2009-02-16 21:27:32 -06:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov d26ae3d141 new set-rect-bounds word for when you're setting loc and dim at the same time 2009-02-15 23:39:27 -06:00
Slava Pestov abe0f4bdf4 math.rectangles.positioning: New popup-rect word 2009-02-15 23:14:47 -06:00
Slava Pestov f8ab4be9da Line gadgets now support min/max rows/cols; this obsoletes limited-scroller 2009-02-15 04:01:57 -06:00
Slava Pestov 83bf59422b Merge branch 'master' into new_ui 2009-02-14 00:46:16 -06:00
Doug Coleman b638a35fd7 move >signed to math.bitwise 2009-02-14 00:31:17 -06:00
Slava Pestov d186f10f52 Don't position popups at negative x co-ordinates 2009-02-13 19:16:37 -06:00
Jason Merrill fe55e939f9 Added math.dual and math.derivatives for computing with dual numbers. Also
made a few more methods in math.functions generic in order to specialize them
on dual numbers.
2009-02-12 23:13:16 -05:00
Slava Pestov 52df401f8a Factor out menu and popup positioning into math.rectangles.positioning, and write tests for it 2009-02-12 21:46:49 -06:00
Slava Pestov e068400e54 Merge branch 'master' into new_ui 2009-02-12 02:22:09 -06:00
Joe Groff 0bc16d0cf8 documentation ambiguity 2009-02-11 20:11:33 -06:00
Joe Groff 633ffaa9dd play horseshoes in math.blas.vectors tests to deal with excessively accurate x87 math 2009-02-11 14:06:46 -06:00
Slava Pestov ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Joe Groff 0279270dda un-unportable the blas stuff 2009-02-10 15:11:39 -06:00
Joe Groff 8a144b7b94 support different fortran ABIs 2009-02-10 13:11:06 -06:00
Slava Pestov 6235e95052 Fix conflict 2009-02-10 00:44:23 -06:00
Joe Groff 204f5195f7 mark blas libs unportable till i sort out all the fortran abis 2009-02-09 22:08:35 -06:00
Slava Pestov 8654bfe921 Merge branch 'master' into new_ui 2009-02-09 20:30:44 -06:00
Joe Groff 4e1748febd Merge branch 'master' of git://factorcode.org/git/factor 2009-02-09 18:46:21 -06:00
Slava Pestov 0684a9b7b0 Merge branch 'master' into new_ui 2009-02-09 18:16:14 -06:00
Slava Pestov efc88c5b69 Remove nipd, 3nip, 4nip and tuckd from basis/shuffle 2009-02-09 18:11:42 -06:00
Joe Groff fecc989098 get rid of underlying>>s, again 2009-02-09 17:23:56 -06:00
Joe Groff bfc2af7ea1 remove unnecessary calls to underlying>> from math.blas 2009-02-09 17:22:43 -06:00
Joe Groff 4325f5a7a9 kill math.blas.cblas 2009-02-09 17:04:37 -06:00
Joe Groff d160b80dac convert math.blas.matrices to use fortran calls 2009-02-09 16:59:26 -06:00
Joe Groff 35c54a91ac oops, leftover ORDER arguments from converting from CBLAS 2009-02-09 16:59:00 -06:00
Joe Groff ad843a1bcf iXamax returns a 1-based array index. decrement that shit 2009-02-09 16:37:45 -06:00
Joe Groff 4623e9bd68 another typo 2009-02-09 16:37:01 -06:00
Joe Groff 08b02fadc9 typos 2009-02-09 15:51:59 -06:00
Joe Groff 85620fc741 C CONVERT VECTORS TO USE FORTRAN BLAS BINDINGS
C INSTEAD OF CBLAS
2009-02-09 15:51:47 -06:00
Joe Groff 42265cbc62 start hacking on math.blas.vectors to switch to fortran 2009-02-09 14:35:44 -06:00
Joe Groff 3b83d9f760 fortran ffi for blas 2009-02-09 14:20:52 -06:00
Slava Pestov 043b77c702 Fix conflict 2009-02-08 00:07:59 -06:00