Commit Graph

48 Commits (e2ebe78915389fcff6eb54715ee66c3354b900ff)

Author SHA1 Message Date
Doug Coleman 6a4062bf38 minor cleanups 2008-01-14 15:06:12 -10:00
Aaron Schaefer 76558babf4 Generalize factor-2s to eliminate special case exception 2008-01-14 15:04:21 -05:00
Aaron Schaefer 8bc631f5ed Rename count-factors to group-factors and update docs 2008-01-14 11:33:08 -05:00
Aaron Schaefer 12b24af934 Simplify totient in math.primes.factors 2008-01-14 02:38:23 -05:00
Aaron Schaefer da98683d8e Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	extra/editors/vim/vim-docs.factor
2008-01-13 16:49:07 -05:00
Doug Coleman a6d0c33a94 fix word name 2008-01-13 10:09:59 -10:00
Doug Coleman 376644794c more lint cleanups 2008-01-13 08:29:04 -10:00
Doug Coleman 0613d01fcc other algorithms use factor-2s, put it back to normal 2008-01-13 07:51:46 -10:00
Aaron Schaefer 2af1085db1 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	extra/math/statistics/statistics-docs.factor
2008-01-13 10:42:38 -05:00
Aaron Schaefer 82fd581e9f Fix circular doc errors 2008-01-13 10:41:35 -05:00
Doug Coleman b14a0e54e4 fix typo 2008-01-12 21:49:47 -10:00
Doug Coleman f8a0d7403d small cleanup in miller-rabin 2008-01-12 21:46:53 -10:00
Doug Coleman 37544fe24e remove blank line 2008-01-12 20:43:58 -10:00
Doug Coleman 304aa98fe7 start cleanup of miller-rabin 2008-01-12 20:07:49 -10:00
Samuel Tardieu cafa8cf4a1 Fix statistics-docs 2008-01-12 23:05:02 +01:00
Doug Coleman 1a2ca6e463 Merge git://factorcode.org/git/factor
Conflicts:

	extra/html/elements/elements.factor
2008-01-10 20:51:50 -10:00
Aaron Schaefer 6385289244 Merge branch 'master' of git://factorcode.org/git/factor 2008-01-10 22:06:17 -05:00
Doug Coleman 9a599ec459 add bit-banging words 2008-01-10 16:56:32 -10:00
Slava Pestov c8360f5ae5 Rename curry* to with 2008-01-09 17:36:30 -05:00
Aaron Schaefer 947e64c630 Move math.text to math.text.english for localization 2008-01-06 22:21:58 -05:00
Slava Pestov 4e43b946f9 Fix conflicts 2008-01-06 14:17:50 -04:00
Slava Pestov 8285eeda9a Fix conflict 2008-01-06 13:30:23 -04:00
Slava Pestov c3deb44f43 Fix circularity 2008-01-05 18:27:15 -04:00
Slava Pestov e58cbb2cda : spin swap rot ; 2007-12-29 11:36:20 -05:00
Samuel Tardieu a9903e1bdc Remove some words in math.algebra and change implementation 2007-12-28 14:19:40 +01:00
Slava Pestov 9c1454ef68 Rename real/imaginary slots of complex to real-part/imaginary-part to avoid clashing with the real class word; fix bug where redefining a generic as a class leaves the word in a weird state 2007-12-27 17:26:39 -05:00
Samuel Tardieu e17a77f5cd New module math.primes.factors 2007-12-27 16:52:18 +01:00
Samuel Tardieu 694dd297ad New module math.primes 2007-12-27 16:52:16 +01:00
Samuel Tardieu 3662ed8f0b Use s> and >s instead of r> and >r to avoid confusion 2007-12-27 15:17:34 +01:00
Samuel Tardieu c4529fb557 Add math.algebra module with some useful words.
- ext-euclidian implements the extended Euclidian algorithm
  - ring-inverse computes an inverse in a Z/nZ ring
  - chinese-remainder solves a multi-constraints modular equation
2007-12-26 23:08:15 +01:00
Samuel Tardieu aaa4b2a62f Do not use Eratosthene sieve if n < 1e6 since we have a static primes list 2007-12-26 20:35:35 +01:00
Aaron Schaefer 5fd3d34302 New math.text vocab converts numbers to English 2007-12-24 00:06:53 -05:00
Samuel Tardieu fd8253c262 Sieve of eratosthene optimizations 2007-12-22 00:28:46 +01:00
Samuel Tardieu 074ef1e107 New math.erato library: sieve of Eratosthene 2007-12-21 13:53:00 +01:00
Slava Pestov d7217801c3 Documentation fixes 2007-12-11 22:36:40 -05:00
Slava Pestov 667f26249e Small fixes 2007-11-04 22:51:34 -05:00
Slava Pestov a271b84bba Fix quaternions unit tests 2007-10-21 18:47:46 -04:00
Slava Pestov de0808320e Fix ltrim/rtrim, get extra/ to load after number tower changes 2007-10-21 17:37:50 -04:00
U-SLAVA-FB3999113\Slava f529d3d2d2 Load fixes for core/math 2007-10-18 02:38:35 -04:00
U-SLAVA-FB3999113\Slava 87944928aa complex/ratios unit test fixes 2007-10-14 21:30:30 -04:00
U-SLAVA-FB3999113\Slava 8b54248c50 Get core unit tests to pass without number tower 2007-10-14 21:13:42 -04:00
U-SLAVA-FB3999113\Slava 047c8fe708 Bootstrap fixes 2007-10-14 20:44:19 -04:00
U-SLAVA-FB3999113\Slava e9b42fa635 Move more math stuff to extra/, get compiler to work without ratios/complex numbers 2007-10-14 20:38:23 -04:00
Slava Pestov 43c83bb4e0 Fixing unit tests 2007-10-06 13:37:11 -04:00
Michael Judge ac9ee43702 New docs and examples for math.statistics 2007-10-04 19:50:17 -07:00
Alex Chapman 5cd4054ec7 additions to math.ranges, including range-min, range-max, clamp-to-range, and sequence-index-range 2007-10-01 15:08:44 +10:00
Slava Pestov bf56a09b1a Fix unit tests 2007-09-27 22:20:34 -04:00
Slava Pestov a96457cecc Initial import 2007-09-20 18:09:08 -04:00