NAME

lookup_gauss_rand - I wrote this version before I was aware that there was closed form solution.

SYNOPSIS

#include "m/m_random.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 


double lookup_gauss_rand(void);

DESCRIPTION

Keep this for now, mainly for debugging. It is approximately twice as fast as gauss_rand(), but at the expense of quality of the random numbers. It could be useful where extreme speed is necessary, or as a template for sampling a distribution where there is no closed form.

SEE ALSO

get_gauss_random_matrix , get_gauss_random_matrix_2 , get_gauss_random_vector , get_gauss_random_vector_2 , get_lookup_gauss_random_vector , gauss_rand , gauss_rand_2