Commit Graph

23278 Commits (1c66fbf0863c63e6a567338b1895c43c5b24b29b)

Author SHA1 Message Date
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
Felix Kaiser 521ef2908e fix build for linux (issue #480). thanks, jcollado! 2012-03-16 17:24:26 -07:00
John Benediktsson 442dae75ea wolfram-alpha: display error if query unsuccessful. 2012-03-07 17:55:23 -08:00
Doug Coleman 683c9c2475 units.imperial: How much is a liter? About eight gills. 2012-03-04 19:43:27 -08:00
Joe Groff 24ca1b02b7 ui.tools.listener: dumb hack to set listener font 2012-03-04 13:08:22 -08:00
John Benediktsson 7a07e8742c math.combinatorics: fix tests for next-permutation. 2012-03-02 10:05:57 -08:00
John Benediktsson 7bb807d441 math.combinatorics: fix docs for next-permutation. 2012-03-02 09:55:22 -08:00
John Benediktsson 8d56193edd math.combinatorics: implementing "next-permutation". 2012-03-02 09:54:35 -08:00
Joe Groff 9ee314b906 audio.gadget: create/dispose clip on graft/ungraft 2012-02-22 15:46:45 -08:00
Joe Groff 273b5115bf add content-gadget hook for inspector
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff ff990717f8 audio.gadget: printable audio play button 2012-02-20 23:49:01 -08:00
Joe Groff 3f9b2ef47a use clang when building w/ xcode >4.3; it's faster 2012-02-18 23:40:38 -08:00
Joe Groff 119fd8b6ce factor.sh: note xcode 4.3 command line tools req 2012-02-18 23:23:47 -08:00
Joe Groff 4db4b3e171 ui.gadgets.panes: add gadget-alt-text
Provide a default implementation of write-gadget that writes plain text to a stream that doesn't support gadgets.
2012-02-18 21:59:30 -08:00
Doug Coleman ee721d1811 kernel: Change the example for with to be more clear. Division example credit goes to chezmax. 2012-02-16 09:49:08 -08:00
John Benediktsson 3c63275ee6 system-info.macosx: adding "Mountain Lion". 2012-02-16 08:30:56 -08:00
Guillermo Alcantara 63657a07c8 Add the banner. It should give the instructions before asking for a guess. 2012-02-09 08:13:25 -08:00