Commit Graph

23356 Commits (2699c4482bd936e7c9e59425ac4e486978bfbdee)

Author SHA1 Message Date
Doug Coleman 2699c4482b prettyprint: Fix unit tests. Remove useless line. 2012-05-04 09:09:39 -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 da1747ffed compiler.units: Oops, meant not to commit this one. 2012-05-04 09:05:43 -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
Doug Coleman 3507b9bad7 classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -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 31c7bd8e86 math.functions: adding generalized signum function. Fixes #509. 2012-05-03 14:44:10 -07:00
John Benediktsson af8f23a78c math.distances: adding some distance functions. 2012-05-03 13:38:59 -07:00
John Benediktsson 95b82eecfa math.vectors: adding p-norm. 2012-05-03 13:27:00 -07:00
John Benediktsson ffeaf448a7 sequences.extras: adding 2map-sum and 2count. 2012-05-03 11:31:38 -07:00
John Benediktsson 6b8d802985 math.similarity: adding a few similarity metrics. 2012-05-03 10:57:30 -07:00
John Benediktsson a9a0080ce3 sequences.extras: adding "filter-map". 2012-05-02 11:14:10 -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
Doug Coleman fee4d76b73 math.functions: Add e^ and sigmoid functions. 2012-05-02 09:21:34 -07:00
John Benediktsson e38e9f2850 sequences: adding find-index-from. 2012-04-27 13:41:47 -07:00
John Benediktsson 6f9db0d163 tools.deploy: fix location of port-number file. 2012-04-27 13:17:03 -07:00
John Benediktsson ccf6a27191 ctags.etags: remove unnecessary test. 2012-04-27 12:05:51 -07:00
John Benediktsson 3ace73ec00 assocs.extras: adding assoc-harvest and assoc-sift. 2012-04-27 11:39:20 -07:00
John Benediktsson d37e5192de splitting: fixing split1-last. 2012-04-27 08:48:57 -07:00
John Benediktsson 5878b6982b math.statistics: adding entropy function. 2012-04-26 18:40:59 -07:00
John Benediktsson 7bba1972a1 project-euler: fix shadowing of permutations?. 2012-04-26 16:58:09 -07:00
John Benediktsson 2ec0bf3037 sequences.extras: fixing map-concat to return type of first mapped value. 2012-04-26 15:07:39 -07:00
John Benediktsson 5e16810075 using reverse! when possible. 2012-04-25 20:09:36 -07:00
John Benediktsson 664908c78f assocs: 50% faster zip. 2012-04-25 20:09:21 -07:00
John Benediktsson 40e79d4b56 sequences.extras: faster longest-subseq, cleanup other words. 2012-04-25 16:30:08 -07:00
John Benediktsson a976e31f39 sequences.extras: adding map-sift and map-harvest. 2012-04-25 15:58:18 -07:00
John Benediktsson 9bc6e29506 sequences.extras: adding map-filter. 2012-04-25 15:50:35 -07:00
John Benediktsson 61b3c26e1b sequences.extras: adding map-concat. 2012-04-25 13:28:56 -07:00
John Benediktsson f3e1dc5b98 Use "map-sum" instead of "map sum". 2012-04-25 13:18:21 -07:00
John Benediktsson 6f89c1824d change to in-place reverse. 2012-04-24 18:51:46 -07:00
John Benediktsson 817b45ee03 math.combinatorics: minor performance improvements. 2012-04-24 18:42:34 -07:00
John Benediktsson fc50417e43 benchmark.combinatorics: adding a combinatorics benchmark. 2012-04-24 17:29:26 -07:00
John Benediktsson 476781cdd9 sequences.extras: adding rotate and rotate! words. 2012-04-24 16:59:17 -07:00
John Benediktsson f24e40800a math.combinatorics: faster version of factorial. 2012-04-24 10:06:00 -07:00
Doug Coleman cd9394f8c6 math.statistics: Add eight methods for calculating quantiles. Add quartile. Add kth-smallests et al, refactor medians. 2012-04-24 03:17:50 -07:00
Doug Coleman 7cb094d521 math.statistics: Make a safe version of kth-object. Bounds check k w/ regards to seq. 2012-04-23 13:55:25 -07:00
John Benediktsson b9bcfdab8e math.combinatorics: adding <combinations> and <permutations> sequences. 2012-04-23 08:30:22 -07:00
Doug Coleman 7ad089b682 math.statistics: Generalize kth-smallest into kth-object, add kth-largest. Add count-relative and minmax-relative for counting the number of lt, eq, gt elements, and getting the max lt and min gt in one pass. 2012-04-22 23:41:13 -07:00
John Benediktsson c00ddde434 math.combinatorics: fix failed find combinations/permutations. 2012-04-21 20:11:47 -07:00
John Benediktsson bada993f78 math.combinatorics: adding find-combination and find-permutation. 2012-04-20 23:31:40 -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 60b83c7241 benchmark.make: use % (push-all). 2012-04-20 10:51:51 -07:00
John Benediktsson 7f7cb5cdf9 benchmark.make: adding a simple make benchmark. 2012-04-20 10:41:50 -07:00
John Benediktsson 74b8e390f4 make: most sequences are less than 32. 2012-04-19 22:02:47 -07:00
John Benediktsson 5b83dc2e90 sequences.extras: adding slice-when (non-destructive split-when). 2012-04-19 16:41:44 -07:00
John Benediktsson 449814a387 math.primes.twins: calculating twin primes. 2012-04-19 15:14:31 -07:00
John Benediktsson 7a15418cf4 math.functions: adding another test for roots. 2012-04-19 13:34:42 -07:00