squiggle.c

Self-contained Monte Carlo estimation in C99
Log | Files | Refs | README

commit c29b3b45595b28a0763cf14d0e96da2eddb0b1d6
parent f6562e9f65a197a9bec22e3ba6c32db650ff21cf
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Mon, 24 Jul 2023 00:39:17 +0200

try adding link in readme

Diffstat:
MREADME.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -20,7 +20,7 @@ A self-contained C99 library that provides a subset of [Squiggle](https://www.sq You can follow some example usage in the examples/ folder -1. In the 1st example, we define a small model, and draw one sample from it +1. In the [1st example](src/branch/master/examples/01_one_sample/example.c), we define a small model, and draw one sample from it 2. In the 2nd example, we define a small model, and return many samples 3. In the 3rd example, we use a gcc extension—nested functions—to rewrite the code from point 2. in a more linear way. 4. In the 4th example, we define some simple cdfs, and we draw samples from those cdfs. We see that this approach is slower than using the built-in samplers, e.g., the normal sampler.