Doug Coleman
4ec2311406
factor: Trim whitespace after ! comments and a few USING: lines that got skipped before.
2015-07-18 20:14:22 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
0fb0eaa1cf
random: simplify using bitwise operations.
2014-02-25 15:59:51 -08:00
Doug Coleman
48562e6e48
random.mersenne-twister: Don't use system-random-generator to initialize
...
Mersenne Twister. If there is no system random generator, startup can
fail.
2014-02-14 18:48:25 -08:00
John Benediktsson
9aa160ad91
random.mersenne-twister: fix name of stack effect.
2014-02-09 11:00:57 -08:00
John Benediktsson
d9961f5f4a
random.mersenne-twister: more complete fix for bias.
2014-02-07 11:56:29 -08:00
John Benediktsson
0110bd49f1
random.mersenne-twister: fix non-random bias.
2014-02-07 07:31:53 -08:00
John Benediktsson
a718127fd1
random: some cleanup.
2014-02-06 18:17:03 -08:00
John Benediktsson
c02fc27afc
random: faster random-bits, make some things private.
2014-02-06 17:54:33 -08:00
John Benediktsson
986714489d
random: 40% faster random-bytes*.
2014-02-06 11:05:16 -08:00
John Benediktsson
135c0bd5ed
random: add help for random-unit.
2013-12-13 10:11:51 -08:00
Doug Coleman
2f2e04ca45
random.windows: Saw in the pastebin that some Windows installs still don't
...
start with this code. Just set the system and secure RNGs to f, and
calling them will throw an error. The Mersenne Twister is still the
default anyway.
2013-07-27 13:28:20 -07:00
John Benediktsson
4af98fa568
random: use nths-unsafe in sample.
2013-04-06 14:29:47 -07:00
John Benediktsson
04af5f2ffb
hash-sets: faster implementation based on hashtables.
2013-03-07 21:43:17 -08:00
John Benediktsson
be7c981462
random: format delete-random better.
2013-03-03 17:32:53 -08:00
John Benediktsson
c2f09e9533
random: speed up some random floats using (random-unit).
2013-03-01 09:33:20 -08:00
John Benediktsson
5094a7f460
random: adding (random-unit) for convenience.
2013-03-01 09:27:20 -08:00
John Benediktsson
2af325dc83
random: speedup random-integer some more.
...
Better code generation by specializing on fixnum/bignum.
2013-02-28 19:47:55 -08:00
John Benediktsson
927414c6c5
random: minor speedup (random-bits).
2013-02-27 15:26:56 -08:00
John Benediktsson
29b8c4b993
random: speedup randomize.
2013-02-27 14:51:29 -08:00
John Benediktsson
b47a737321
random: speed up uniform-random-float.
2013-02-27 14:40:56 -08:00
John Benediktsson
8a5411cfc1
random: performance improvements to random-integer and random-bits.
2013-02-27 14:05:46 -08:00
Doug Coleman
ae276ec225
random: Add poisson-random-float.
2012-12-31 11:02:56 -08:00
John Benediktsson
e8d50a2d08
random: support random on sets.
2012-10-05 15:35:22 -07:00
John Benediktsson
9dafa325a5
random: support "random" on floats (uses uniform-random-float).
2012-10-05 14:47:40 -07:00
John Benediktsson
fc5f9451e8
random: implement random for assocs.
2012-10-03 10:08:08 -07:00
Doug Coleman
afb2a6eabb
random: Bump up the random unit tests from 50k to 500k. At 50k, pareto doesn't have enough samples to get the right std. At 500k, it should never fail again..
2012-08-16 14:14:08 -07:00
John Benediktsson
676cc18215
random.data: make constants available to random.data.
2012-08-04 19:17:56 -07:00
Jon Harper
ce01c2b411
random-string: make letters and numbers equiprobable
2012-08-04 17:32:33 -07:00
John Benediktsson
4f418b14af
random: faster random-units and random-integers.
2012-07-31 20:24:56 -07:00
Doug Coleman
cfdbf02a9a
random: More leeway for pareto unit test. Python's pareto distribution behaves the same, with a wide variance. Maybe both are busted, or is that just expected from pareto? Fixes #564 .
2012-07-26 12:19:21 -07:00
Doug Coleman
46c5d64251
random: Add random-integers and random-units words.
2012-06-20 21:42:15 -07:00
Doug Coleman
f6398365bd
math.functions: rename exp to e^ to be consistent with 2^ and 10^. update things.
2012-05-02 10:22:23 -07:00
John Benediktsson
9e9d830ec0
random: adding rayleigh, gumbel, logistic, and power random floats.
2012-04-18 14:37:27 -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
Doug Coleman
8af39377d1
random: Add a k parameter for pareto. Add some unit tests.
2012-04-03 16:27:04 -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