mardi 12 septembre 2017

TinyMT '@param random tinymt state vector' what are they asking for?

I'm having a problem with my C code when using TinyMT. I am wanting an explanation on how the functions work and want they are wanting for their parameters.

My linter is throwing errors already :(

#include <stdio.h>
#include <stdlib.h>
#include "tinymt64.h"

int main(void){
  int r;
  tinymt64_init(r,100)
  tinymt64_generate_uint64(r);
  return 0;
}

TinyMT library is being used to randomly generate numbers, there is no documentation on how to use this, I would love if someone could give me a directions on how to use this fantastic tool!

Thank you in advance




Aucun commentaire:

Enregistrer un commentaire