squiggle.c/examples/core/00_example_template/example.c

15 lines
238 B
C
Raw Permalink Normal View History

#include "../../../squiggle.h"
2023-07-23 22:37:45 +00:00
#include <stdio.h>
#include <stdlib.h>
int main()
{
// set randomness seed
uint64_t* seed = malloc(sizeof(uint64_t));
*seed = 1000; // xorshift can't start with 0
// ...
2023-07-23 22:37:45 +00:00
free(seed);
}