Commit Graph

53 Commits

Author SHA1 Message Date
514a41c9f7 feat: add parallelism to get 1B lognormal samples in 11s. 2023-11-19 15:40:13 +00:00
b0f711e9a6 reorg: move all examples using squiggle_more to one makefile 2023-11-19 14:47:19 +00:00
3f9027a530 add one sole makefile for examples using core functionality 2023-11-19 14:32:29 +00:00
a81c0df329 reorg: divide examples between those using core and those using extra 2023-11-19 13:51:05 +00:00
a543bd5b94 makefile tweak 2023-11-19 00:04:10 +00:00
d3af874403 feat: start adding paralellism; recompile. 2023-11-18 23:54:31 +00:00
6387c0df70 fix: reorder headers to fix compilation error 2023-11-18 21:10:21 +00:00
61851a321a tweak: formatting tweaks 2023-11-18 21:07:12 +00:00
0de4132080 modify makefiles to make reorg work, change README 2023-11-18 21:00:02 +00:00
219096a517 fix: compilation errors after api drift 2023-11-18 18:51:34 +00:00
65a104e089 add 100 sorted lognormal samples 2023-11-17 20:48:23 +00:00
08908f9da5 add more digits to 90% normal constant 2023-11-02 21:50:27 +00:00
8547347ac6 plotting scratchpad 2023-10-16 11:39:07 +01:00
308eecba98 tweaks before twitter thread 2023-09-27 15:25:12 +01:00
66cbb4132f add more ergonomic & compact code using macros. 2023-09-23 23:24:25 +01:00
a4389e605f move to ci named struct. 2023-09-23 23:08:51 +01:00
ccad14b318 leave out really trivial manipulations, add example, update to-dos 2023-09-23 22:15:48 +01:00
a4fdbc1e2c savepoint 2023-09-13 19:03:03 +02:00
827fa3823b add clang-tidy to check for possible errors. 2023-08-19 19:18:02 +02:00
0c22716635 prepare adding squiggle.c to time to botec. 2023-08-17 14:30:33 +02:00
2ea32e2a47 savepoint 2023-08-11 15:27:01 +02:00
94ba44dd9e fix off-by-one error 2023-08-11 14:32:18 +02:00
fc17561028 continue nuclear recovery modelling. 2023-08-11 14:26:29 +02:00
2096b363bd start adding model about probability of recovery after nuclear war. 2023-08-11 14:01:12 +02:00
39ab972fa7 add burning fat example 2023-08-01 13:05:02 +02:00
09601c8d46 add links to examples in readme 2023-07-24 00:43:53 +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
e053a726ee add example of getting confidence interval & misc changes 2023-07-23 19:12:02 +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
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
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
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
17ba9488a4 Update readme, small tweaks 2023-07-16 23:33:46 +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
ea80c930e6 reduce num samples, start README 2023-07-16 21:52:24 +02:00
f5af776eb3 formatting pass. 2023-07-16 21:37:43 +02:00
7a2015e3e0 divide simple and complex examples into two different examples. 2023-07-16 21:32:17 +02:00
d10796cae2 graduate scratchpad to its own example 2023-07-16 21:28:03 +02:00
68e7730f24 reformat squiggle.c, remake examples. 2023-07-16 21:08:05 +02:00