forked from personal/squiggle.c
small readme clarifications
This commit is contained in:
parent
06a0569a02
commit
91ab0d27dc
|
@ -260,6 +260,8 @@ delta: -2258.290043, relative delta: -0.095779
|
||||||
|
|
||||||
Overall, I would caution that if you really care about the very far tails of distributions, you might want to instead use tools which can do some of the analytical manipulations for you, like the original Squiggle, Simple Squiggle (both linked below), or even doing lognormal multiplication by hand, relying on the fact that two lognormals multiplied together result in another lognormal with known shape.
|
Overall, I would caution that if you really care about the very far tails of distributions, you might want to instead use tools which can do some of the analytical manipulations for you, like the original Squiggle, Simple Squiggle (both linked below), or even doing lognormal multiplication by hand, relying on the fact that two lognormals multiplied together result in another lognormal with known shape.
|
||||||
|
|
||||||
|
In fact, squiggle.c does have a few functions for algebraic manipulations of simple distributions at the end of squiggle.c. But these are pretty rudimentary, and I don't know whether I'll end up expanding or deleting them.
|
||||||
|
|
||||||
## Related projects
|
## Related projects
|
||||||
|
|
||||||
- [Squiggle](https://www.squiggle-language.com/)
|
- [Squiggle](https://www.squiggle-language.com/)
|
||||||
|
@ -270,6 +272,8 @@ Overall, I would caution that if you really care about the very far tails of dis
|
||||||
|
|
||||||
## To do list
|
## To do list
|
||||||
|
|
||||||
|
- [ ] Think about whether to write a simple version of this for [uxn](https://100r.co/site/uxn.html), a minimalistic portable programming stack which, sadly, doesn't have doubles (64 bit floats)
|
||||||
|
- [ ] Point out that, even though the C standard is ambiguous about this, this code assumes that doubles are 64 bit precision (otherwise the xorshift should be different).
|
||||||
- [ ] Document rudimentary algebra manipulations
|
- [ ] Document rudimentary algebra manipulations
|
||||||
- [ ] Think through whether to delete cdf => samples function
|
- [ ] Think through whether to delete cdf => samples function
|
||||||
- [ ] Think through whether to:
|
- [ ] Think through whether to:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user