Commit Graph

23379 Commits (0a5a2a74a700895726ad7fc56ee8242d64b1b90e)

Author SHA1 Message Date
Doug Coleman 0a5a2a74a7 math.statistics: Add sum-of-squares word, add sum-of-squared-errors/sum-of-absolute-errors words. 2012-05-07 15:04:37 -07:00
Doug Coleman f03a7f10bf sequences.extra: Fix min-by and max-by.
maximum and minimum run 2x as many calls to the quotation as are actually necessary; fix this eventually.
2012-05-07 15:04:37 -07:00
John Benediktsson 0d346a0268 memoize: moving MEMO[ to memoize.syntax to work around bootstrap issue. 2012-05-04 22:24:21 -07:00
John Benediktsson 4e5c5b34f5 memoize: change MEMO[ to push a quotation. 2012-05-04 21:31:23 -07:00
John Benediktsson 47bb96d194 memoize: cleaner test case. 2012-05-04 20:43:23 -07:00
John Benediktsson bd1b3534b5 memoize: adding a MEMO[ word which makes an inlined anonymous memoized quotation. 2012-05-04 20:39:26 -07:00
John Benediktsson d616f4779e ui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document. 2012-05-04 18:38:12 -07:00
John Benediktsson f00b8c8e55 Revert "Clean up smalltalk grammar"
This reverts commit 578bb98f21.
2012-05-04 18:20:04 -07:00
John Benediktsson 495637a087 math.matrices: adding hilbert-matrix, toeplitz-matrix, hankel-matrix, and box-matrix. 2012-05-04 18:01:21 -07:00
John Benediktsson 4cd54bdf9c interval-sets: change tests to use constant literals. 2012-05-04 17:40:45 -07:00
John Benediktsson 1d8449115c interval-sets: some modernization. 2012-05-04 17:33:10 -07:00
Daniel Ehrenberg deea270b57 Interval sets library 2012-05-04 17:27:31 -07:00
Slava Pestov 491bb6aa4c Clean up smalltalk grammar 2012-05-04 17:23:32 -07:00
Doug Coleman 9a4e66c8a6 math.statistics: Add power-mean and quadratic-mean. 2012-05-04 15:27:46 -07:00
John Benediktsson 7ab521f0ba math.statistics: simpler (faster) version of rescale. 2012-05-04 14:51:38 -07:00
John Benediktsson 87686a9a31 math.statistics: adding contraharmonic-mean. 2012-05-04 14:43:29 -07:00
John Benediktsson 4339b14d77 math.statistics: adding mean-dev and median-dev. 2012-05-04 14:40:24 -07:00
John Benediktsson bacdd691fc math.statistics: separate "sample-" and "full-" versions of var, std, ste, and corr. 2012-05-04 14:31:26 -07:00
John Benediktsson a2f8735c9a math.extras: adding moving-median. 2012-05-04 14:23:15 -07:00
John Benediktsson 0435098bd8 math.statistics: adding standardize, differences, rescale. 2012-05-04 14:18:45 -07:00
Doug Coleman 6f3fe950a7 math.matrices: Add a diagonal-matrix word that makes an nxn matrix from a sequence.
Optimize identity-matrix word -- 2-3x faster using diagonal-matrix.
Add an eye word that makes an mxn diagonal matrix with a diagonal offset by k.
2012-05-04 11:31:05 -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
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