https://github.com/cran/mvtnorm
Raw File
Tip revision: cf59607b49743d2d3b63f8619a4a76563dccbfe2 authored by Torsten Hothorn on 14 October 2004, 00:00:00 UTC
version 0.7-0
Tip revision: cf59607
randomF77.c
/* $Id: randomF77.c,v 1.1 2002/11/22 13:24:41 hothorn Exp $
*
*  wrapper for calling R's random number generator from
*  the original FORTRAN code
*
*/

#include <R.h>

void F77_SUB(rndstart)(void) { GetRNGstate(); }
void F77_SUB(rndend)(void) { PutRNGstate(); }
double F77_SUB(unifrnd)(void) { return unif_rand(); }
back to top