Functions
random.c File Reference

Various routines for providing portable 32 and 64 bit random number generators. More...

#include <GKlib.h>
Include dependency graph for random.c:

Go to the source code of this file.

Functions

void gk_randinit (uint64_t seed)
 
uint32_t gk_randint32 (void)
 
uint64_t gk_randint64 (void)
 

Detailed Description

Various routines for providing portable 32 and 64 bit random number generators.

Date
Started 5/17/2007
Author
George
Version
$Id: random.c 11793 2012-04-04 21:03:02Z karypis $ 

Definition in file random.c.

Function Documentation

◆ gk_randinit()

void gk_randinit ( uint64_t  seed)

Create the various random number functions

GKlib's built in random number generator for portability across different architectures

Definition at line 71 of file random.c.

◆ gk_randint32()

uint32_t gk_randint32 ( void  )

Definition at line 125 of file random.c.

◆ gk_randint64()

uint64_t gk_randint64 ( void  )

Definition at line 84 of file random.c.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:52