Commit Graph

941 Commits (50917807403568fe3a5afeced4cf886f1611a311)

Author SHA1 Message Date
Doug Coleman e4e6f34f0e math.statistics: Get smart about the geometric mean. Calculate it in logspace so we can use addition of small logarithms and multiplication instead of the nth root of a giant product. 2014-09-26 13:34:25 -07:00
Björn Lindqvist 60ffe0680e kernel: new combinator 2with = with with 2014-07-22 07:40:13 -07:00
John Benediktsson 8a2028d2c6 math.statistics: use if-zero in mean-ddof. 2014-06-10 13:06:42 -07:00
Doug Coleman 018d12b29b math.bits: Clean up the docs some more. 2014-06-06 14:45:46 -07:00
Doug Coleman 6b9c7c6772 math.bits: Clarify docs. Don't support negative numbers for make-bits. Fixes #893. 2014-06-06 14:25:21 -07:00
John Benediktsson 96884eab2a math.ratios: faster abs and neg? on ratios. 2014-06-05 10:53:02 -07:00
John Benediktsson 05c35ebda3 kernel: change errors to be in kernel.private. 2014-06-04 14:33:02 -07:00
Björn Lindqvist 6627a3327b kernel: symbolic constants for the various kernel errors 2014-06-04 23:16:40 +02:00
John Benediktsson cea47b896d more doc types. 2014-05-26 07:51:19 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 594354e145 math.bitwise: simplify byte-array-bit-count. 2014-04-29 22:11:42 -07:00
Björn Lindqvist b72fa3ba0a Docs: fixed doc example errors triggered by help-lint and added with-disposal where applicable 2014-04-14 08:42:10 -07:00
Björn Lindqvist a48567b8af Docs: more matrix-related documentation 2014-04-14 08:42:09 -07:00
Björn Lindqvist 8b4af6bc86 Docs: doc and examples for math.matrices 2014-04-14 08:42:09 -07:00
John Benediktsson ebbfa17b47 math.bitwise: fix docs for mask and unmask (they don't return a boolean). 2014-02-09 15:36:49 -08:00
John Benediktsson 54cca48aca use swapd in a few places. 2014-01-05 20:30:38 -08:00
John Benediktsson abd069c1ad math.matrices: add error for negative m^n (and test). 2014-01-05 20:08:55 -08:00
John Benediktsson 97b0ad7499 math.polynomials: add test for negative p^. 2014-01-05 20:08:46 -08:00
John Benediktsson 0cbf869261 math.bits: fix docs for make-bits to be more clear. 2013-12-12 18:30:49 -08:00
John Benediktsson 1cfcf39bda Revert "math.functions: make float sqrt a little faster."
This reverts commit 7ae5e9c0c11bbc82ac7854bfa5964723e1cb42d9.
2013-11-25 16:42:52 -08:00
John Benediktsson fafeecb5fb math.functions: make float sqrt a little faster. 2013-11-25 11:14:51 -08:00
John Benediktsson 069d09807e math.bitwise: removing bit-clear? since it is just "bit? not". 2013-11-24 12:05:52 -08:00
John Benediktsson 17941b8ad7 math.bitwise: speed up >signed. 2013-11-24 12:01:08 -08:00
John Benediktsson 5486473b52 math.bitwise: adding bit-length. 2013-10-20 18:55:58 -07:00
John Benediktsson e9c6bf6b9a math.combinatorics: faster combinations by inlining next-combination. 2013-10-14 15:44:19 -07:00
John Benediktsson a5f59da7e1 math.bitwise: fix mask? to do what the docs say. 2013-10-13 20:20:05 -07:00
John Benediktsson d76f8d151d math.combinatorics: adding all-combinations? and all-permutations?. 2013-10-01 20:44:57 -07:00
John Benediktsson 519652d862 math.functions: whoops, back out mistaken commit. 2013-07-24 14:55:13 -07:00
John Benediktsson c75fc48f23 switch some vocabs to 4 spaces. 2013-07-24 14:52:09 -07:00
John Benediktsson aa779eaba8 math.statistics: use >array instead of { } clone-like. 2013-06-25 15:40:33 -07:00
Doug Coleman 4df945e3db math.statistics: Handle some edge cases.
Remove two unused parameters.
2013-06-17 10:16:28 -07:00
Doug Coleman 49c0b12b33 math.statistics: Add trimean. 2013-06-17 10:16:28 -07:00
Doug Coleman d3df35102a math.statistics: [-] Golfed. 2013-06-17 07:36:55 -07:00
Doug Coleman 77abc31e3b math.statistics: Fix out of bounds on quantiles that should return the first element. 2013-06-17 07:21:45 -07:00
John Benediktsson 6c6664b0b8 math.combinatorics: specialized version of nths-unsafe for performance. 2013-06-14 11:27:45 -07:00
John Benediktsson 917ae3e410 math.combinatorics: use cond in k-permutations. 2013-05-15 15:09:25 -07:00
John Benediktsson c1e91316d2 math.combinatorics: adding a k-permutations virtual sequence. 2013-05-15 15:05:38 -07:00
John Benediktsson 5ee7f10f19 math.matrices: simpler square-rows. 2013-05-14 13:52:24 -07:00
John Benediktsson bcbf3198f7 math.matrices: faster square-rows and square-cols. 2013-05-14 13:46:44 -07:00
John Benediktsson fe45a08054 math.ranges: implement sum on ranges. 2013-05-06 16:01:29 -07:00
John Benediktsson 720db54f61 math.statistics: change kth-object to properly clone underlying sequence first. 2013-05-06 10:40:53 -07:00
John Benediktsson 6a4638fa0f math.statistics: faster cum-mean. 2013-05-06 09:12:40 -07:00
John Benediktsson 0d806e0b69 Revert "math.statistics: change cum-mean to use v/."
This reverts commit 9df2235d8983da67d106a6d5fb297134e5e2a58e.
2013-05-06 09:08:11 -07:00
John Benediktsson b01b14c0e2 math.statistics: change cum-mean to use v/. 2013-05-06 08:59:02 -07:00
lorynj ca7dd6a6a3 cum-mean
Added a word to calculate cumulative mean.

Signed-off-by: lorynj <lorynj@gmail.com>
2013-05-06 08:15:39 -07:00
John Benediktsson c1ab4aab59 math.combinatorics: faster by using hints for the array common case. 2013-05-01 11:18:17 -07:00
John Benediktsson 57b7a5fd6f math.matrices: add tests for square-matrix?. 2013-04-25 14:48:16 -07:00
John Benediktsson 55b2fb0802 math.functions: implement ldexp. 2013-04-24 11:19:24 -07:00
John Benediktsson 35e23dc547 math.statistics: make collect-by row polymorphic, simplify words. 2013-04-22 06:25:50 -07:00