Commit Graph

18 Commits (d3324e2d6e16c6046ae2f4b65ccdf0fa3f50ceeb)

Author SHA1 Message Date
Joe Groff 811a398f8f math.statistics: declare polymorphic effects on sequence>* combinators now that #88 is fixed 2011-09-09 18:13:17 -07:00
Joe Groff 3c68ef1854 math.statistics: add higher-order stack effect annotations to sequence>* words; factor out a "histogram-by" word from "histogram" that takes an additional binning quotation 2011-09-08 19:07:33 -07:00
John Benediktsson 664ef03fc4 Merge branch 'master' into sorting
Conflicts:
	basis/heaps/heaps-tests.factor
2011-04-12 18:09:36 -07:00
Doug Coleman 51bfb5532d Change how sequence>assoc and friends work. Now they take two quotations, the first of which prepares the key/value pair and the second insert it into the assoc. mrjbq7's group-by, formerly collect-values, is now called collect-by. 2011-04-09 23:51:14 -05:00
John Benediktsson 8928fe2e17 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
Slava Pestov 6e745437d0 math.statistics: rename histogram* to histogram! and rename sequence>assoc* to sequence>assoc! 2010-02-03 23:11:33 +13:00
Doug Coleman ed17c5a549 better minmax 2009-12-07 17:26:33 -06:00
Doug Coleman c9d233052d add sorted-histogram word 2009-11-01 23:16:26 -06:00
Doug Coleman a39edf9500 move histogram to math.statistics, write a main article for math.statistics 2009-10-30 02:55:54 -05:00
Doug Coleman 897ef1aa62 move nth-root to math.functions, use exchange-unsafe in math.statistics 2009-10-30 02:35:51 -05:00
Doug Coleman 1ee8c8f5eb sigma -> map-sum 2009-10-29 14:34:04 -05:00
Doug Coleman 2e2dab011d add a mode word 2009-05-24 15:45:25 -05:00
Doug Coleman 82fa71a03a remove old median, fix docs 2009-05-18 02:41:58 -05:00
Doug Coleman 96ade23963 median used the wrong algorithm. now it runs in O(n) time. add kth-smallest word, used to implement median 2009-05-18 02:16:03 -05:00
Doug Coleman c2fe62f7d6 remove 1-, 1+, use iota somewhere 2009-05-05 23:32:23 -05:00
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov 411ba7473b Clean up some code to not use combinators.lib and sequences.lib 2008-12-17 19:52:47 -06:00
Aaron Schaefer 197bb70893 Move math.statistics to extra 2008-11-18 10:31:07 -05:00