Commit Graph

508 Commits (ffe41b3d7f1e0cce694a2fe86bafc2f5d455d914)

Author SHA1 Message Date
John Benediktsson 7162bfed57 math.hashcodes: consistent number hashing. 2013-03-16 13:53:58 -07:00
John Benediktsson 53382f4472 math.extras: return new arrays to protect users from others. 2012-12-04 09:06:30 -08:00
John Benediktsson c4637b5d79 math.extras: adding unique-indices. 2012-11-07 17:05:06 -08:00
John Benediktsson 1e413edf3a math.statistics: rename full-* to population-*. 2012-11-06 07:16:20 -08:00
John Benediktsson 5f4bf4513b math.extras: implement "search-sorted" and "weighted-random". 2012-10-05 14:48:05 -07:00
Doug Coleman 48184779ea math.extras: Call (gini). 2012-09-26 16:25:20 -07:00
John Benediktsson 9d813ef1a9 math.extras: simpler herfindahl. 2012-09-26 15:43:15 -07:00
John Benediktsson 1fe94e4184 math.extras: adding exponential-index. 2012-09-26 15:29:08 -07:00
John Benediktsson 905e26e9e0 math.extras: adding the Herfindahl measure. 2012-09-26 15:25:45 -07:00
John Benediktsson 35677bc5fa math.extras: remove variable effects from cum-reduce for now. 2012-09-26 15:20:18 -07:00
John Benediktsson 35bd1a4bbc math.extras: invent "cum-reduce" concept for gini. 2012-09-26 15:11:41 -07:00
Doug Coleman 768611d130 math.extras: Add sum-cum-sum. Change concentration-coefficient to be more straightforward. 2012-09-26 09:07:57 -07:00
Doug Coleman 1cf27a2af9 math.extras: Fix concentration-coefficient. 2012-09-25 17:54:24 -07:00
Doug Coleman d5e26ee76d math.extras: Faster gini. Leaving this as a separate patch for comparison. 2012-09-25 17:52:27 -07:00
Doug Coleman 59e97e1587 math.extras: Add gini and concentration coefficient. 2012-09-25 17:46:05 -07:00
John Benediktsson 2da0e52525 math.extras: adding docs for ramanujan. 2012-09-25 10:50:09 -07:00
John Benediktsson b601d154c1 math.extras: fix spelling of stirling, add ramanujan approximation of factorial. 2012-09-25 10:48:09 -07:00
Doug Coleman 3014b1828a math.transforms.bwt: Simplify two places in bwt. 2012-09-10 08:52:42 -07:00
John Benediktsson 9fe9437445 math.transforms.bwt: adding inefficient versions of Burrows-Wheeler transform. 2012-09-09 11:38:59 -07:00
John Benediktsson 7e9f3d665b math.cardinality: adding a cardinality estimator. 2012-09-08 14:00:36 -07:00
John Benediktsson 5af4627e18 math.extras: adding "until-zero". 2012-08-31 15:00:53 -07:00
John Benediktsson a454b2e384 math.extras: adding moving-count. 2012-08-31 11:04:12 -07:00
John Benediktsson 79ee220d6c math.transforms.fft: bit simpler, faster. 2012-08-09 12:34:02 -07:00
John Benediktsson d6aa829a06 math.transforms.fft: specify algorithm. 2012-08-09 08:56:47 -07:00
John Benediktsson 034b5a255d math.transforms.fft: using 2map-index to simplify. 2012-08-09 08:36:26 -07:00
John Benediktsson 206d4f851d math.transforms.fft: adding cross-correlation. 2012-08-08 21:00:49 -07:00
John Benediktsson d46617e323 math.transforms.fft: simple, fairly slow, fft. 2012-08-08 20:28:14 -07:00
John Benediktsson 60e3fc9341 math.extras: adding moving sum/supremum/infimum. 2012-07-30 16:16:10 -07:00
John Benediktsson 01abb351b5 math.extras: more maths functions. 2012-07-27 12:44:51 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 2f325e4fee using if-zero in even more places. 2012-07-16 19:38:49 -07:00
John Benediktsson 5cc30f46f5 using if-zero in more places. 2012-07-16 15:45:21 -07:00
John Benediktsson 69d11c08e0 math.text.french: removing duplicate if-zero definition. 2012-06-22 08:36:37 -07:00
John Benediktsson 2dfa80c71e math.blas.config: deal with OS X libblas ABI mess
x86-64 libblas uses different ABIs on 10.5 and 10.7, and is broken on 10.6.
Modified from patch by Joe Groff.
2012-06-20 17:17:49 -07:00
John Benediktsson 314dc05ab0 math.extras: adding nonzero. 2012-06-19 14:23:00 -07:00
John Benediktsson fe4be254da sequences.extras: move min-by/max-by to math.compare. 2012-05-19 11:26:01 -07:00
John Benediktsson bab0f663ae math.similarity: fix tests, not sure this is the correct definition. 2012-05-08 08:05:31 -07:00
John Benediktsson a2f8735c9a math.extras: adding moving-median. 2012-05-04 14:23:15 -07:00
John Benediktsson cbf022454b math.finance: adding some tests. 2012-05-04 10:06:24 -07:00
John Benediktsson 0a187f6609 math.finance: some fixes to dema, gdema, and tema. 2012-05-04 09:40:04 -07:00
John Benediktsson 3841bbb891 math.extras: adding moving-average and exponential-moving-average words. 2012-05-04 09:04:58 -07:00
Doug Coleman 3c29b4c131 math.blas, alien.fortran: Back from beyond the grave. 2012-05-04 09:05:43 -07:00
John Benediktsson 7b01763975 math.extras: adding jacobi and legendere symbols. 2012-05-04 08:57:09 -07:00
John Benediktsson 7fe0e95cd4 math.finance: adding dema, gdema, and tema. 2012-05-03 16:31:04 -07:00
John Benediktsson 3c3ad89a22 math.distances: adding correlation-distance. 2012-05-03 15:52:28 -07:00
John Benediktsson d3d109aa3e math.distances: adding a couple more distance functions. 2012-05-03 15:42:12 -07:00
John Benediktsson af8f23a78c math.distances: adding some distance functions. 2012-05-03 13:38:59 -07:00
John Benediktsson 6b8d802985 math.similarity: adding a few similarity metrics. 2012-05-03 10:57:30 -07:00
Doug Coleman f6398365bd math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things. 2012-05-02 10:22:23 -07:00
John Benediktsson 0650495414 math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words. 2012-04-20 20:09:54 -07:00
John Benediktsson 449814a387 math.primes.twins: calculating twin primes. 2012-04-19 15:14:31 -07:00
Doug Coleman d2a42ec4e2 extra:math.erato: Remove txt files; vocab was moved to basis. 2012-01-02 12:14:03 -08:00
John Benediktsson b237df3a3b Remove unused stack effects from DEFER: declarations. 2011-10-18 14:42:17 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
John Benediktsson 8335ceff8c math.approx: function to approximate rationals. 2011-08-19 13:27:44 -07:00
John Benediktsson cd3ee55fb8 Merge branches 'master' and 'cleanup' into cleanup 2010-11-25 23:57:54 -08:00
Doug Coleman 1f366c8b1d Move math.transforms.fft to unmaintained since it's broken and there are no unit tests 2010-09-21 00:20:23 -05:00
John Benediktsson cd27d1337b math.floating-point: adding double>ratio. 2010-09-11 19:41:06 -05:00
John Benediktsson 61d0a7ab94 math.finance: Removing an instance of "spin". 2010-09-10 13:30:01 -07:00
John Benediktsson dcc5ea89c7 math.floating-point: adding double>ratio. 2010-09-10 13:28:57 -07:00
Slava Pestov ea726f5680 Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
Joe Groff 191ac353fd generalize stack effects so we can bootstrap with the stricter stack effect checking 2010-03-08 23:38:10 -08:00
Slava Pestov b59da05347 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-02-19 12:35:21 +13:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Erik Charlebois 550cd430f1 Merge branch 'master' of git://github.com/slavapestov/factor 2010-02-16 03:27:33 -08:00
Erik Charlebois 941c09d73a Splines: catmull-rom, bezier curve, cubic hermite, kochanek-bartels 2010-02-16 03:26:36 -08:00
Slava Pestov 361de6c470 math.points: move to extra 2010-02-16 15:29:02 +13:00
Slava Pestov db4a1f7536 Fix unit test for math.parser change 2010-02-08 08:31:17 +13:00
Joe Groff 2381e9bf24 quaterion to matrix4 conversion 2010-02-04 11:25:45 -08:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Joe Groff 67cc1c01be Merge branch 'master' into simd-cleanup 2009-11-26 16:14:46 -08:00
Joe Groff 4027002db7 remove SIMD:s 2009-11-25 20:21:54 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff a5957b188d nip most uses of tuck from extra 2009-11-05 22:22:21 -06:00
Joe Groff 96716145e3 Merge branch 'master' of git://factorcode.org/git/factor 2009-10-30 14:53:56 -05:00
Joe Groff cac1778bd0 remove most uses of roll/-roll from extra 2009-10-30 14:14:24 -05:00
Doug Coleman 44acd45f2a move docs for nth-root, fix docs for minmax 2009-10-30 06:37:02 -05:00
Doug Coleman 003787113f move nth-root to math.functions, use exchange-unsafe in math.statistics 2009-10-30 02:35:51 -05:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Joe Groff 5caa118e40 make first2, first3, first4 inline 2009-10-26 17:30:37 -05:00
Joe Groff 1db55cdfbb add some tests for math.matrices.simd matrix-vector multiplication 2009-10-15 13:35:22 -05:00
Joe Groff 2a24e30a24 store math.matrices.simd matrices in column-major order so that m4.v, frustum, and translation construction are faster 2009-10-10 17:45:15 -05:00
Joe Groff fbe810fc3b rename SIMD vmerge and kids to (vmerge), make new vmerge more generally useful 2009-10-05 17:55:39 -05:00
Slava Pestov 61e3ba77d8 math.matrices.simd: add an inline declaration 2009-10-05 05:29:30 -05:00
Joe Groff 0c7857152b clean up frustum-matrix4 2009-10-04 16:29:03 -05:00
Joe Groff fb4ca1ce85 cleaner implementation of translation-matrix4 2009-10-04 15:37:22 -05:00
Joe Groff cef5a32746 rice out transpose-matrix4 and diagonal-matrix4 using vmerge 2009-10-03 22:48:41 -05:00
Doug Coleman 67167cf9ea Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov cb71fbf4fe Fix compiler.cfg.value-numbering and math.matrices.simd unit tests 2009-10-02 02:32:35 -05:00
Joe Groff 0c8a4717f2 add software vall?, vany?, vnone? words 2009-10-01 13:21:10 -05:00
Joe Groff 0044964e78 fix a stupid bug in simd rotation-matrix4 2009-10-01 13:04:59 -05:00
Joe Groff 5ac5a74cc6 write v? and vmask in terms of bitwise ops 2009-10-01 00:09:25 -05:00
Joe Groff a93f8f66f9 Revert "add a %blend-vector intrinsic for v?"
This reverts commit 21e4b28b67.
2009-09-30 23:40:37 -05:00
Joe Groff 7db7b63552 add a %blend-vector intrinsic for v? 2009-09-30 23:03:59 -05:00
Joe Groff a2771aa166 pit math.matrices and math.matrices.simd against each other in calculating matrix exponentials 2009-09-30 12:58:32 -05:00
Slava Pestov 4c856e51e1 math.matrices.simd: hack: replace 'first4' with '4 firstn' since latter is open-coded 2009-09-30 05:00:50 -05:00
Joe Groff 6a6e248fa4 clean up math.matrices.simd just a little bit 2009-09-29 23:34:56 -05:00
Joe Groff b709e9a497 spinning rims for math.matrices.simd 2009-09-29 22:55:04 -05:00