Commit Graph

926 Commits (a3eba146fd90cc9e93e721004d0e93a22541efa4)

Author SHA1 Message Date
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
John Benediktsson 3ca65a2b47 math.combinatorics: fix map>assoc-combinations (shouldn't have been locals). 2013-04-18 09:04:47 -07:00
John Benediktsson 02d652e6c0 math.combinatorics: minor fix to reduce-combinations stack effect. 2013-04-18 07:17:36 -07:00
John Benediktsson 77b3d509be math.combinatorics: cleanup stack effects to be more descriptive. 2013-04-18 07:15:47 -07:00
John Benediktsson 81f733493d math.combinatorics: much faster permutations, cleanup combinations code. 2013-04-18 07:04:17 -07:00
John Benediktsson 433adf8dd2 math.combinatorics: big speedup to combinations. 2013-04-17 20:57:48 -07:00
John Benediktsson 3862c4f9b5 math.combinatorics: remove duplicate nths-unsafe. 2013-04-06 14:29:47 -07:00
John Benediktsson decd9ed1ee math.combinatorics: make permutations-quot to reduce code duplication. 2013-04-06 13:12:57 -07:00
John Benediktsson b646d1e1b8 math.combinatorics: produce type of sequence in selections. 2013-04-06 13:06:23 -07:00
John Benediktsson 64111e1342 math.combinatorics: use nth-unsafe more. 2013-04-06 12:43:02 -07:00
John Benediktsson d15dbaebb4 math.combinatorics: faster nCk (use integer division). 2013-04-06 11:43:20 -07:00
John Benediktsson a52ee59005 math.combinatorics: faster permutation (using slices). 2013-04-05 07:28:22 -07:00
John Benediktsson 360c2ee5a7 math.functions: remove round-to. 2013-04-01 17:02:44 -07:00
John Benediktsson e5f9696aae math.ratios: adding some tests for M\ ratio /mod. 2013-03-29 08:32:35 -07:00
John Benediktsson 71d37429ba math.functions: faster >rect by specializing for complex. 2013-03-28 18:02:55 -07:00
John Benediktsson b38f42f73c math.ratios: faster M\ ratio mod. 2013-03-28 15:00:21 -07:00