Maktub its a pseudo randon generative library designed to generate theorem tests, procedural objects constructions and anything that you need pseudo random usage
Item | Description |
---|---|
Maktub.c | Definition |
Maktub.h | Header |
MaktubOne.c | All in one |
Maktub.zip | Zip Folder |
these above example generates a simple rand number betwen 0 and 100
#include "MaktubOne.c"
MakTubNamespace mak;
int main(){
mak = newMakTubNameskace();
MakTub * obj = mak.newMakTub("your seed here");
int num = mak.generate_num(obj,0,100);
printf("%d\n",num);
mak.free(obj);
return 0;
}
Item | Description |
---|---|
build_and_install.md | Instructions on how to build and install Maktub |
generating_tokens.md | Guide on generating tokens |
choice.md | Explanation of the choice function |
probabilities.md | Understanding probabilities in Maktub |
callbacks.md | Usage of callbacks |
seed_control.md | Controlling seed values |