Commit Graph

886 Commits (2c67a5cd78e5dcffd7146e6fd0eb95f810a497e1)

Author SHA1 Message Date
John Benediktsson 07a099fa60 math.combinatorics: remove duplicate nths-unsafe. 2013-04-06 14:29:47 -07:00
John Benediktsson b79646f572 math.combinatorics: make permutations-quot to reduce code duplication. 2013-04-06 13:12:57 -07:00
John Benediktsson 86b0708203 math.combinatorics: produce type of sequence in selections. 2013-04-06 13:06:23 -07:00
John Benediktsson 3640e92521 math.combinatorics: use nth-unsafe more. 2013-04-06 12:43:02 -07:00
John Benediktsson 8458e93c3d math.combinatorics: faster nCk (use integer division). 2013-04-06 11:43:20 -07:00
John Benediktsson a92a0ca285 math.combinatorics: faster permutation (using slices). 2013-04-05 07:28:22 -07:00
John Benediktsson d35a89b4bd math.functions: remove round-to. 2013-04-01 17:02:44 -07:00
John Benediktsson e55b0906d6 math.ratios: adding some tests for M\ ratio /mod. 2013-03-29 08:32:35 -07:00
John Benediktsson a7d52d0b71 math.functions: faster >rect by specializing for complex. 2013-03-28 18:02:55 -07:00
John Benediktsson 0f63bbed68 math.ratios: faster M\ ratio mod. 2013-03-28 15:00:21 -07:00
John Benediktsson 3ef4d46b14 math.ratios: faster M\ ratio /mod. 2013-03-28 14:56:47 -07:00
John Benediktsson 059553b193 math.statistics: adding demean and demedian, cleanup a bit. 2013-03-28 11:40:46 -07:00
John Benediktsson 0988164e9a math.functions: clarify rounding behavior. 2013-03-26 14:35:38 -07:00
John Benediktsson d8c41dc9d6 math.functions: speed up round (thanks Loryn Jenkins!) 2013-03-26 14:22:21 -07:00
Doug Coleman 075576ba0f 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 fb63c0e661 math.statistics: Median now changes the order of the sequence, so clone it first. 2013-03-24 01:08:28 -07:00
Doug Coleman 38f11415c8 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
John Benediktsson 07ce8bb651 math: some style cleanup. 2013-03-21 08:54:14 -07:00
Doug Coleman 08bed475fa math.ranges: Stopgap fix for math.ranges unit tests. See issues #803, #800, #508. 2013-03-20 15:54:57 -07:00
Doug Coleman 52c8fae1e0 math.ranges: Add a bunch more tests for empty ranges. 2013-03-20 13:52:03 -07:00
Doug Coleman b0308e898e math.statistics: Fix histogram and collect. Histogram used each-index even when it didn't need to. 2013-03-10 12:57:48 -07:00
John Benediktsson a318742202 Use -unsafe words with pair methods. 2013-03-07 10:47:23 -08:00
John Benediktsson 9c879d1ac1 math.statistics: adding z-score. 2013-02-07 15:50:34 -08:00
Doug Coleman fbff46f328 math.statistics: Add docs for collect-by and collect-index-by. 2013-02-05 09:35:51 -08:00
John Benediktsson 8a9cb017f5 math.functions: adding "round-to". 2013-01-30 09:41:21 -08:00
Doug Coleman 7ee11ee03a math.vectors: Don't use macro with locals and cond in vif. Stack-checker/locals/macros/smart-combinators all need some work (a rewrite?), but meanwhile don't let it get in the way. Add tests. 2013-01-03 09:49:31 -08:00
Doug Coleman 10648ec1ea math.vectors: Fix spacing. 2013-01-02 00:09:21 -08:00
John Benediktsson ddd5f81cd7 math.statistics: just use accumulate for now. 2012-12-04 08:56:21 -08:00
Doug Coleman 040a7b8e8b basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
sue.
2012-11-27 12:47:44 -06:00
Doug Coleman 7c58e4c06c math.statistics: Add a variant of histogram that can see the sequence index. 2012-11-17 12:39:54 -08:00
Doug Coleman cde43eb0be math.statistics: Add back std as sample-std. 2012-11-15 08:27:41 -08:00
Doug Coleman c20ee965c6 math.statistics: Make you think about which std you want--population or sample. Hopefully use the right words everywhere. 2012-11-07 22:53:53 -08:00
Doug Coleman d291f096c2 math.statistics: Rename full-* to population-*. Full, while somewhat descriptive of using the entire dataset, is not a technical term, while population is used in Mathematica and stats books. 2012-11-07 22:53:52 -08:00
Doug Coleman 7504823dee math.matrices: Add m+n, m-n, n+m, n-m, words. 2012-11-07 22:53:52 -08:00
John Benediktsson 98394cf35e math.statistics: rename full-* to population-*. 2012-11-06 07:16:20 -08:00
John Benediktsson 9d042b123c math.statistics: add some padding in the docs (looks better). 2012-10-25 21:01:17 -07:00
John Benediktsson a5499e20aa math.statistics: add other cumulative words to help article. 2012-10-25 16:30:31 -07:00
Doug Coleman 250feeba14 math.statistics: Add cum-count, cum-sum0, cum-map0. Add docs. 2012-10-25 16:13:25 -07:00
John Benediktsson bf891c9634 change some "2drop 2drop" to "4drop". 2012-10-23 12:21:30 -07:00
John Benediktsson d487d8068d math.primes.erato: minor performance improvements. 2012-10-23 10:49:45 -07:00
Doug Coleman a127cdb38c math.matrices: Trying to flesh out the matrices vocabulary a bit. 2012-10-22 09:47:36 -07:00
Doug Coleman 4986146779 math.statistics: Add ddof (delta degrees-of-freedom) to easily calculate population (full) and unbiased (sample) statistics. 2012-10-22 09:47:35 -07:00
Doug Coleman 2fccdec3d2 math.matrices: Add some combinators for iterating over matrices. Add covariance matrix. 2012-10-22 09:47:35 -07:00
Doug Coleman eaec4fe884 math.matrics: Add some combinators and indexing words to math.matrices. 2012-10-22 09:47:35 -07:00
John Benediktsson 146669c509 math.statistics: empty-sequence is silly. 2012-09-26 17:09:23 -07:00
John Benediktsson 946ffb8798 math.statistics: adding a normalized-histogram word. 2012-09-26 08:39:11 -07:00
John Benediktsson 208aeae79c math.statistics: remove probabilities word, not really needed. 2012-09-26 08:32:30 -07:00
John Benediktsson 5dab60b479 math.statistics: use "cumulative map" as base of all cumulative words. 2012-09-25 22:27:42 -07:00
John Benediktsson 4bc4e790b2 math.statistics: some fixes to entropy, adding maximum-entropy and normalized-entropy. 2012-09-25 20:17:34 -07:00
Doug Coleman 22675a93c0 math.bitwise: Fix bit-range and test it. 2012-09-19 17:03:13 -07:00