]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Fri, 27 Apr 2012 20:41:47 +0000 (13:41 -0700)]
sequences: adding find-index-from.
John Benediktsson [Fri, 27 Apr 2012 20:17:03 +0000 (13:17 -0700)]
tools.deploy: fix location of port-number file.
John Benediktsson [Fri, 27 Apr 2012 19:05:51 +0000 (12:05 -0700)]
ctags.etags: remove unnecessary test.
John Benediktsson [Fri, 27 Apr 2012 18:39:20 +0000 (11:39 -0700)]
assocs.extras: adding assoc-harvest and assoc-sift.
John Benediktsson [Fri, 27 Apr 2012 15:48:57 +0000 (08:48 -0700)]
splitting: fixing split1-last.
John Benediktsson [Fri, 27 Apr 2012 01:40:59 +0000 (18:40 -0700)]
math.statistics: adding entropy function.
John Benediktsson [Thu, 26 Apr 2012 23:58:09 +0000 (16:58 -0700)]
project-euler: fix shadowing of permutations?.
John Benediktsson [Thu, 26 Apr 2012 22:07:39 +0000 (15:07 -0700)]
sequences.extras: fixing map-concat to return type of first mapped value.
John Benediktsson [Thu, 26 Apr 2012 03:09:36 +0000 (20:09 -0700)]
using reverse! when possible.
John Benediktsson [Thu, 26 Apr 2012 03:09:21 +0000 (20:09 -0700)]
assocs: 50% faster zip.
John Benediktsson [Wed, 25 Apr 2012 23:30:08 +0000 (16:30 -0700)]
sequences.extras: faster longest-subseq, cleanup other words.
John Benediktsson [Wed, 25 Apr 2012 22:58:18 +0000 (15:58 -0700)]
sequences.extras: adding map-sift and map-harvest.
John Benediktsson [Wed, 25 Apr 2012 22:50:35 +0000 (15:50 -0700)]
sequences.extras: adding map-filter.
John Benediktsson [Wed, 25 Apr 2012 20:28:56 +0000 (13:28 -0700)]
sequences.extras: adding map-concat.
John Benediktsson [Wed, 25 Apr 2012 20:18:21 +0000 (13:18 -0700)]
Use "map-sum" instead of "map sum".
John Benediktsson [Wed, 25 Apr 2012 01:51:46 +0000 (18:51 -0700)]
change to in-place reverse.
John Benediktsson [Wed, 25 Apr 2012 01:42:34 +0000 (18:42 -0700)]
math.combinatorics: minor performance improvements.
John Benediktsson [Wed, 25 Apr 2012 00:29:26 +0000 (17:29 -0700)]
benchmark.combinatorics: adding a combinatorics benchmark.
John Benediktsson [Tue, 24 Apr 2012 23:59:17 +0000 (16:59 -0700)]
sequences.extras: adding rotate and rotate! words.
John Benediktsson [Tue, 24 Apr 2012 17:03:45 +0000 (10:03 -0700)]
math.combinatorics: faster version of factorial.
Doug Coleman [Tue, 24 Apr 2012 10:17:50 +0000 (03:17 -0700)]
math.statistics: Add eight methods for calculating quantiles. Add quartile. Add kth-smallests et al, refactor medians.
Doug Coleman [Mon, 23 Apr 2012 20:55:25 +0000 (13:55 -0700)]
math.statistics: Make a safe version of kth-object. Bounds check k w/ regards to seq.
John Benediktsson [Mon, 23 Apr 2012 15:29:20 +0000 (08:29 -0700)]
math.combinatorics: adding <combinations> and <permutations> sequences.
Doug Coleman [Mon, 23 Apr 2012 06:41:13 +0000 (23:41 -0700)]
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.
John Benediktsson [Sun, 22 Apr 2012 03:11:47 +0000 (20:11 -0700)]
math.combinatorics: fix failed find combinations/permutations.
John Benediktsson [Sat, 21 Apr 2012 06:31:40 +0000 (23:31 -0700)]
math.combinatorics: adding find-combination and find-permutation.
John Benediktsson [Sat, 21 Apr 2012 03:09:54 +0000 (20:09 -0700)]
math.extras: adding sterling numbers, bernoulli numbers, chi-square and inverse-chi-square words.
John Benediktsson [Fri, 20 Apr 2012 17:51:51 +0000 (10:51 -0700)]
benchmark.make: use % (push-all).
John Benediktsson [Fri, 20 Apr 2012 17:41:50 +0000 (10:41 -0700)]
benchmark.make: adding a simple make benchmark.
John Benediktsson [Fri, 20 Apr 2012 05:02:47 +0000 (22:02 -0700)]
make: most sequences are less than 32.
John Benediktsson [Thu, 19 Apr 2012 23:41:44 +0000 (16:41 -0700)]
sequences.extras: adding slice-when (non-destructive split-when).
John Benediktsson [Thu, 19 Apr 2012 22:14:31 +0000 (15:14 -0700)]
math.primes.twins: calculating twin primes.
John Benediktsson [Thu, 19 Apr 2012 20:34:42 +0000 (13:34 -0700)]
math.functions: adding another test for roots.
John Benediktsson [Thu, 19 Apr 2012 19:19:14 +0000 (12:19 -0700)]
math.functions: adding "roots" word to get arbitrary roots from numbers.
John Benediktsson [Thu, 19 Apr 2012 15:20:11 +0000 (08:20 -0700)]
math.functions: adding docs and tests for ^mod.
John Benediktsson [Thu, 19 Apr 2012 00:46:01 +0000 (17:46 -0700)]
cleanup some lint warnings.
John Benediktsson [Wed, 18 Apr 2012 23:02:00 +0000 (16:02 -0700)]
classes.struct: add some docs for read-struct.
John Benediktsson [Wed, 18 Apr 2012 23:00:29 +0000 (16:00 -0700)]
classes.struct: adding a read-struct word.
John Benediktsson [Wed, 18 Apr 2012 22:59:08 +0000 (15:59 -0700)]
splitting: fix docs for split1-when.
John Benediktsson [Wed, 18 Apr 2012 22:55:15 +0000 (15:55 -0700)]
splitting: adding split1-when.
Doug Coleman [Wed, 18 Apr 2012 22:17:48 +0000 (15:17 -0700)]
math.combinators: Add filter-permutations/combinations. Minor cleanup.
Doug Coleman [Wed, 18 Apr 2012 21:43:08 +0000 (14:43 -0700)]
math.combinators: Add map-permutation
Doug Coleman [Wed, 18 Apr 2012 21:06:41 +0000 (14:06 -0700)]
sequences.extras: Experimenting with collapse, compact words. Add even/odd-indices words.
John Benediktsson [Wed, 18 Apr 2012 21:37:27 +0000 (14:37 -0700)]
random: adding rayleigh, gumbel, logistic, and power random floats.
John Benediktsson [Wed, 18 Apr 2012 19:11:41 +0000 (12:11 -0700)]
24-game: remove broken "spin" definition.
John Benediktsson [Wed, 18 Apr 2012 19:00:24 +0000 (12:00 -0700)]
classes.algebra: make class= and only-classoid? use short-circuit logic.
John Benediktsson [Wed, 18 Apr 2012 17:47:25 +0000 (10:47 -0700)]
sequences.extras: adding a version of filter that uses an elements index.
John Benediktsson [Wed, 18 Apr 2012 03:49:19 +0000 (20:49 -0700)]
bootstrap.image.upload: fix checksums location to use new temp dir.
John Benediktsson [Wed, 18 Apr 2012 02:04:10 +0000 (19:04 -0700)]
sequences: fixing "Cannot apply 'call' to a run-time computed value" error in map-reduce and 2map-reduce.
John Benediktsson [Wed, 18 Apr 2012 00:58:19 +0000 (17:58 -0700)]
sequences: make map-reduce 5-20% faster, and 2map-reduce 3-5% faster.
John Benediktsson [Tue, 17 Apr 2012 00:52:21 +0000 (17:52 -0700)]
sequences: adding a test for map-reduce.
John Benediktsson [Mon, 16 Apr 2012 22:09:44 +0000 (15:09 -0700)]
sequences.extras: faster minimum/maximum.
John Benediktsson [Mon, 16 Apr 2012 19:06:42 +0000 (12:06 -0700)]
cocoa.plists: import cocoa to fix bootstrap issue.
Joe Groff [Sun, 1 Apr 2012 00:11:38 +0000 (17:11 -0700)]
io.files.temp.windows: fix up
Joe Groff [Sat, 31 Mar 2012 21:49:43 +0000 (14:49 -0700)]
change temp-file to cache-file where appropriate
Joe Groff [Sat, 31 Mar 2012 21:45:59 +0000 (14:45 -0700)]
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.
John Benediktsson [Mon, 16 Apr 2012 17:58:08 +0000 (10:58 -0700)]
hash-sets: speed up diff, intersect, and union.
John Benediktsson [Mon, 16 Apr 2012 17:57:57 +0000 (10:57 -0700)]
benchmark.hash-sets: adding a benchmark for hash-sets.
John Benediktsson [Sun, 15 Apr 2012 17:34:23 +0000 (10:34 -0700)]
sequences.extras: adding change-nths word.
John Benediktsson [Sun, 15 Apr 2012 17:32:45 +0000 (10:32 -0700)]
sequences.extras: adding pad-longest.
John Benediktsson [Sun, 15 Apr 2012 17:31:06 +0000 (10:31 -0700)]
sequences.extras: adding all-subseqs, each-subseq, longest-subseq, and generalized minimum/maximum words.
John Benediktsson [Sun, 15 Apr 2012 17:16:06 +0000 (10:16 -0700)]
random: adding some tests for the random distributions.
John Benediktsson [Sun, 15 Apr 2012 04:00:19 +0000 (21:00 -0700)]
random: adding laplace, cauchy, chi-square, student's t, and inverse gamma distributions.
John Benediktsson [Thu, 12 Apr 2012 17:30:16 +0000 (10:30 -0700)]
math.statistics: adding cumulative versions of sum, product, min, and max.
Doug Coleman [Tue, 10 Apr 2012 23:28:04 +0000 (16:28 -0700)]
vm: Typo for SITE_CFLAGS. Fixes #491.
Doug Coleman [Tue, 10 Apr 2012 15:52:12 +0000 (08:52 -0700)]
math.statistics: Fix docs for help-lint.
John Benediktsson [Mon, 9 Apr 2012 18:43:22 +0000 (11:43 -0700)]
math.combinatorics: fix help-lint.
John Benediktsson [Fri, 6 Apr 2012 18:42:59 +0000 (11:42 -0700)]
vm: use euclid gcd on win64 until we find a better way to do the 128-bit math.
John Benediktsson [Fri, 6 Apr 2012 16:36:25 +0000 (09:36 -0700)]
vm: use twodigit type for all variables (fixes 32-bit warning).
John Benediktsson [Thu, 5 Apr 2012 21:37:56 +0000 (14:37 -0700)]
Revert "ascii: adding title case."
This reverts commit
66ecd199d8ceb208a557d8bce4af3cd2f818145f .
John Benediktsson [Thu, 5 Apr 2012 20:56:20 +0000 (13:56 -0700)]
ascii: adding title case.
John Benediktsson [Thu, 5 Apr 2012 17:34:50 +0000 (10:34 -0700)]
Revert "math.functions: simpler without "simple-gcd"."
This reverts commit
aa7f60ebbc9c87e09a9173e6916624e9c300052c .
John Benediktsson [Thu, 5 Apr 2012 17:31:06 +0000 (10:31 -0700)]
math.functions: simpler without "simple-gcd".
Doug Coleman [Thu, 5 Apr 2012 17:26:50 +0000 (10:26 -0700)]
vm/Config: GNUMakefile doesn't actually put the CFLAGS on the command, so use SITE_CFLAGS instead. Put -m32 in Config.x86.32, -m64 in Config.x86.64. Fixes #488.
John Benediktsson [Thu, 5 Apr 2012 16:17:52 +0000 (09:17 -0700)]
math: adding a fast-gcd that speeds up all ratio operations by up to 10 times for bignum ratios.
John Benediktsson [Thu, 5 Apr 2012 16:17:35 +0000 (09:17 -0700)]
vm: adding bignum_gcd primitive.
Doug Coleman [Sat, 31 Mar 2012 02:52:47 +0000 (19:52 -0700)]
random: Add a k parameter for pareto. Add some unit tests.
John Benediktsson [Tue, 3 Apr 2012 00:12:32 +0000 (17:12 -0700)]
math.statistics: change 'var' to 'sample-var' and implement variance, covariance, and correlation.
otoburb [Thu, 2 Feb 2012 01:26:55 +0000 (17:26 -0800)]
io.pathnames: removed dependency on environment.
I had an erroneous dependency on basis/environment.
otoburb [Wed, 11 Jan 2012 02:25:53 +0000 (02:25 +0000)]
io.pathnames: Revised ~ support to expand on the first tilde, and not on "~/".
This mimics the same behaviour as "ls ~" in the shell, which expands the alias
as a directory, and not as a filename. For the specific edge-case where a
filename called "~" must have a path constructed to it (e.g. "./~" or "~/~").
otoburb [Wed, 21 Dec 2011 16:35:05 +0000 (16:35 +0000)]
io.pathnames: Added ~/ (tilde) prefix recognition as a special pathname.
vocab:, resource: and ~/ are special pathnames. Modified absolute-path word,
added test cases and updated io.pathname documentation.
John Benediktsson [Sat, 31 Mar 2012 02:53:30 +0000 (19:53 -0700)]
random: adding triangular distribution.
John Benediktsson [Sat, 31 Mar 2012 02:43:51 +0000 (19:43 -0700)]
random: adding von-mises distribution.
John Benediktsson [Sat, 31 Mar 2012 02:30:29 +0000 (19:30 -0700)]
random: implement gamma distribution, fix beta to use it.
Doug Coleman [Sat, 31 Mar 2012 01:38:18 +0000 (18:38 -0700)]
random: Change weibull-random-float to use alpha/beta parameters.
Doug Coleman [Sat, 31 Mar 2012 00:56:00 +0000 (17:56 -0700)]
random: Add random-unit word. 1 random-unit - is the same distribution, as Joe pointed out, so remove that. Use random-unit in librarie.
John Benediktsson [Sat, 31 Mar 2012 00:57:40 +0000 (17:57 -0700)]
random: 1 swap - was redundant.
John Benediktsson [Sat, 31 Mar 2012 00:55:18 +0000 (17:55 -0700)]
random: gauss-random-float is just normal-random-float.
John Benediktsson [Sat, 31 Mar 2012 00:33:13 +0000 (17:33 -0700)]
random: adding lognormal, exponential, weibull, pareto, gauss, and beta distributions.
John Benediktsson [Thu, 29 Mar 2012 17:56:39 +0000 (10:56 -0700)]
math.vectors: separate "dot product" from "Hermitian inner product". Fixes #484.
John Benediktsson [Thu, 29 Mar 2012 17:51:19 +0000 (10:51 -0700)]
Merge branch 'master' of github.com:mrjbq7/factor
Joe Groff [Tue, 27 Mar 2012 23:58:12 +0000 (16:58 -0700)]
io.files: check argv when initing resource-path
Joe Groff [Mon, 26 Mar 2012 17:18:10 +0000 (10:18 -0700)]
webbrowser: move to basis for tools.deploy.unix
Felix Kaiser [Tue, 13 Mar 2012 19:05:14 +0000 (20:05 +0100)]
fix build for linux (issue #480). thanks, jcollado!
Joe Groff [Sun, 25 Mar 2012 21:02:16 +0000 (14:02 -0700)]
parse -resource-path= during bootstrap
Felix Kaiser [Tue, 13 Mar 2012 19:05:14 +0000 (20:05 +0100)]
fix build for linux (issue #480). thanks, jcollado!
John Benediktsson [Thu, 8 Mar 2012 01:53:59 +0000 (17:53 -0800)]
wolfram-alpha: display error if query unsuccessful.
Doug Coleman [Wed, 29 Feb 2012 07:33:10 +0000 (23:33 -0800)]
units.imperial: How much is a liter? About eight gills.
Joe Groff [Sun, 4 Mar 2012 21:07:58 +0000 (13:07 -0800)]
ui.tools.listener: dumb hack to set listener font
John Benediktsson [Fri, 2 Mar 2012 18:05:57 +0000 (10:05 -0800)]
math.combinatorics: fix tests for next-permutation.