forked from personal/squiggle.c
try adding link in readme
This commit is contained in:
parent
f6562e9f65
commit
c29b3b4559
|
@ -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
|
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
|
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.
|
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user