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
John Benediktsson
c6bd2313ba
sequences.extras: adding all-subseqs, each-subseq, longest-subseq, and generalized minimum/maximum words.
2012-04-15 10:31:06 -07:00
John Benediktsson
1c66fbf086
random: adding some tests for the random distributions.
2012-04-15 10:16:06 -07:00
John Benediktsson
ee499cd63d
random: adding laplace, cauchy, chi-square, student's t, and inverse gamma distributions.
2012-04-14 21:00:19 -07:00
John Benediktsson
e9ffd2da37
math.statistics: adding cumulative versions of sum, product, min, and max.
2012-04-12 10:30:16 -07:00
Doug Coleman
c577a5468e
vm: Typo for SITE_CFLAGS. Fixes #491 .
2012-04-10 16:28:04 -07:00
Doug Coleman
021e0f2ce6
math.statistics: Fix docs for help-lint.
2012-04-10 08:52:12 -07:00
John Benediktsson
236dd2cc97
math.combinatorics: fix help-lint.
2012-04-09 11:43:22 -07:00
John Benediktsson
5794ab46a0
vm: use euclid gcd on win64 until we find a better way to do the 128-bit math.
2012-04-06 11:42:59 -07:00
John Benediktsson
eb556bfb06
vm: use twodigit type for all variables (fixes 32-bit warning).
2012-04-06 09:36:25 -07:00
John Benediktsson
cf34ff72e3
Revert "ascii: adding title case."
...
This reverts commit 66ecd199d8
.
2012-04-05 14:37:56 -07:00
John Benediktsson
d97c4f35a9
ascii: adding title case.
2012-04-05 13:56:20 -07:00
John Benediktsson
214195e56a
Revert "math.functions: simpler without "simple-gcd"."
...
This reverts commit aa7f60ebbc
.
2012-04-05 10:34:50 -07:00
John Benediktsson
b240519bff
math.functions: simpler without "simple-gcd".
2012-04-05 10:31:46 -07:00
Doug Coleman
4a29dafcdf
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 .
2012-04-05 10:26:50 -07:00
John Benediktsson
b2ffda32ca
math: adding a fast-gcd that speeds up all ratio operations by up to 10 times for bignum ratios.
2012-04-05 09:17:52 -07:00
John Benediktsson
22c26ff3f5
vm: adding bignum_gcd primitive.
2012-04-05 09:17:35 -07:00
Doug Coleman
8af39377d1
random: Add a k parameter for pareto. Add some unit tests.
2012-04-03 16:27:04 -07:00
John Benediktsson
57231bfef4
math.statistics: change 'var' to 'sample-var' and implement variance, covariance, and correlation.
2012-04-02 17:12:32 -07:00
otoburb
30d8b5211e
io.pathnames: removed dependency on environment.
...
I had an erroneous dependency on basis/environment.
2012-03-30 21:03:01 -07:00
otoburb
152c301d49
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 "~/~").
2012-03-30 21:01:57 -07:00
otoburb
cb6eb8b2bd
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.
2012-03-30 21:01:46 -07:00
John Benediktsson
71dfe9bb14
random: adding triangular distribution.
2012-03-30 19:53:30 -07:00
John Benediktsson
1b4d9ba83e
random: adding von-mises distribution.
2012-03-30 19:43:51 -07:00
John Benediktsson
2682e7ec7f
random: implement gamma distribution, fix beta to use it.
2012-03-30 19:30:29 -07:00
Doug Coleman
8e3f0cdeac
random: Change weibull-random-float to use alpha/beta parameters.
2012-03-30 18:38:18 -07:00
Doug Coleman
6686cae347
random: Add random-unit word. 1 random-unit - is the same distribution, as Joe pointed out, so remove that. Use random-unit in librarie.
2012-03-30 18:04:45 -07:00
John Benediktsson
b23f3f8d56
random: 1 swap - was redundant.
2012-03-30 17:57:40 -07:00
John Benediktsson
1e7382b893
random: gauss-random-float is just normal-random-float.
2012-03-30 17:55:18 -07:00
John Benediktsson
1a8e52379a
random: adding lognormal, exponential, weibull, pareto, gauss, and beta distributions.
2012-03-30 17:33:13 -07:00
John Benediktsson
4f046a2339
math.vectors: separate "dot product" from "Hermitian inner product". Fixes #484 .
2012-03-29 10:56:39 -07:00
John Benediktsson
70f0b151fb
Merge branch 'master' of github.com:mrjbq7/factor
2012-03-29 10:51:19 -07:00
Joe Groff
83a3a0346b
io.files: check argv when initing resource-path
2012-03-27 16:58:12 -07:00
Joe Groff
64a746be73
webbrowser: move to basis for tools.deploy.unix
2012-03-26 10:18:10 -07:00
Felix Kaiser
5ed361552a
fix build for linux (issue #480 ). thanks, jcollado!
2012-03-25 14:45:17 -07:00
Joe Groff
526ff277d0
parse -resource-path= during bootstrap
2012-03-25 14:02:32 -07:00