Commit Graph

228 Commits

Author SHA1 Message Date
75995c59a1 add MIT license 2023-07-24 11:25:29 +02:00
0e7d9d15e4 add no guarantees comment 2023-07-24 11:22:40 +02:00
1b8b6d23c4 readme tweaks 2023-07-24 00:44:40 +02:00
09601c8d46 add links to examples in readme 2023-07-24 00:43:53 +02:00
01770e4a91 fix link v2? 2023-07-24 00:40:33 +02:00
0ee010c472 fix readme link? 2023-07-24 00:40:00 +02:00
c29b3b4559 try adding link in readme 2023-07-24 00:39:17 +02:00
f6562e9f65 mark to-dos as done. 2023-07-24 00:38:28 +02:00
9c19095955 add serious model, add template. 2023-07-24 00:37:45 +02:00
84399e60a2 formatting pass 2023-07-24 00:15:05 +02:00
ef40ef5ae7 change the nuclear probability to monthly 2023-07-24 00:14:44 +02:00
b76a630d58 formatting pass nuclear probabilities 2023-07-23 23:54:15 +02:00
8b32d2d9b6 start adding nuclear probabilities 2023-07-23 23:53:57 +02:00
f8f8bc8de0 fix readme headings 2023-07-23 23:29:57 +02:00
1133d7819c fix README 2023-07-23 21:21:54 +02:00
7694124fec pontificate about tests with wide lognormals 2023-07-23 21:10:56 +02:00
e053a726ee add example of getting confidence interval & misc changes 2023-07-23 19:12:02 +02:00
d531d5571f formatting pass. 2023-07-23 16:30:42 +02:00
c8fd237bbf savepoint, rework tolerance values. 2023-07-23 16:28:44 +02:00
88e998edce formatting pass. 2023-07-23 15:44:22 +02:00
6b2349132b add tests lognormal, and have them use special tolerances. 2023-07-23 15:43:35 +02:00
b80b05ca30 tests for larger beta distributions 2023-07-23 14:01:17 +02:00
95afb7ea1a add tests for normal & beta. 2023-07-23 14:00:14 +02:00
f65699a688 fix floats.h bug, fix std bug, add tests for std. 2023-07-23 13:17:40 +02:00
6e228dcc6b replace all floats (32 bits) with doubles (64 bits)
to fix bug after switching xorshift32 => xorshift64
2023-07-23 13:02:56 +02:00
32033b5c86 stop using pow when possible
https://stackoverflow.com/questions/2940367/what-is-more-efficient-using-pow-to-square-or-just-multiply-it-with-itself
2023-07-23 12:53:46 +02:00
9e1d4ee6d4 move to xorshift64. Better precision. 2023-07-23 12:47:47 +02:00
11286211f7 add xorshift64 + various changes. 2023-07-23 12:44:16 +02:00
98e058bd88 start adding some testing 2023-07-23 12:41:05 +02:00
91e237464e tweak independent samples explanation 2023-07-23 11:29:17 +02:00
5d76f089bd remove scratchpad 2023-07-23 11:27:34 +02:00
930a431012 test correlated/uncorrelated example code. 2023-07-23 11:27:17 +02:00
ddf4a94599 add example 6 to global makefile 2023-07-23 10:10:15 +02:00
2131524017 README tweaks, free seed in examples 2023-07-23 10:09:34 +02:00
08eb790a6d add beta and gamma example/tests 2023-07-23 10:09:03 +02:00
5e39c386f7 fix dumb beta sampling bug 2023-07-23 09:29:00 +02:00
4dad518d3f add efficient beta distribution 2023-07-22 22:24:22 +02:00
3f70915903 fix performance record, add global makefile. 2023-07-22 21:49:00 +02:00
fee06aec65 add gamma distribution & documentation. 2023-07-22 21:40:35 +02:00
baa8a532a2 add to-do item 2023-07-22 19:39:46 +02:00
f9c64426d7 add mean and std for arrays. 2023-07-22 19:37:49 +02:00
57adb08057 formatting pass. 2023-07-22 19:25:36 +02:00
36249ebf39 small reorg, comment purpose of functions 2023-07-22 19:24:52 +02:00
04070a934e give more expressive names to main functions
This bash function was helpful:

function replace(){
  grep "$1" -rl .
  grep "$1" -rl . | xargs sed -i "s/$1/$2/g";
}
2023-07-22 19:21:20 +02:00
8cc63dce4b add to-do 2023-07-22 16:20:22 +02:00
ccb152ea4f add a motivating reason to use C to the readme 2023-07-22 16:17:07 +02:00
17ba9488a4 Update readme, small tweaks 2023-07-16 23:33:46 +02:00
bebb7c6d46 format squiggle.c 2023-07-16 23:00:39 +02:00
6247fbfb7b simplify PROCESS_ERROR macro 2023-07-16 22:58:20 +02:00
11e965be4f rename sampler functions, elaborate on README, etc. 2023-07-16 22:32:03 +02:00