NAME

get_rand_seed - Provides the current seed used by kjb_rand

SYNOPSIS

#include "l/l_sys_rand.h"

Example compile flags (system dependent):
  -DLINUX_386 -DLINUX_386_P4  
   -I/home/kobus/include
   -L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
  -lKJB         -llapack -lblas -lg2c          -lXext -lX11 


int get_rand_seed(kjb_uint16 *buff);

DESCRIPTION

This routine provides the current seed used by kjb_rand, normally for the purposes of restarting the sequence at some point. A user level interface to kjb_seed_rand and get_rand_seed is provided throught the suite of set routines.

RETURNS

If the random number generator has not been seeded, then this routine returns ERROR. Otherwise, the seed is copied into the 48 bit buffer.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTOR

Kobus Barnard

SEE ALSO

kjb_rand , kjb_seed_rand_with_tod , kjb_seed_rand , kjb_seed_rand_with_3_short , kjb_rand_2 , kjb_seed_rand_2_with_tod , kjb_seed_rand_2