search for: sarmultinom

Displaying 1 result from an estimated 1 matches for "sarmultinom".

Did you mean: rmultinom
2006 Jan 20
3
Troubles with the function rmultinom.c of the R's Random Number Generator
...linux-gnu system i686, linux-gnu status major 2 minor 2.1 year 2005 month 12 day 20 svn rev 36812 Each loop of my Fortran calls the function rmultinom.c of the R's Random Number Generator through the wrapper: #include <R.h> #include <Rmath.h> void F77_SUB(sarmultinom)(int n, double* prob, int K, int* rN){ rmultinom(n, prob, K, rN);} My fortran program is: subroutine testsarmultinom(n,prob,K,rN) implicit none integer n,K,rN(K) double precision prob(K) call rndstart() call sarmult...