John Benediktsson
84d7136a12
change to in-place reverse.
2012-04-24 18:51:46 -07:00
John Benediktsson
6323018b8a
math.combinatorics: minor performance improvements.
2012-04-24 18:42:34 -07:00
John Benediktsson
b36ccb2fed
benchmark.combinatorics: adding a combinatorics benchmark.
2012-04-24 17:29:26 -07:00
John Benediktsson
f6745d670f
sequences.extras: adding rotate and rotate! words.
2012-04-24 16:59:17 -07:00
John Benediktsson
8fe84dc35d
math.combinatorics: faster version of factorial.
2012-04-24 10:06:00 -07:00
Doug Coleman
fdcb9b93d7
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
222e76bed6
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
b668db8df6
math.combinatorics: adding <combinations> and <permutations> sequences.
2012-04-23 08:30:22 -07:00
Doug Coleman
5f4d67dc77
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
aa0321ebd9
math.combinatorics: fix failed find combinations/permutations.
2012-04-21 20:11:47 -07:00
John Benediktsson
fcc30ee39f
math.combinatorics: adding find-combination and find-permutation.
2012-04-20 23:31:40 -07:00
John Benediktsson
ce77d846c3
math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words.
2012-04-20 20:09:54 -07:00
John Benediktsson
b33772377c
benchmark.make: use % (push-all).
2012-04-20 10:51:51 -07:00
John Benediktsson
6e915bfcf7
benchmark.make: adding a simple make benchmark.
2012-04-20 10:41:50 -07:00
John Benediktsson
f27cbd80d4
make: most sequences are less than 32.
2012-04-19 22:02:47 -07:00
John Benediktsson
c58ad80e62
sequences.extras: adding slice-when (non-destructive split-when).
2012-04-19 16:41:44 -07:00
John Benediktsson
e34fa1065a
math.primes.twins: calculating twin primes.
2012-04-19 15:14:31 -07:00
John Benediktsson
cf3e318f31
math.functions: adding another test for roots.
2012-04-19 13:34:42 -07:00
John Benediktsson
13a4e3f2a8
math.functions: adding "roots" word to get arbitrary roots from numbers.
2012-04-19 12:19:14 -07:00
John Benediktsson
e05002f70a
math.functions: adding docs and tests for ^mod.
2012-04-19 08:20:11 -07:00
John Benediktsson
33f741ec2e
cleanup some lint warnings.
2012-04-18 17:46:01 -07:00
John Benediktsson
5127f962dc
classes.struct: add some docs for read-struct.
2012-04-18 16:02:00 -07:00
John Benediktsson
9229d54df8
classes.struct: adding a read-struct word.
2012-04-18 16:00:29 -07:00
John Benediktsson
06afd2f5cb
splitting: fix docs for split1-when.
2012-04-18 15:59:08 -07:00
John Benediktsson
12ead33e57
splitting: adding split1-when.
2012-04-18 15:55:15 -07:00
Doug Coleman
51cad6ce67
math.combinators: Add filter-permutations/combinations. Minor cleanup.
2012-04-18 15:18:54 -07:00
Doug Coleman
f55c723d61
math.combinators: Add map-permutation
2012-04-18 15:18:54 -07:00
Doug Coleman
50f1b1536c
sequences.extras: Experimenting with collapse, compact words. Add even/odd-indices words.
2012-04-18 15:18:54 -07:00
John Benediktsson
608e929b45
random: adding rayleigh, gumbel, logistic, and power random floats.
2012-04-18 14:37:27 -07:00
John Benediktsson
74dab6492f
24-game: remove broken "spin" definition.
2012-04-18 12:11:41 -07:00
John Benediktsson
19421c902c
classes.algebra: make class= and only-classoid? use short-circuit logic.
2012-04-18 12:00:24 -07:00
John Benediktsson
7f4e204fdf
sequences.extras: adding a version of filter that uses an elements index.
2012-04-18 10:47:25 -07:00
John Benediktsson
99e80166f7
bootstrap.image.upload: fix checksums location to use new temp dir.
2012-04-17 20:49:19 -07:00
John Benediktsson
5e524e82e3
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
d47d2e5a5d
sequences: make map-reduce 5-20% faster, and 2map-reduce 3-5% faster.
2012-04-17 17:58:19 -07:00
John Benediktsson
52ee9c2516
sequences: adding a test for map-reduce.
2012-04-16 17:52:21 -07:00
John Benediktsson
e9766348a3
sequences.extras: faster minimum/maximum.
2012-04-16 15:09:44 -07:00
John Benediktsson
7f89878537
cocoa.plists: import cocoa to fix bootstrap issue.
2012-04-16 12:06:42 -07:00
Joe Groff
7d3d170638
io.files.temp.windows: fix up
2012-04-16 11:55:33 -07:00
Joe Groff
1f34d9d351
change temp-file to cache-file where appropriate
2012-04-16 11:55:27 -07:00
Joe Groff
f11e64e5a8
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
b0a2027e71
hash-sets: speed up diff, intersect, and union.
2012-04-16 10:58:08 -07:00
John Benediktsson
cbde9a4643
benchmark.hash-sets: adding a benchmark for hash-sets.
2012-04-16 10:57:57 -07:00
John Benediktsson
f938ab0d5e
sequences.extras: adding change-nths word.
2012-04-15 10:34:23 -07:00
John Benediktsson
5039eb0a99
sequences.extras: adding pad-longest.
2012-04-15 10:32:45 -07:00
John Benediktsson
48278fb7e3
sequences.extras: adding all-subseqs, each-subseq, longest-subseq, and generalized minimum/maximum words.
2012-04-15 10:31:06 -07:00
John Benediktsson
5c92d51e28
random: adding some tests for the random distributions.
2012-04-15 10:16:06 -07:00
John Benediktsson
9b8a781d15
random: adding laplace, cauchy, chi-square, student's t, and inverse gamma distributions.
2012-04-14 21:00:19 -07:00
John Benediktsson
62b39c8764
math.statistics: adding cumulative versions of sum, product, min, and max.
2012-04-12 10:30:16 -07:00
Doug Coleman
1e4888e9fd
vm: Typo for SITE_CFLAGS. Fixes #491 .
2012-04-10 16:28:04 -07:00