A simple, self-contained C99 library for judgmental estimation, but improved.
Go to file
2023-07-16 21:52:24 +02:00
examples reduce num samples, start README 2023-07-16 21:52:24 +02:00
README.md reduce num samples, start README 2023-07-16 21:52:24 +02:00
squiggle.c reduce num samples, start README 2023-07-16 21:52:24 +02:00
squiggle.h formatting pass. 2023-07-16 21:37:43 +02:00

Squiggle.c

Why C?

  • Because it is fast
  • Because it can be made faster if need be, e.g., with a multi-threading library like OpenMP
  • Because if you can implement something in C, you can implement it anywhere else
  • Because it will last long
  • Because the language is honest
  • Because I enjoy it

To do list

  • Have some more complicated & realistic example
  • Add summarization functions, like mean, std, 90% ci (or all c.i.?)
  • Add README
    • Schema: a function which takes a sample and manipulates it,
    • and at the end, an array of samples.
    • Explain boxes
    • Explain individual examples
    • Explain nested functions
  • Publish online

Done

  • Add example for only one sample
  • Add example for many samples
  • [ ] Add a custom preprocessor to allow simple nested functions that don't rely on local scope?
  • Use gcc extension to define functions nested inside main.
  • Chain various mixture functions
  • Add beta distribution
  • [-] Use OpenMP for acceleration
  • Add function to get sample when given a cdf
  • Don't have a single header file.
  • Structure project a bit better