2023-07-23 21:53:57 +00:00
|
|
|
#include "../../../squiggle.h"
|
2023-11-19 14:47:19 +00:00
|
|
|
#include "../../../squiggle_more.h"
|
2023-07-23 21:53:57 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2024-01-29 17:35:34 +00:00
|
|
|
double sample_model(uint64_t* seed){
|
|
|
|
return sample_to(1, 10, seed);
|
|
|
|
}
|
|
|
|
|
2023-07-23 21:53:57 +00:00
|
|
|
int main()
|
|
|
|
{
|
|
|
|
// set randomness seed
|
|
|
|
uint64_t* seed = malloc(sizeof(uint64_t));
|
|
|
|
*seed = 1000; // xorshift can't start with 0
|
|
|
|
|
2023-11-19 14:47:19 +00:00
|
|
|
// ...
|
|
|
|
|
2023-07-23 21:53:57 +00:00
|
|
|
free(seed);
|
|
|
|
}
|