From b0f711e9a6e11278330fe9670506649208e6a8fa Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sun, 19 Nov 2023 14:47:19 +0000 Subject: [PATCH] reorg: move all examples using squiggle_more to one makefile --- examples/more/00_example_template/example | Bin 0 -> 22776 bytes examples/more/00_example_template/example.c | 16 +++ examples/more/01_sample_from_cdf/example | Bin 0 -> 23104 bytes .../example.c | 2 +- .../example | Bin 26904 -> 27144 bytes .../example.c | 2 +- .../more/{07_ci_beta => 03_ci_beta}/example | Bin .../more/{07_ci_beta => 03_ci_beta}/example.c | 2 +- .../example | Bin 22704 -> 22944 bytes .../example.c | 2 +- .../scratchpad/example | Bin .../scratchpad/example.c | 0 .../scratchpad/makefile | 0 .../more/04_sample_from_cdf_simple/example | Bin 23064 -> 0 bytes examples/more/05_burn_10kg_fat/example | Bin 0 -> 22904 bytes .../example.c | 2 +- examples/more/06_nuclear_recovery/example | Bin 0 -> 23192 bytes .../example.c | 2 +- .../more/{11_algebra => 07_algebra}/example | Bin 22536 -> 22776 bytes .../more/{11_algebra => 07_algebra}/example.c | 2 +- .../example | Bin 22536 -> 22776 bytes .../example.c | 2 +- examples/more/09_burn_10kg_fat/example | Bin 22616 -> 0 bytes .../example | Bin 22536 -> 22776 bytes .../example.c | 2 +- examples/more/10_nuclear_recovery/example | Bin 22912 -> 0 bytes .../example | Bin 22696 -> 22936 bytes .../example.c | 2 +- examples/more/makefile | 106 +++++++++++++----- 29 files changed, 101 insertions(+), 41 deletions(-) create mode 100755 examples/more/00_example_template/example create mode 100644 examples/more/00_example_template/example.c create mode 100755 examples/more/01_sample_from_cdf/example rename examples/more/{04_sample_from_cdf_simple => 01_sample_from_cdf}/example.c (98%) rename examples/more/{05_sample_from_cdf_beta => 02_sample_from_cdf_beta}/example (55%) rename examples/more/{05_sample_from_cdf_beta => 02_sample_from_cdf_beta}/example.c (99%) rename examples/more/{07_ci_beta => 03_ci_beta}/example (100%) rename examples/more/{07_ci_beta => 03_ci_beta}/example.c (93%) rename examples/more/{08_nuclear_war => 04_nuclear_war}/example (74%) rename examples/more/{08_nuclear_war => 04_nuclear_war}/example.c (98%) rename examples/more/{08_nuclear_war => 04_nuclear_war}/scratchpad/example (100%) rename examples/more/{08_nuclear_war => 04_nuclear_war}/scratchpad/example.c (100%) rename examples/more/{08_nuclear_war => 04_nuclear_war}/scratchpad/makefile (100%) delete mode 100755 examples/more/04_sample_from_cdf_simple/example create mode 100755 examples/more/05_burn_10kg_fat/example rename examples/more/{09_burn_10kg_fat => 05_burn_10kg_fat}/example.c (97%) create mode 100755 examples/more/06_nuclear_recovery/example rename examples/more/{10_nuclear_recovery => 06_nuclear_recovery}/example.c (99%) rename examples/more/{11_algebra => 07_algebra}/example (75%) rename examples/more/{11_algebra => 07_algebra}/example.c (96%) rename examples/more/{12_algebra_and_conversion => 08_algebra_and_conversion}/example (75%) rename examples/more/{12_algebra_and_conversion => 08_algebra_and_conversion}/example.c (97%) delete mode 100755 examples/more/09_burn_10kg_fat/example rename examples/more/{13_ergonomic_algebra => 09_ergonomic_algebra}/example (75%) rename examples/more/{13_ergonomic_algebra => 09_ergonomic_algebra}/example.c (95%) delete mode 100755 examples/more/10_nuclear_recovery/example rename examples/more/{14_twitter_thread_example => 10_twitter_thread_example}/example (70%) rename examples/more/{14_twitter_thread_example => 10_twitter_thread_example}/example.c (96%) diff --git a/examples/more/00_example_template/example b/examples/more/00_example_template/example new file mode 100755 index 0000000000000000000000000000000000000000..23217fb58b86d6222e98b5eddec28626b90d044f GIT binary patch literal 22776 zcmeHPe|(eGxqsURm;Ji3&3!KO`nlt?eYUZ=`;qNBO^X6m=ZbS1ijIn?2?ec17(*oY`<(Zj^v&Bu z)O+v#xSyU+ljof0JkN8U^E}Ua&dEvoe!Ze5L241D2B>{zo1c@(GX&A= zHt`v$%G-K4jSnQC=ueJUs>+dc@DLdQML;bdbvfp-Zpm>=D(u(UMeq@t_^LTyHRlsh z;(P)Mdy-A)HHX_%4=w1UVqx!+r01*Ue0o^U=>?=Q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w@a?YRktm0R=I9lv}jpHjjP7F zpsIqTvgfiiw1wHE(AGZ7#o-VSXrYI$&=XrmF!aclHfC$r8h3NE`(vL^!=4F~jyFi( z=D`tRdWsF%-W`M;SrZ=edfXv5J)1_uI+t`zc@E7;=S-ndC;(yfbz#Vb$J?|7f_PMo z3$oqKZLUzj)!rMP2VYuyMXZ;MCB2vY=bLG-L0 z4cixm{nZEe&~tG#y)dvEV{IXL+eNleAE2WdjJ_OIN7Fw7$mMAZxEkFp9(p`bKDcmhG_7%VXnbo zAedC^rWul(>ww8{Gq>>>HhbMI&|@{Y)MddQJmk_m*l0u@3UE9CX#_#>O^-cF#kgE} z?ox6^YFzFL@dq&p9C?N#`7{v-K1AZjJe`RwoH`y4fDu2f_F_e7Z3;7_99jjRp_ap*}dp+LGXhoeM9e?PoA^638ihvgMX^XgL6FB-< zr{%B3d5DUDR<)UY$9A1kD$&yNi~AV?Eh*IW*)X-xdFu@B;)MR+c4C zK3;-f-1i7LK*mKO9jPk##l4~*IGVEH7xzK}iu+KIu)@WOrgSfAbk`{O#r=_hHclz@ z7jyz{KtJ7Ginh3C60n2w3mXglIa=yQg={ML#eI~3QBEkv7yM%W4|DznoKD-fceSrQ6H4)y%Ib^PL9 zO~8SR@c%}~FV6o0P7)XOT#guDh@~GaY3(QO=>!zt3kZ6>{hsCg!vEs)qJRT}kwf7> zfu>(S)A)j4+^Yz96?JNge*DAe)AA?p2WO~Ehja}3@!tX&Jy(sVo#Z{DcuuFDUbF># zAH1@LU)(P#^MFJVbZTp)E$|xgniSfnfL$gDr(9_dc+ET>FFV!MZ7ySHV zeX>{ZYoUmpBoQhOhuYe~zgVJ=aTF3lACZ5?11EG>In?( +#include +#include + +int main() +{ + // set randomness seed + uint64_t* seed = malloc(sizeof(uint64_t)); + *seed = 1000; // xorshift can't start with 0 + + // ... + + free(seed); +} diff --git a/examples/more/01_sample_from_cdf/example b/examples/more/01_sample_from_cdf/example new file mode 100755 index 0000000000000000000000000000000000000000..9bff0019d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PyZlM)(#vqCbYJPChn;+M}S5(dQi3h`2se7uBrDIjCCpFHoBP~N*pdb9lw z3Vu2M@;O&R-DE#Gep23xCVqK-Dk1&m%9zaUzh>f>=d2R$!SjJJncII0l{S1t*h!zq z%J-d`>1A2M_rR+f_~kiW@d6-`Bpok}lqLQGD#&+b`|^BOzQ0yZESi6mB%d6|ZvjUp zO7q`KRQN5|LJs>mNPkOy3CDri$e%tR@o*N|juasIWVry$gp=*d=VrTyQ<&+gEn}J@ z+AlUDk(c~8oA8p~2-Ci2p!Ilop@xDp5>12I_(*+Z{Fwlp)E(J$+I<(#((m1jNwzC- UQ;->pzd=0E()p?}nTpDP1O1m+JOBUy literal 0 HcmV?d00001 diff --git a/examples/more/04_sample_from_cdf_simple/example.c b/examples/more/01_sample_from_cdf/example.c similarity index 98% rename from examples/more/04_sample_from_cdf_simple/example.c rename to examples/more/01_sample_from_cdf/example.c index 5d3f246..ffb7acc 100644 --- a/examples/more/04_sample_from_cdf_simple/example.c +++ b/examples/more/01_sample_from_cdf/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/05_sample_from_cdf_beta/example b/examples/more/02_sample_from_cdf_beta/example similarity index 55% rename from examples/more/05_sample_from_cdf_beta/example rename to examples/more/02_sample_from_cdf_beta/example index 79b7f0f26f0760d99b0c0507bf9934fa1f5b557e..983af2cec5744ab423ad80404948e49a43a44756 100755 GIT binary patch delta 2965 zcmZ`*3s6+o89wJChE?{#^X`HR3k$kDETcQiN?wRR~jT%kXy|gc;kxwH->>s#~ zPQ`ZeGvtj+m>rW1-DNcCU(Zq&Ez(h z@O|{8*{WYLO^grutf$w^bNCt>HQV_jinnB@9EEy}V*`36G)1-7UK~>tl_>AHgs5}L zXK}DX}yIKaz%{ucTnk{J~LUR4AB!J6%j(%$q6SmW}m)+m^-c)MT;9B_?qxzWU%M++vKz-OW{f6vsWZ-vkEDyJk2y}tnMFK@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U{-9Mpgqk)=a=lftP;hDuaxy7|qM$PK*OTfWR(s0cW_y{G| zCiBlJr}jbqICa!k@=4lTdq2NHXKFViII;s674m7?qp6MuaC}RkXB#Z8 zRq#6pT|18P=k$S=$;arLmX7F6!CKxHst=xzAzQpFRJv$l7S|}TLB(arZ#c%WP2O1I zkV)q(g*_0I9&Z!6(4aa#))lF&;*r}Jbg$AtqZ*tx*wQ=LyXCf7GK+qBbTc$*&~s*I zz7A(KK+X+g z1Ae1h57EIU)$xwumw6-PTEpfnT>yI-tPLJ)ZHC%_>$-c`}d+tRdxD8ik)-(vM@GVY4_r!sQq?hsldo-qzPT zEnDwY)bielrCwC%$|pode&^mzGz<@R`dN$03+YR&Re_RAM7+!w@ql{LrIy?+s-qFC zo_Bonq!huglvPv@_D2SLAT6Se-m_<Fflp^*~J z#wGM^EREUQr1o36VAxL@OTA@KH=>agL=+)IuaJMK>WIgtt zn~k}1X)o9ySQ*KkHPA$(U>`B&`j9{=`db8CNqm{gyY+U5Y|CGSWuo%`we&~B!&ajn zqL0s;(Cc-KON;r7E*W+%BgzhaJvwC>>(Az$m)oV4W~q2c9&Jk-~AlZSd%w#moh%IXqR^bTv}UNg_s vUlnoCA8KE7w_-jJ9~t6*0`t<7>k3Vi%OaYE^y<2K@s(|nQ5vVAl^Op9(;L2c diff --git a/examples/more/05_sample_from_cdf_beta/example.c b/examples/more/02_sample_from_cdf_beta/example.c similarity index 99% rename from examples/more/05_sample_from_cdf_beta/example.c rename to examples/more/02_sample_from_cdf_beta/example.c index 706dad0..2ff6650 100644 --- a/examples/more/05_sample_from_cdf_beta/example.c +++ b/examples/more/02_sample_from_cdf_beta/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/07_ci_beta/example b/examples/more/03_ci_beta/example similarity index 100% rename from examples/more/07_ci_beta/example rename to examples/more/03_ci_beta/example diff --git a/examples/more/07_ci_beta/example.c b/examples/more/03_ci_beta/example.c similarity index 93% rename from examples/more/07_ci_beta/example.c rename to examples/more/03_ci_beta/example.c index a10c075..1dddc86 100644 --- a/examples/more/07_ci_beta/example.c +++ b/examples/more/03_ci_beta/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/08_nuclear_war/example b/examples/more/04_nuclear_war/example similarity index 74% rename from examples/more/08_nuclear_war/example rename to examples/more/04_nuclear_war/example index fa735224dbce3ce43759c5317c621e53c40cc297..41d18c1c76d0f8b8901036a2f3e0ade8496ca947 100755 GIT binary patch delta 1262 zcmZ{kT}V_x6vt=ox}|-{?y8Mf6n6#9(ljGWiek0Z-K#CRVJMMp>&GHwO8G%yQTY@R zksQK@Ui85zdfDarVB~`aK~P}6l?3WTMTDUALC{NQ?wl<(n}@^9@Bcq%X3ku0EY3$v zey>nl2*r0FwWWWkS-IP?*QVT^GmSRja#RpT2(P~FTWN@G)Ht0bIe!4RtNY>a7a8)J^O>Ry=k z3GRgzjAvxjyReQ6ZQdN^Y`{!82EbE|yWq;rbjIoxO~hfV!ec8=!cBC}P@Uy`H@T9e_$yPbJh6g*!;?g^Q>Tk~*?eVK1)b zxDTT>qHGLTPVL|ROiFisl2={6Y_*Dmy+!E!wXRz|O)DsuvP!vBHTvUxR7Cu-}rZ+=D-W6?Bi2n^A`v zsn!g50>VE3$Nd#T0dd`fYX{3>nd{D#l%!7NE>P*us7fyJ1>z?0t+eZ#GzChD?;(F| zhXT8ZS11mj0#5xnd03tjuaKt^oQBX_Np-svenhX+0hNZ}gEGRhKN&6?4h|L@gHb~m zam?H3OI>l$0HH6(}r!EIGM8ytw&IRF3v delta 1064 zcmZvbUr1AN6vxl+E=z5L{V{)DV{|8^)~aO`MnTL_w`t31gYrRANDvZ4dWa}0U&4AS z4g~cysRw;995;drVL}fLI1!9`T6Q-r03_v@3Hjr)k*t?D;*WHxN@_wQa2nDfLzNaiOQY0KQpg`y`-)g02Y`4DNW0H(wXqs$+MUxXO8C-_i9gwt$AFbvz8oZ7=4{m zd~<3SwslI=L-WLA*jM)7ZqUAy^u{VyiF^OEW0AOpStDTnp~`2NP`Tw6+_(^v=5D$%wL^|qKB~t; zGnPngEvpAKF7FV-P+V5@DOH_;`9vjNh<8ZYJWqRs6Xc&M`^7wF9<&!Tz~g4fZiNwmE)`C46SBt^pdfc#SQj$?s>g+Md;S7BxvH1| diff --git a/examples/more/08_nuclear_war/example.c b/examples/more/04_nuclear_war/example.c similarity index 98% rename from examples/more/08_nuclear_war/example.c rename to examples/more/04_nuclear_war/example.c index 6cb883c..11d961a 100644 --- a/examples/more/08_nuclear_war/example.c +++ b/examples/more/04_nuclear_war/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/08_nuclear_war/scratchpad/example b/examples/more/04_nuclear_war/scratchpad/example similarity index 100% rename from examples/more/08_nuclear_war/scratchpad/example rename to examples/more/04_nuclear_war/scratchpad/example diff --git a/examples/more/08_nuclear_war/scratchpad/example.c b/examples/more/04_nuclear_war/scratchpad/example.c similarity index 100% rename from examples/more/08_nuclear_war/scratchpad/example.c rename to examples/more/04_nuclear_war/scratchpad/example.c diff --git a/examples/more/08_nuclear_war/scratchpad/makefile b/examples/more/04_nuclear_war/scratchpad/makefile similarity index 100% rename from examples/more/08_nuclear_war/scratchpad/makefile rename to examples/more/04_nuclear_war/scratchpad/makefile diff --git a/examples/more/04_sample_from_cdf_simple/example b/examples/more/04_sample_from_cdf_simple/example deleted file mode 100755 index 96a5bf43fb78cc2301cbdfcdc63d5cfbf8773b98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23064 zcmeHve|%I$mhbH(4FQtA9RZC$kXD;DD&z+O6HwM}NZ>|;f&@)4&^Ado={4z&NjC|O z595XaJrHF+&o{Df#y1(?yf?g=-F?o^><;U!GaV2Ge{Eo#eYoln5%o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(;Ob??#XS0%Dp07zLZV%`+43;FFgd2dRvtC)2=Wr7CaJH0< zrTzk~^dm!KBKhTcorEz#DBG9(vj0yD{sn?gp6f~2BRWj{#AD|F0dPbj<<3&GfP?;b-7g4gB)_t#Uq) zNRp11(q)N1j|%c#*}gotmEWb6hN1XDN%F~Y{0VT>{}lf{M5QRMJ2;GSkh)5K3CDoh z$e%h7ad8&ejuasIWVry$gp=*d`((R|Q<&+gEn_MY?Ux&o$V>iPOnAv}gwl76q%IdP yxhOaz(KMKepVUXjpK-uR-H}bDp1XMVd6WOhb|qmEGNbX&6F0DQZfZ=XqVgZmY(U)r diff --git a/examples/more/05_burn_10kg_fat/example b/examples/more/05_burn_10kg_fat/example new file mode 100755 index 0000000000000000000000000000000000000000..3ee2ce395e6d954ccaa72e450ecdeb1a5ad6cc87 GIT binary patch literal 22904 zcmeHPdw5jUwLi&ZNPuL{L_p&MJ?iioEld(bOjODYCUBxbg9J@5Fbv5INlh|wG6O-q zG&a0Oj7@L7S9)t(>esKekMAqCwikO_Ny0-Aw82M%D(n_Ln(p@3q%jd+oK?UVEQ?PR=(gs%B?qWGFJ3l&>pP+BA-19HL^&Jdpu#D5Xjs zu9qp7Dx*-&VmMy!-~hEe?axexIRbA2B)$U5i~uj;XhlM)Awl9xmo|^)H4-XTUM4;> zWkop^nlI&a63Y5`d&Rt7NrkdQ5*peg+mz1We5G@fp|s18u#aqyio~Z2K3(uhs7QJN zWwT@x`jrZMra}#Mlr(l#lvKW2!Iuil1-*pS2BrCL2O9sG_NoQnmJ%)}723$)ND|8S z=7Epw@@118<~yXGX~tofu%m>cd8MeOdFk|NMJ06i?{8@TP|Bb-iG~vK z%OR#RB_-p3g+~RBV)VPku780bJtXr$pD z!n(Zf<`$*Z-O}P~AbgvF;oc6PKLBJyr`zRiZgaOZ-$z=Kc%fyh8_jwB9*;7os&dxN zuBrB^_UjV)>l4|scy?MmcddOIjFZXclL^->%+xH*AevvUXwoA&MEsX{hrs7l^LmMw<^8vFJj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l;?}0n$gNU!7K5jqc_Pf&vPWyP-jdz#sc!w@iX$*Vn0SnLK`o}uh=dmrAm~H{PKKA zLM@4!?oE>u?d$L;%qR7i=cW?M_T{;0s{U^9kHt^&%kw4)&yaDENJq*_etEvx3>863FWygNLUi$WKp>nIXd%{{PO%tLb1IU-waH&Bk5OxpUzNaS)OxA*dPb-Q z_&=V)uL(X0Qyo4es1C5 zEV3ObK=R3QE|>`?+n4vDRtKj@rKh%xDPOcN+$CNm`Ni#b954BeFz$PCDn)TPcwv`# wz%>!YsrX5KWc(NnoYb9j@N3Sk9DX~+e`LFomZtki{Et<03ObiGrj(-cKQ3!G%K!iX literal 0 HcmV?d00001 diff --git a/examples/more/09_burn_10kg_fat/example.c b/examples/more/05_burn_10kg_fat/example.c similarity index 97% rename from examples/more/09_burn_10kg_fat/example.c rename to examples/more/05_burn_10kg_fat/example.c index 2184e51..728ca30 100644 --- a/examples/more/09_burn_10kg_fat/example.c +++ b/examples/more/05_burn_10kg_fat/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/06_nuclear_recovery/example b/examples/more/06_nuclear_recovery/example new file mode 100755 index 0000000000000000000000000000000000000000..238e434a1c61df9007e5cec2b3c6fddfeef4fe7a GIT binary patch literal 23192 zcmeHv4Rl-8mF~4=B~Ie#Dv%WOlOjNQm_OMLNoqsWNQq6Z!4QWy#SSJyu_fDsY#CWf z9H6Ng=TA+-xU)Kinf|%Ft{JAoT9fwmtx5ktb`nVVt3#)+p}@q1P_B{?Ttgt`CwkvL zKUY`RQb{|r-g;|R&a&=4XP>?I*=L`9_Br?5>-*K(`dbPM3KW@a%9j)>4bA2luc$bD zr^ou9qvHSEis`#BjXc%K>V6I$W3yiv`{WNPMM~$pJ6pXhlM)AwlBHmv&F% zH4-XLUM4;}WkuNvmWP}-AhLcc0uPb+kxj*^RA6~)TeB>1ebM$k)0ZBSbER;=wWX|F->?XKi<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V?d00001 diff --git a/examples/more/10_nuclear_recovery/example.c b/examples/more/06_nuclear_recovery/example.c similarity index 99% rename from examples/more/10_nuclear_recovery/example.c rename to examples/more/06_nuclear_recovery/example.c index 8434af6..afc774b 100644 --- a/examples/more/10_nuclear_recovery/example.c +++ b/examples/more/06_nuclear_recovery/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/11_algebra/example b/examples/more/07_algebra/example similarity index 75% rename from examples/more/11_algebra/example rename to examples/more/07_algebra/example index c880c3b9a3d26abfbedb8d62537b20a21b3da925..1476a0e3576a2ab38f849068353a7cfd885b7f42 100755 GIT binary patch delta 1295 zcmZ{iOGuPa6vxl~bh5@CGvna(8`4q{Of4OWkf0cAbR0>U2}z=2oYbL*XubleNLNX; zFixSg=|L+O;V>Jcmo9@Mg%)Lt5JHMJMGvAjo%`MMk&by5=YHSs{Li`foO?&7#IK|n zD>Z7O$+G3w$#OpmVij&;sGfhldlvnPy{7TAI!rU zBNMjDx!a8ZbGXS=O2@uiL_TyIWB|j1uu7Q1$2CS`@ z<`KJEiH-*7U)gEwt(X2G`g0qrCwYytzIe5|gwJqWWr-=vzruN{@RpRS)AT7Vtx@?m zijcg#fhO%XOjw^bpIpVMd#KX;X6gk>h^w2b+NQy7=G8VY)S!ZPRaR^BwA+blj^iP> zdIKRTdT=%*&8w`R;n{ZTGH^?2!Vfq)CpE6&Y5cHy_d#A-7tdHfR;=}pxY`0n8>IQ3 zvaDWmG_K_6M;vL8@o${#;@fQHXcmn^Wu4;*3^Df*cY$x!ODkZ#8m2P)28+=hmSUgf zn=RjlwP6|VBK`kf!tfgWCfDDdtLvZD3*5(Es{hogJcoC~(p+Grt3XTYShD|G;1(v8z4xsqwk+#9~Zi=i`0- zvCi%eOddMnwqathyWOIx?52KEx9S>ac&NYulzrf;1C~UvH;_rWJUvmv4#0;(-@AAw8fPhxGaTt#zJH$II zC8f3EfD#IMx@@wqc$?S_2k}ESzKNo%7he#2+67=h3xN4Q8^-md6mblvq{u684GDl9 zB%2Lt^fIA>1kzmDOUD}@kFPNFX{t=)Tf$aDXM{bC%stdlUABpvt6?Zij|$h z={_k&aGCtLbHAm$HN*N}d$jH-zy28GX(?V|DJ`#mAdSzkps8WHRfSV85YxGCeZWty z8RMFV82?+x!y4$MSeci;gPJJTu-jc4$KPq6=)ht|ie3z7q@})_(m&_T4C^v*R%x>z{J92Uw%G=IcHCHQdGQBV5bK(mdyy{4Gv0yUci* zH*lHp6~a{yjsMAa)~jVIYv-PSI8$%KN>+-1<0Ckol~y;cT5X_hr`Dg>2c%Hsq!@CP z6^!Skb(NK7NJ~ #include #include diff --git a/examples/more/12_algebra_and_conversion/example b/examples/more/08_algebra_and_conversion/example similarity index 75% rename from examples/more/12_algebra_and_conversion/example rename to examples/more/08_algebra_and_conversion/example index 8aa45287f36a1a9e5af086b614aa94d54c6e17cd..bc5eeb3cf6846d8e7402303f8e62ad41bc60c3d3 100755 GIT binary patch delta 1295 zcmZ{iT}V_x6vt<-Zq{0{yPD%&(%NLf)Y6p*3kt2(^-9`Zk|ZeBOE}f9L-{cjnwVKgxf_ z`K3awA{Z~)nU?)$?}2S2o{?A4iJaKo`;E8T_su;^oK9=3cjaEY?m9pAhXKDyyDRZbITlvS zVB9ZwC49wvP-eXY`?yf{#jTW$=#+5^Jk>&fr!lsk>5Q3*Ci9Txjgj|5k>W?F{0Iio z`vR*D^g2?!uPyI(>D8R<)(wvo7lcycGT zP*o%J{mE`#C9lMH8AqY3M)>;i&8aP(X{sG5PJkgidhKtFL8atCuSx@q~Om&26NPJ1o@ zry=+bD>qoV8LA9nL{b00n=r5hze@d^b5#FhYGJpa3;RE|I#0q)L+I0_H1n0Dnv}CJ zWeD3(tZsm~mX+tSsT1BHU66Dh$)!T`*`T~`Y;|WO673AP_Vo5eBAZ(hb9K+TD-@0yl@4ng190!pZ*t delta 1079 zcmZ8fO=wd=5T1RBwx$&lQ{22rYok~ssWt(rMnQ`t&5wkQ;2F)1P#h)a=C-W(AC zn@IM{ua!fTsq7r)h<$1Rbb|?CX|&4 zoEenj3@(trY~ODvZffhWGJApD1*LAAC(yOtAj#cCCNL)$U@2-l{cv_G-9~*+;mPl=&LxS|JS|Wp;t_ zS>C_}#uo`!Jv9F(-&n7fscejU{$Wqug2j{+KHCRzCMC^&TD981iOpJnRv!>Yk(Oe_ zRu(ammgYrPT3uQaXXQ1_r{%gSVz*(%@S0WD-C~J=_l2RBX0z5u-dVZ xv8o?31yLQ#x{PWmS6{!e)ul5!=?LTKaLAQRYvhX)r-%DpyR$m<3!Kh%{R3fEo5uhE diff --git a/examples/more/12_algebra_and_conversion/example.c b/examples/more/08_algebra_and_conversion/example.c similarity index 97% rename from examples/more/12_algebra_and_conversion/example.c rename to examples/more/08_algebra_and_conversion/example.c index d5fafdd..0dfba6f 100644 --- a/examples/more/12_algebra_and_conversion/example.c +++ b/examples/more/08_algebra_and_conversion/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/09_burn_10kg_fat/example b/examples/more/09_burn_10kg_fat/example deleted file mode 100755 index 55e5d88c1d2a0a9e5bfbcf6b6936c3e75d6f480e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22616 zcmeHPdw3hwl^D6l^jE2Mjo12NOlHq}au_j4UM% z(A3ngn)6HG=&iD@7#wx znpn`%-Th}XpQUr}x#ygF?m6e4d*_ZdU#_XUK0hx{k(W*RJB4bS&gB@dXn43@6ac)+ z9HkWB7b~AuCZJxxaJ=2i0b2R>a(*@}5_lUR@s&|w9C#5&D-uc#2@+qft7jr_kx+5+ zI`P@5DC$;td>W^dP_}3KtKjX570LlgXzGt_ckQDZmP;{@9x3?{uJ*&JuIHSF-Gu|_!XU^;yvuAm_Bc7Q| z1=5T9pqN^4(;{+5l5oO|%okHco!Xn${lizjefv*}jc|Nc&5d7wZ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algebra/example.c similarity index 95% rename from examples/more/13_ergonomic_algebra/example.c rename to examples/more/09_ergonomic_algebra/example.c index 39785fb..a944683 100644 --- a/examples/more/13_ergonomic_algebra/example.c +++ b/examples/more/09_ergonomic_algebra/example.c @@ -1,5 +1,5 @@ #include "../../../squiggle.h" -#include "../../squiggle_more.h" +#include "../../../squiggle_more.h" #include #include #include diff --git a/examples/more/10_nuclear_recovery/example b/examples/more/10_nuclear_recovery/example deleted file mode 100755 index 3d42ab57d53ca9df4564af10a9ca22a96866811d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22912 zcmeHP4RlmRmVQa6AwbfvgD?gaZM9kB51oWRK}EYEzzaqV5;TE8(b!nQ z3%WmN&mQWKzE!vGy>;u}Teqs~HSha#O6I1grAeZgq}wHGb&Sz4PTmn+z$*YwX}Xk+ z&#R;>rD14iFr3!!)Bt+5av(h!W^%jk&}0YHi{( zQ2~~fa@k%-0mO@RA5f+ibQ3Mp@ zEdU?ca^Syk$RDOtZdkV;hm+}Mt71O5V2dXCq{B_~xiOtieO`JBx(OB=8#8e=? zXbg&}d3P@&cSH%t&B%N~ONiRk|Kd%P#{H-*JJg!da>578k10CjNrB�$-K_UzGyC zI|cqa;BELbmU1A5n(t3i;2%nX52V1aPl2BXybXWGvJ8l!^eIh&e;)X2j6$f5c&w%H znG3uSa#R!Kz*IJ%(EikmE7)?we@xG#*il%a=SIsAqljYdsjr7xa3ic_qcOX1gajCOM`K)NdZB z&PY_JBx;i#Q^+vsY|WUk;>`FP##+PinJ&?%gwG7XH1?;hStqdJ%lz0WhD!%gr**vk zvA@Ui8YUg%?FegUNT<=JLi`PYL`!9i-=9sZpSDiIY4S`7d7*J6KV2GyekvmWi@e(~ zR>LbizYBZ;$7hym{Q@uA2kz1ElnZEfqV($Ud<$e+^hv4o_o?@}v$gY(#yXIy~hvQJ&S| zvjh@wiw+NmCdyVF-jcu~$?Nd44!>K6&(Yy~boin2fR6NH^`ZqXTHvAuE?VHC1^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(qw4chQ=Z47|K)YhcJyDfhReTMQgDQi5>921nHQchCdvSSrPX&0*d=Z-py!5 zo#3_jqpLi@FYa{&w4qO5#66zCO+!V`Uykz~6#?y9Gx3RIPf{sHOV2Ovi3GGIQPX$k z5^`ipy00mb_NDx`Q&q3_m$U)-w-*h|JmAswkI=Fg93k{>vlvfvl@ zQv!;6S&*>8#fhf$AZm2yDfq=bmVkMjQs^(}1YCoDxe75#r&V({IfWnxIYt6+$$45@fi7k1{~Q$$j9MbD;yecgpB@w%D`{q zd;<1yaRL~`OTRGii+j5S6pS1i`L`JO#r>Xuz31V7-oP)up9r{Ue6j#BzQEECjr8^t z_k{vx3qlT!_S?z%h5yC(TmiQj0#^7>i2aj+U)(;1hoQC2(Zo1phrmg=-7`OE!uxeG&Wu4g<5EKXKpT)VRbrLWbZI?JO`8PK+`fx*y}{u5P6^Dh7Z diff --git a/examples/more/14_twitter_thread_example/example b/examples/more/10_twitter_thread_example/example similarity index 70% rename from examples/more/14_twitter_thread_example/example rename to examples/more/10_twitter_thread_example/example index d13bff556982ffc7e4c961aa44054ee1dd2f6a50..ad080d39bc9eaa87f79d080d5a664a1a7d406f6f 100755 GIT binary patch delta 1349 zcmZ{iO-NKx6vyv>rFq8{voOFf(Me{3&BGg6D zPC0}^o7|MtB8Gu5EYO9tsnCd!HYG%xHe*B-5q0jn=b27<7x%vVJOBT==bm@xlYBPC zr@Y#FC|Q0w%lSy$sHku0zId-H>aBAoUM+_Umr~cW!akmajWdEj#krcl0PYvCaMlG& zS~eW^JNY}P^$YzoV~jJwI)eDIZG43&M)z`w3Ye#MTL?ehFpbfNS&V5ck1_ksXbmj; z1^2-w&RufW2QW`Q%09T2GK@|+u0ct&(7$Mmd6>>vhoaUzV|pKucePyc1cjf$1bSa$ z)Q(ZIoWk!4j2LPPKlNQ3H!NtMcK|a?GMy4jb{y$JKsVEv$?};z36mt3Jx{oMug17l!N5g)EOsww&#k^vF3;nn1gd=&~`plC7iyL8j5#LJM&8Zuv4J?UlByOUju#U55pO1c3Gwk#1=g{Pa?~O}D(_PiB*hdtLrTE9BsXu|57TW=4i3iS{e#io zkg0JS&E_ z8Vgpoes59Lz8@D;?k{&Hs&Bl-Scn00yiD@chpPaj8{`5C+?%NUE=S zNB~rlY|gKh-Q-kp3_FRPHUI)(0$3V#zL)dfo9vyg*LWY(_b^M|$HaQb>nZTQ%zGP@ z*QkKL?M_X7zE^B)i7Q9wX%!=st5|0I#5SFu)Cc&fPc;QF?sO8yfp%#|naz2%yo_BI zj1-pU!B7i?0N?VJEYiy7wBtYXNNTVS()Qq zWVp^brHNf*7JM4s#od3P)B}F-6?8kw`X?K;ev+$A;yk@I%ew&HY$LN%SP_$%S@uR6 zG~C1N0^_4R=^4g<60UkE{A2#IUM)? #include #include diff --git a/examples/more/makefile b/examples/more/makefile index 821add6..689ed6f 100644 --- a/examples/more/makefile +++ b/examples/more/makefile @@ -1,58 +1,102 @@ # Interface: -# make -# make build -# make format -# make run +# make all +# make format-all +# make run-all +# make one DIR=06_nuclear_recovery +# make format-one DIR=06_nuclear_recovery +# make run-one DIR=06_nuclear_recovery +# make time-linux-one DIR=06_nuclear_recovery +# make profile-one DIR=06_nuclear_recovery # Compiler -CC=gcc # required for nested functions +CC=gcc # CC=tcc # <= faster compilation # Main file -SRC=example.c ../../squiggle.c ../../squiggle_more.c -OUTPUT=./example +SRC=example.c +OUTPUT=example ## Dependencies -OPENMP=-fopenmp +SQUIGGLE=../../squiggle.c +SQUIGGLE_MORE=../../squiggle_more.c MATH=-lm -DEPENDENCIES=$(MATH) $(OPENMP) -# OPENMP=-fopenmp +OPENMP=-fopenmp +DEPS=$(SQUIGGLE) $(SQUIGGLE_MORE) $(MATH) $(OPENMP) ## Flags DEBUG= #'-g' -STANDARD=-std=c99 ## gnu99 allows for nested functions. -EXTENSIONS= #-fnested-functions +STANDARD=-std=c99 WARNINGS=-Wall -OPTIMIZED=-O3#-Ofast -CFLAGS=$(DEBUG) $(STANDARD) $(EXTENSIONS) $(WARNINGS) $(OPTIMIZED) +OPTIMIZED=-O3 #-Ofast ## Formatter STYLE_BLUEPRINT=webkit FORMATTER=clang-format -i -style=$(STYLE_BLUEPRINT) -## make build -build: $(SRC) - # gcc -std=gnu99 example.c -lm -o example - $(CC) $(CFLAGS) $(SRC) $(DEPENDENCIES) -o $(OUTPUT) +## make all +all: + $(CC) $(OPTIMIZED) $(DEBUG) 00_example_template/$(SRC) $(DEPS) -o 00_example_template/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 01_sample_from_cdf/$(SRC) $(DEPS) -o 01_sample_from_cdf/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 02_sample_from_cdf_beta/$(SRC) $(DEPS) -o 02_sample_from_cdf_beta/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 03_ci_beta/$(SRC) $(DEPS) -o 03_ci_beta/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 04_nuclear_war/$(SRC) $(DEPS) -o 04_nuclear_war/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 05_burn_10kg_fat/$(SRC) $(DEPS) -o 05_burn_10kg_fat/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 06_nuclear_recovery/$(SRC) $(DEPS) -o 06_nuclear_recovery/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 07_algebra/$(SRC) $(DEPS) -o 07_algebra/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 08_algebra_and_conversion/$(SRC) $(DEPS) -o 08_algebra_and_conversion/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 09_ergonomic_algebra/$(SRC) $(DEPS) -o 09_ergonomic_algebra/$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) 10_twitter_thread_example/$(SRC) $(DEPS) -o 10_twitter_thread_example/$(OUTPUT) -format: $(SRC) - $(FORMATTER) $(SRC) +format-all: + $(FORMATTER) 00_example_template/$(SRC) + $(FORMATTER) 01_sample_from_cdf/$(SRC) + $(FORMATTER) 02_sample_from_cdf_beta/$(SRC) + $(FORMATTER) 03_ci_beta/$(SRC) + $(FORMATTER) 04_nuclear_war/$(SRC) + $(FORMATTER) 05_burn_10kg_fat/$(SRC) + $(FORMATTER) 06_nuclear_recovery/$(SRC) + $(FORMATTER) 07_algebra/$(SRC) + $(FORMATTER) 08_algebra_and_conversion/$(SRC) + $(FORMATTER) 09_ergonomic_algebra/$(SRC) + $(FORMATTER) 10_twitter_thread_example/$(SRC) -run: $(SRC) $(OUTPUT) - ./$(OUTPUT) && echo +run-all: + 00_example_template/$(OUTPUT) + 01_sample_from_cdf/$(OUTPUT) + 02_sample_from_cdf_beta/$(OUTPUT) + 03_ci_beta/$(OUTPUT) + 04_nuclear_war/$(OUTPUT) + 05_burn_10kg_fat/$(OUTPUT) + 06_nuclear_recovery/$(OUTPUT) + 07_algebra/$(OUTPUT) + 08_algebra_and_conversion/$(OUTPUT) + 09_ergonomic_algebra/$(OUTPUT) + 10_twitter_thread_example/$(OUTPUT) -time-linux: +## make one DIR=06_nuclear_recovery +one: $(DIR)/$(SRC) + $(CC) $(OPTIMIZED) $(DEBUG) $(DIR)/$(SRC) $(DEPS) -o $(DIR)/$(OUTPUT) + +## make format-one DIR=06_nuclear_recovery +format-one: $(DIR)/$(SRC) + $(FORMATTER) $(DIR)/$(SRC) + +## make run-one DIR=06_nuclear_recovery +run-one: $(DIR)/$(OUTPUT) + $(DIR)/$(OUTPUT) && echo + +## make time-linux-one DIR=06_nuclear_recovery +time-linux-one: $(DIR)/$(OUTPUT) @echo "Requires /bin/time, found on GNU/Linux systems" && echo - - @echo "Running 100x and taking avg time $(OUTPUT)" - @t=$$(/usr/bin/time -f "%e" -p bash -c 'for i in {1..100}; do $(OUTPUT); done' 2>&1 >/dev/null | grep real | awk '{print $$2}' ); echo "scale=2; 1000 * $$t / 100" | bc | sed "s|^|Time using 1 thread: |" | sed 's|$$|ms|' && echo + @echo "Running 100x and taking avg time $(DIR)/$(OUTPUT)" + @t=$$(/usr/bin/time -f "%e" -p bash -c 'for i in {1..100}; do $(DIR)/$(OUTPUT); done' 2>&1 >/dev/null | grep real | awk '{print $$2}' ); echo "scale=2; 1000 * $$t / 100" | bc | sed "s|^|Time using 1 thread: |" | sed 's|$$|ms|' && echo -## Profiling - -profile-linux: +## e.g., make profile-linux-one DIR=06_nuclear_recovery +profile-linux-one: echo "Requires perf, which depends on the kernel version, and might be in linux-tools package or similar" echo "Must be run as sudo" - $(CC) $(SRC) $(MATH) -o $(OUTPUT) - sudo perf record ./$(OUTPUT) + $(CC) $(OPTIMIZED) $(DEBUG) $(DIR)/$(SRC) $(DEPS) -o $(DIR)/$(OUTPUT) + # $(CC) $(SRC) $(DEPS) -o $(OUTPUT) + sudo perf record $(DIR)/$(OUTPUT) sudo perf report rm perf.data