Commit Graph

23562 Commits (e4b4f1522a6ba5bc2d80b52806ad39d257afdc4c)

Author SHA1 Message Date
John Benediktsson 7820f5c8a8 math.statistics: separate "sample-" and "full-" versions of var, std, ste, and corr. 2012-05-04 14:31:26 -07:00
John Benediktsson c62cc95ce1 math.extras: adding moving-median. 2012-05-04 14:23:15 -07:00
John Benediktsson 62654a4271 math.statistics: adding standardize, differences, rescale. 2012-05-04 14:18:45 -07:00
Doug Coleman 9b6f58fc9e 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 cc4ca513ac math.finance: adding some tests. 2012-05-04 10:06:24 -07:00
John Benediktsson e60a8c454d math.finance: some fixes to dema, gdema, and tema. 2012-05-04 09:40:04 -07:00
Doug Coleman fbf85898de prettyprint: Fix unit tests. Remove useless line. 2012-05-04 09:09:39 -07:00
John Benediktsson 503d6d3fc2 math.extras: adding moving-average and exponential-moving-average words. 2012-05-04 09:04:58 -07:00
Doug Coleman a20adde72b compiler.units: Oops, meant not to commit this one. 2012-05-04 09:05:43 -07:00
Doug Coleman a85969e269 math.blas, alien.fortran: Back from beyond the grave. 2012-05-04 09:05:43 -07:00
John Benediktsson ea5fe1162f math.extras: adding jacobi and legendere symbols. 2012-05-04 08:57:09 -07:00
Doug Coleman cb42258144 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 ef640d9e2a math.finance: adding dema, gdema, and tema. 2012-05-03 16:31:04 -07:00
John Benediktsson 3b8b9f4c59 math.distances: adding correlation-distance. 2012-05-03 15:52:28 -07:00
John Benediktsson c64f337c2d math.distances: adding a couple more distance functions. 2012-05-03 15:42:12 -07:00
John Benediktsson fda12a9972 math.functions: adding generalized signum function. Fixes #509. 2012-05-03 14:44:10 -07:00
John Benediktsson 13a8e5e8cb math.distances: adding some distance functions. 2012-05-03 13:38:59 -07:00
John Benediktsson d6a5cc3ee8 math.vectors: adding p-norm. 2012-05-03 13:27:00 -07:00
John Benediktsson 29c78e5011 sequences.extras: adding 2map-sum and 2count. 2012-05-03 11:31:38 -07:00
John Benediktsson 92f1955d50 math.similarity: adding a few similarity metrics. 2012-05-03 10:57:30 -07:00
John Benediktsson 691615fafc sequences.extras: adding "filter-map". 2012-05-02 11:14:10 -07:00
Doug Coleman 9a125e82e9 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 4338db58a4 math.functions: Add e^ and sigmoid functions. 2012-05-02 09:21:34 -07:00
John Benediktsson 0d4bd75492 sequences: adding find-index-from. 2012-04-27 13:41:47 -07:00
John Benediktsson 4b53bb5ab0 tools.deploy: fix location of port-number file. 2012-04-27 13:17:03 -07:00
John Benediktsson 69666c13cf ctags.etags: remove unnecessary test. 2012-04-27 12:05:51 -07:00
John Benediktsson e0a575c210 assocs.extras: adding assoc-harvest and assoc-sift. 2012-04-27 11:39:20 -07:00
John Benediktsson 778605d051 splitting: fixing split1-last. 2012-04-27 08:48:57 -07:00
John Benediktsson 3f15cd4e63 math.statistics: adding entropy function. 2012-04-26 18:40:59 -07:00
John Benediktsson 2908b349de project-euler: fix shadowing of permutations?. 2012-04-26 16:58:09 -07:00
John Benediktsson fc95218eef sequences.extras: fixing map-concat to return type of first mapped value. 2012-04-26 15:07:39 -07:00
John Benediktsson e556ff9fc7 using reverse! when possible. 2012-04-25 20:09:36 -07:00
John Benediktsson 9f4d5da304 assocs: 50% faster zip. 2012-04-25 20:09:21 -07:00
John Benediktsson f51a8f49ef sequences.extras: faster longest-subseq, cleanup other words. 2012-04-25 16:30:08 -07:00
John Benediktsson 555b086211 sequences.extras: adding map-sift and map-harvest. 2012-04-25 15:58:18 -07:00
John Benediktsson f5bc92f621 sequences.extras: adding map-filter. 2012-04-25 15:50:35 -07:00
John Benediktsson b4f83ce112 sequences.extras: adding map-concat. 2012-04-25 13:28:56 -07:00
John Benediktsson 4358186792 Use "map-sum" instead of "map sum". 2012-04-25 13:18:21 -07:00
John Benediktsson 84d7136a12 change to in-place reverse. 2012-04-24 18:51:46 -07:00
John Benediktsson 6323018b8a math.combinatorics: minor performance improvements. 2012-04-24 18:42:34 -07:00
John Benediktsson b36ccb2fed benchmark.combinatorics: adding a combinatorics benchmark. 2012-04-24 17:29:26 -07:00
John Benediktsson f6745d670f sequences.extras: adding rotate and rotate! words. 2012-04-24 16:59:17 -07:00
John Benediktsson 8fe84dc35d math.combinatorics: faster version of factorial. 2012-04-24 10:06:00 -07:00
Doug Coleman fdcb9b93d7 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 222e76bed6 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 b668db8df6 math.combinatorics: adding <combinations> and <permutations> sequences. 2012-04-23 08:30:22 -07:00
Doug Coleman 5f4d67dc77 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 aa0321ebd9 math.combinatorics: fix failed find combinations/permutations. 2012-04-21 20:11:47 -07:00
John Benediktsson fcc30ee39f math.combinatorics: adding find-combination and find-permutation. 2012-04-20 23:31:40 -07:00
John Benediktsson ce77d846c3 math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words. 2012-04-20 20:09:54 -07:00