From c29b3b45595b28a0763cf14d0e96da2eddb0b1d6 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Mon, 24 Jul 2023 00:39:17 +0200 Subject: [PATCH] try adding link in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0187bf4..aacfa75 100644 --- 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.