Commit Graph

601 Commits (revert-2214-feature-commandline-documentation)

Author SHA1 Message Date
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
Benjamin Pollack e1e29b7647 Add a couple minor extra docs for math.extras 2015-05-08 14:12:09 -07:00
John Benediktsson 52043e60d5 math.transforms.bwt: slightly faster, remove suffixes because it seems buggy. 2015-05-05 17:20:04 -07:00
John Benediktsson e62da0bc64 math.transforms.bwt: faster version of bwt if only needing transform. 2015-05-05 16:08:55 -07:00
John Benediktsson 6f3f4e8fb8 math.transforms.bwt: faster versions of Burrows-Wheeler Transform. 2015-04-28 19:28:14 -07:00
John Benediktsson 174f0f02a1 math.extras: change kelly criterion tests to use ratios. 2015-04-02 08:03:49 -07:00
John Benediktsson a4c0ae98c5 math.extras: adding the Kelly criterion. 2015-04-01 21:34:54 -07:00
John Benediktsson 592764ded4 math.extras: adding the Möbius function. 2014-12-23 20:08:23 -08:00
John Benediktsson 24263299fa math.primes.solovay-strassen: adding Solovay-Strassen primality test. 2014-12-13 16:52:28 -08:00
John Benediktsson 31b22494a1 extra: using empty? in some places. 2014-12-04 19:13:08 -08:00
John Benediktsson 921e995ed9 math.binpack: faster by storing only items, not weights. 2014-11-29 17:35:01 -08:00
John Benediktsson 43fcee0d75 math.binpack: cleanup using. 2014-11-29 15:57:30 -08:00
John Benediktsson c4125ad96a math.binpack: make binpacking much faster by caching total weight per bin. 2014-11-29 15:54:14 -08:00
John Benediktsson 760126525b basis/extra: fix using for map-index move back to sequences. 2014-11-11 18:00:44 -08:00
Doug Coleman 7cfa9d9518 assocs: Make map-index-as support seq or assoc exemplars and move map-index, map-index-as to assocs because they need to use new-assoc. Make zip-index-as support assoc exemplars. Fix up docs and tests.
assocs.extras: Remove zip-as and move tests to assocs.
2014-11-08 18:18:00 -08:00
John Benediktsson 85fdc4f6d2 math.transforms.bwt: cleaner to check last. 2014-06-30 09:04:08 -07:00
John Benediktsson 77d4d5179c math.extras: adding sum-squares and sum-cubes. 2014-06-10 18:28:21 -07:00
John Benediktsson acc06aeeee math.extras: adding dotted range syntax. 2014-06-10 18:17:27 -07:00
John Benediktsson 7bde6a53da math.transforms.fft: hah, once-power-of-2, always-power-of-2. 2014-06-04 12:28:59 -07:00
John Benediktsson e260edc32b math.transforms.fft: fix Cooley-Tukey only works for powers of two. 2014-06-04 12:06:45 -07:00
John Benediktsson 02ac0662e7 more doc type fixes. 2014-05-24 17:16:26 -07:00
John Benediktsson 3eced27aee math.text.english: accidentally i's and j's. 2013-11-26 10:20:56 -08:00
John Benediktsson c1bb600335 math.text.english: support ratio, float, complex. 2013-11-26 10:19:15 -08:00
John Benediktsson e4e349741b fix some uses of "1 head*" to be "but-last". 2013-11-24 20:42:30 -08:00
John Benediktsson 43905f3f3d math.factorials: adding "factorials" word. 2013-10-20 17:08:01 -07:00
John Benediktsson 16e3bac2d3 math.unicode: implement unicode math symbols. 2013-10-15 11:23:20 -07:00
John Benediktsson e4e4eb38c5 math.extras: inline kahan+. 2013-10-14 14:06:19 -07:00
John Benediktsson e2d4a1c3c8 math.extras: label kahan+ stack effects to match pseudocode. 2013-10-14 11:15:48 -07:00
John Benediktsson d06dc0996d math.extras: adding map-kahan-sum. 2013-10-13 08:40:50 -07:00
John Benediktsson b9df0a7582 math.extras: adding the Kahan summation. 2013-10-13 08:27:58 -07:00
John Benediktsson 7bc62f4c7c math.transforms.fft: small bit of speedup. 2013-09-23 15:56:18 -07:00
John Benediktsson 4797dae4f2 math.extras: switch to using sorting.extras. 2013-09-05 21:09:32 -07:00
John Benediktsson f61bf2f4c4 math.extras: faster search-sorted by bisecting. 2013-09-04 21:31:34 -07:00
John Benediktsson 6e6adb036d math.extras: remove accidental test. 2013-09-04 21:21:42 -07:00
John Benediktsson 5eb9d4532d math.extras: two versions of search-sorted. 2013-09-04 19:01:25 -07:00
John Benediktsson cfb44999a1 math.extras: adding round-away-from-zero. 2013-06-17 10:11:49 -07:00
John Benediktsson 66b2b3c044 math.combinators: fix help-lint warnings I introduced... 2013-05-07 08:18:20 -07:00
John Benediktsson bca3ddfae8 math.extras: change moving-median to use <clumps>. 2013-05-06 10:41:21 -07:00
John Benediktsson 62d79dd125 math.combinators: adding unless-positive and unless-negative. 2013-05-06 08:45:29 -07:00
John Benediktsson bd8cc0a5f1 Revert "math.extras: change to <clumps> to match other moving- words."
This reverts commit 4c3d15e01a89a3383e77192ebcf969c2a17e7aa8.
2013-05-06 08:38:07 -07:00
John Benediktsson a3cf0d70ba math.combinators: fix help-lint errors. 2013-05-06 08:34:32 -07:00
lorynj 5ccfb83a4d when-negative / when-positive
Convenience combinators to encapsulate testing numbers for being negative or positive, followed by call to a true quotation.

Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:16:36 -07:00
John Benediktsson 0dc6240d4d math.extras: change to <clumps> to match other moving- words. 2013-05-02 16:50:30 -07:00
John Benediktsson 05ea081cd0 math.extras: adding monotonic-count and max-monotonic-count. 2013-05-01 21:56:34 -07:00
John Benediktsson 2e94cb312a math.finance: adding performance. 2013-05-01 21:24:09 -07:00
John Benediktsson 842a69c099 math.extras: add fill-nans. 2013-05-01 21:22:27 -07:00
John Benediktsson 4712eff3c5 math.text: make it only work with integers. 2013-04-26 16:08:11 -07:00
John Benediktsson 00eeb07680 math.matrices.laplace: adding Laplace expansion. 2013-04-25 15:04:16 -07:00
John Benediktsson 19662c976b math.extras: use fry for clarity. 2013-04-22 16:34:00 -07:00
John Benediktsson 66e3138f4b math.extras: rename 2pi-range to [0,2pi]. 2013-04-22 11:56:23 -07:00
John Benediktsson e3c5b53610 math.extras: cleanup duplicate code. 2013-04-22 11:13:32 -07:00
John Benediktsson 34e04aa8bc math.combinatorics.bits: new vocab for permutation-bits words. 2013-04-11 10:32:36 -07:00
John Benediktsson 5d8864cb9a math.extras: remove permutation-bits words. 2013-04-11 10:30:55 -07:00
John Benediktsson dd94812561 math.extras: adding more permutation-bits words. 2013-04-10 15:51:58 -07:00
John Benediktsson 83659c228a math.extras: faster next-permutation-bits using /i. 2013-04-10 14:44:21 -07:00
John Benediktsson 336e2bfd58 math.extras: adding bitwise permutation words. 2013-04-10 14:29:23 -07:00
John Benediktsson 7d2ad13830 math.extras: fix bernoulli. 2013-04-10 09:29:21 -07:00
John Benediktsson 4767248369 math.factorials: style. 2013-04-09 13:57:53 -07:00
John Benediktsson 047d9cad3e math.factorials: cleanup orial-primes. 2013-04-09 12:22:41 -07:00
John Benediktsson 6c106fb422 math.factorials: more factorial words. 2013-04-09 12:07:49 -07:00
John Benediktsson 68cdaa2c69 math.factorials: more factorial words. 2013-04-09 11:04:38 -07:00
John Benediktsson 5ec39e2542 math.factorials: more factorial words. 2013-04-09 10:37:20 -07:00
John Benediktsson ad419301af math.factorials: making double-factorial work for negative numbers. 2013-04-08 21:44:35 -07:00
John Benediktsson 50c8033301 math.factorials: adding double-factorial. 2013-04-08 21:13:46 -07:00
John Benediktsson 25f1758384 math.factorials: cleanup using. 2013-04-08 15:23:39 -07:00
John Benediktsson 4fa6e09310 math.factorials: include 1. 2013-04-08 15:15:49 -07:00
John Benediktsson cda0092fec math.factorials: handle more inputs in factorial/. 2013-04-08 15:08:53 -07:00
John Benediktsson a12728d5a3 math.factorials: various factorial words. 2013-04-08 15:03:15 -07:00
John Benediktsson fdc43d0574 math.extras: adding round-to-step. 2013-04-01 17:04:07 -07:00
John Benediktsson dca20550ac math.extras: adding round-to-decimal. 2013-04-01 17:03:18 -07:00
John Benediktsson 02d9565732 math.statistics: adding demean and demedian, cleanup a bit. 2013-03-28 11:40:46 -07:00
John Benediktsson 3e209587c5 math.extras: adding round-to-even. 2013-03-26 14:36:05 -07:00
John Benediktsson c3917cdd02 math.extras: adding normalized compression distance and compression based dissimilarity. 2013-03-25 10:33:41 -07:00
John Benediktsson b099cbb1f2 math.extras: adding docs for majority. 2013-03-24 20:14:17 -07:00
John Benediktsson 3ce93bf86f math.extras: adding majority vote algorithm. 2013-03-24 19:39:34 -07:00
Doug Coleman 5224fba820 math: Revert clone on median algorithm, perhaps need to revisit this. Call clump for moving-median 2013-03-24 01:14:35 -07:00
Doug Coleman 8ec8cdfffa math.primes.twins: Use clump here. 2013-03-24 01:10:08 -07:00
John Benediktsson 684c2793e7 math: some style cleanup. 2013-03-21 08:54:14 -07:00
John Benediktsson da1931317d math.extras: rename to linspace[a,b) and linspace[a,b] and fixes. 2013-03-20 15:15:50 -07:00
John Benediktsson 5e41a50870 math.extras: adding ) and ] versions of linspace. 2013-03-20 15:09:36 -07:00
John Benediktsson da0a123df3 math.extras: adding logspace. 2013-03-20 13:49:55 -07:00
John Benediktsson a21fddc4dc math.extras: adding linspace. 2013-03-20 13:44:54 -07:00
John Benediktsson 4d9d980e22 math.hashcodes: fix complex number-hashcodes. 2013-03-20 12:49:12 -07:00
John Benediktsson dc08c22a92 math.hashcodes: better test-case. 2013-03-19 22:55:50 -07:00
John Benediktsson 6308e25f6e math.hashcodes: try and fix tests on 32-bit. 2013-03-19 17:22:25 -07:00
John Benediktsson f936a1dc65 math.hashcodes: better tests. 2013-03-16 13:58:29 -07:00
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