John Benediktsson
40e79d4b56
sequences.extras: faster longest-subseq, cleanup other words.
2012-04-25 16:30:08 -07:00
John Benediktsson
a976e31f39
sequences.extras: adding map-sift and map-harvest.
2012-04-25 15:58:18 -07:00
John Benediktsson
9bc6e29506
sequences.extras: adding map-filter.
2012-04-25 15:50:35 -07:00
John Benediktsson
61b3c26e1b
sequences.extras: adding map-concat.
2012-04-25 13:28:56 -07:00
John Benediktsson
f3e1dc5b98
Use "map-sum" instead of "map sum".
2012-04-25 13:18:21 -07:00
John Benediktsson
6f89c1824d
change to in-place reverse.
2012-04-24 18:51:46 -07:00
John Benediktsson
817b45ee03
math.combinatorics: minor performance improvements.
2012-04-24 18:42:34 -07:00
John Benediktsson
fc50417e43
benchmark.combinatorics: adding a combinatorics benchmark.
2012-04-24 17:29:26 -07:00
John Benediktsson
476781cdd9
sequences.extras: adding rotate and rotate! words.
2012-04-24 16:59:17 -07:00
John Benediktsson
f24e40800a
math.combinatorics: faster version of factorial.
2012-04-24 10:06:00 -07:00
Doug Coleman
cd9394f8c6
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
7cb094d521
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
b9bcfdab8e
math.combinatorics: adding <combinations> and <permutations> sequences.
2012-04-23 08:30:22 -07:00
Doug Coleman
7ad089b682
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
c00ddde434
math.combinatorics: fix failed find combinations/permutations.
2012-04-21 20:11:47 -07:00
John Benediktsson
bada993f78
math.combinatorics: adding find-combination and find-permutation.
2012-04-20 23:31:40 -07:00
John Benediktsson
0650495414
math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words.
2012-04-20 20:09:54 -07:00
John Benediktsson
60b83c7241
benchmark.make: use % (push-all).
2012-04-20 10:51:51 -07:00
John Benediktsson
7f7cb5cdf9
benchmark.make: adding a simple make benchmark.
2012-04-20 10:41:50 -07:00
John Benediktsson
74b8e390f4
make: most sequences are less than 32.
2012-04-19 22:02:47 -07:00
John Benediktsson
5b83dc2e90
sequences.extras: adding slice-when (non-destructive split-when).
2012-04-19 16:41:44 -07:00
John Benediktsson
449814a387
math.primes.twins: calculating twin primes.
2012-04-19 15:14:31 -07:00
John Benediktsson
7a15418cf4
math.functions: adding another test for roots.
2012-04-19 13:34:42 -07:00
John Benediktsson
adc7b22997
math.functions: adding "roots" word to get arbitrary roots from numbers.
2012-04-19 12:19:14 -07:00
John Benediktsson
1e8eb18216
math.functions: adding docs and tests for ^mod.
2012-04-19 08:20:11 -07:00
John Benediktsson
8c1165cac1
cleanup some lint warnings.
2012-04-18 17:46:01 -07:00
John Benediktsson
e3e6e12c6a
classes.struct: add some docs for read-struct.
2012-04-18 16:02:00 -07:00
John Benediktsson
4c416bc308
classes.struct: adding a read-struct word.
2012-04-18 16:00:29 -07:00
John Benediktsson
a99afa996c
splitting: fix docs for split1-when.
2012-04-18 15:59:08 -07:00
John Benediktsson
94b73d9371
splitting: adding split1-when.
2012-04-18 15:55:15 -07:00
Doug Coleman
0322b4d028
math.combinators: Add filter-permutations/combinations. Minor cleanup.
2012-04-18 15:18:54 -07:00
Doug Coleman
229d0e0549
math.combinators: Add map-permutation
2012-04-18 15:18:54 -07:00
Doug Coleman
161cd8222c
sequences.extras: Experimenting with collapse, compact words. Add even/odd-indices words.
2012-04-18 15:18:54 -07:00
John Benediktsson
9e9d830ec0
random: adding rayleigh, gumbel, logistic, and power random floats.
2012-04-18 14:37:27 -07:00
John Benediktsson
8e0df4df9c
24-game: remove broken "spin" definition.
2012-04-18 12:11:41 -07:00
John Benediktsson
837b22336e
classes.algebra: make class= and only-classoid? use short-circuit logic.
2012-04-18 12:00:24 -07:00
John Benediktsson
ef87f81022
sequences.extras: adding a version of filter that uses an elements index.
2012-04-18 10:47:25 -07:00
John Benediktsson
cbd6f2cae1
bootstrap.image.upload: fix checksums location to use new temp dir.
2012-04-17 20:49:19 -07:00
John Benediktsson
c7b6003233
sequences: fixing "Cannot apply 'call' to a run-time computed value" error in map-reduce and 2map-reduce.
2012-04-17 19:04:10 -07:00
John Benediktsson
2407ee0234
sequences: make map-reduce 5-20% faster, and 2map-reduce 3-5% faster.
2012-04-17 17:58:19 -07:00
John Benediktsson
db60f6e8c9
sequences: adding a test for map-reduce.
2012-04-16 17:52:21 -07:00
John Benediktsson
17d9b1ba40
sequences.extras: faster minimum/maximum.
2012-04-16 15:09:44 -07:00
John Benediktsson
ba663e2fd5
cocoa.plists: import cocoa to fix bootstrap issue.
2012-04-16 12:06:42 -07:00
Joe Groff
8b9b8df457
io.files.temp.windows: fix up
2012-04-16 11:55:33 -07:00
Joe Groff
5948f53725
change temp-file to cache-file where appropriate
2012-04-16 11:55:27 -07:00
Joe Groff
480545a683
io.files.temp: use OS tmp dir; add cache-directory
...
Change temp-directory to return an OS-sanctioned temporary directory instead of "resource:temp". Add a new function cache-directory to return an OS-sanctioned directory for storing staging images etc. Fixes #365 .
Windows implementation needs to be finished and tested.
2012-04-16 11:55:22 -07:00
John Benediktsson
ca4d5cbde0
hash-sets: speed up diff, intersect, and union.
2012-04-16 10:58:08 -07:00
John Benediktsson
0c16b7cc1a
benchmark.hash-sets: adding a benchmark for hash-sets.
2012-04-16 10:57:57 -07:00
John Benediktsson
cdd4de2cb3
sequences.extras: adding change-nths word.
2012-04-15 10:34:23 -07:00
John Benediktsson
33ae12ed1e
sequences.extras: adding pad-longest.
2012-04-15 10:32:45 -07:00