Commit Graph

39 Commits

Author SHA1 Message Date
bb91d78859 add fermi paradox example 2024-01-20 14:02:59 +01:00
b6bbbc6b2e add comments on cache 2024-01-12 19:02:41 +01:00
58a329bcc3 Revert "Revert "Merge branch 'master' into quickselect""
This reverts commit 4d218468cf.
2023-11-29 23:21:24 +00:00
4d218468cf Revert "Merge branch 'master' into quickselect"
This reverts commit c77fa34410, reversing
changes made to ffd6e5dcbb.
2023-11-29 23:17:41 +00:00
186b10cddf more refactors; add another example 2023-11-29 23:08:36 +00:00
fb110a35f3 refactor & recompile for function definitions 2023-11-29 22:52:24 +00:00
3e4360f930 move quickselect to squiggle_more.c 2023-11-29 21:49:51 +00:00
dc3f7eed4d run formatter in quickselect 2023-11-29 21:46:44 +00:00
03ca3e3b0c prepare to incorporate quickselect into squiggle_more 2023-11-29 21:45:42 +00:00
578bfa2798 implement quickselect function 2023-11-29 21:34:39 +00:00
4a24a6b935 clean scratchpad, start quickselect 2023-11-29 20:04:41 +00:00
a81c0df329 reorg: divide examples between those using core and those using extra 2023-11-19 13:51:05 +00:00
d3af874403 feat: start adding paralellism; recompile. 2023-11-18 23:54:31 +00:00
0de4132080 modify makefiles to make reorg work, change README 2023-11-18 21:00:02 +00:00
308eecba98 tweaks before twitter thread 2023-09-27 15:25:12 +01:00
b1a58f9b74 fix constant name 95=>90 2023-09-27 14:10:40 +01: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
d10796cae2 graduate scratchpad to its own example 2023-07-16 21:28:03 +02:00
ee9ed34287 move some functions from scratchpad => squiggle.c, reorg 2023-07-16 21:26:33 +02:00
68e7730f24 reformat squiggle.c, remake examples. 2023-07-16 21:08:05 +02:00
cd6eb5203c add some thoughts to scratchpad and readme 2023-07-16 17:59:53 +02:00
65756a359b scratchpad formatting pass 2023-07-16 17:33:58 +02:00
487de4a731 readd inverse cdf for raw floats. rework examples. 2023-07-16 17:33:37 +02:00
e05baa6fee reorder scratchpad stuff 2023-07-16 17:10:36 +02:00
78e1838569 rework returning result to define and return at the same time 2023-07-16 17:00:26 +02:00
84f94e2bea rework error as a macro 2023-07-16 16:56:11 +02:00
c487bdfaf5 formatting pass. 2023-07-16 16:30:38 +02:00
607554f22b add beta distribution samples!! 2023-07-16 14:38:12 +02:00
e94774ae3a add dangerous beta sampler. 2023-07-16 13:57:27 +02:00
2acf129ef2 add comparison with previous sampler.
New approach turns out to be ~50x slower.
Though it is much more general.
2023-07-16 13:02:11 +02:00
aca99a3386 added better error messages! 2023-07-16 12:29:08 +02:00
75689c506d mark to-dos as done 2023-07-16 12:11:25 +02:00
5ef5c6847a formatting pass 2023-07-16 12:09:58 +02:00
4deb2044d6 add more examples, tweak code a bit 2023-07-16 12:09:41 +02:00
c7d9f87ad7 add sampler, add normal cdf 2023-07-16 11:08:59 +02:00
88b51331ea finish inverse! 2023-07-16 00:59:27 +02:00
d4f6142734 start adding inverse_cdf to scratchpad 2023-07-16 00:23:59 +02:00
00c7f8cdf9 add scratchpad 2023-07-15 23:26:48 +02:00