search for: rngtype

Displaying 6 results from an estimated 6 matches for "rngtype".

Did you mean: regtype
2009 Jun 30
0
Installing MCMCpack on Solaris 10 X86
...gt;& scythe::Matrix<T_type, ORDER, STYLE>::operator=(const scythe::Matrix<T_type, ORDER, STYLE>&) [with T_type = double, scythe::matrix_order ORDER = Col, scythe::matrix_style STYLE = Concrete]': MCMCSVDreg.cc:111: instantiated from 'void MCMCSVDreg_impl(scythe::rng<RNGTYPE>&, double*, const int*, const int*, const double*, const int*, const int*, const int*, const double*, const int*, const int*, const double*, const int*, const int*, const double*, const int*, const int*, const int*, const int*, const int*, const int*, const int*, const int*, const int*, cons...
2008 Jul 18
1
system time - windows specific problem
...n. You could answer me to go to the R source. Of course, I look there my code is based on this code. But in the RNG.c file which implements random number generation. they use line 271-289 #include <time.h> #ifdef HAVE_SYS_TIME_H # include <sys/time.h> #endif static void Randomize(RNGtype kind) { /* Only called by GetRNGstate() when there is no .Random.seed */ Int32 seed; #if HAVE_GETTIMEOFDAY { struct timeval tv; gettimeofday (&tv, NULL); seed = ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec; } #elif HAVE_TIME seed = (Int32) time(NULL); #else...
2009 Jul 30
3
user supplied random number generators
...if (ns < 0 || ns > 625) { warning(_("seed length must be in 0...625; ignored")); break; } RNG_Table[kind].n_seed = ns; RNG_Table[kind].i_seed = (Int32 *) User_unif_seedloc(); consistent with the earlier definition of RNG_Table entries as typedef struct { RNGtype kind; N01type Nkind; char *name; /* print name */ int n_seed; /* length of seed vector */ Int32 *i_seed; } RNGTAB; This suggests that the type of user_unif_seedloc is Int32*, not int *. It also suggests that user_unif_nseed should return the number of 32 bit integers. The code for...
2007 Oct 11
1
problem installing MCMCpack
...R-2.5.1/lib/R/include -DSCYTHE_COMPILE_DIRECT -DSCYTHE_DEBUG=0 -DHAVE_TRUNC -I/usr/local/include -fpic -g -O2 -c lecuyer.cc -o lecuyer.o In file included from lecuyer.h:63, from lecuyer.cc:4: rng.h: In member function `scythe::Matrix<double, O, Concrete> scythe::rng<RNGTYPE>::rdirich(const scythe::Matrix<double, O, S>&)': rng.h:1314: syntax error before `;' token make: *** [lecuyer.o] Error 1 chmod: failed to get attributes of `/usr/local/stow/R-2.5.1/lib/R/library/MCMCpack/libs/*': No such file or directory ERROR: compilation failed for packa...
1998 Dec 04
1
R-0.63.1 is released
...'s also a version split in two for floppies and a patch file if you prefer that. Here is the relevant part of the NEWS file: CHANGES IN R VERSION 0.63.1 NEW FEATURES o new function mosaicplot(). o xy.coords(.) has a "recycle = FALSE" argument, used in text(). o RNGtype() allows to choose different Random Number Generators. __EXPERIMENTAL__ o print.default(.) now also works with a `right = TRUE' argument. {{ print.matrix(.) is bound to become deprecated... }} o new help page `Memory' on the usage of command line options --vsize and --nsize. E...
1998 Dec 04
1
R-0.63.1 is released
...'s also a version split in two for floppies and a patch file if you prefer that. Here is the relevant part of the NEWS file: CHANGES IN R VERSION 0.63.1 NEW FEATURES o new function mosaicplot(). o xy.coords(.) has a "recycle = FALSE" argument, used in text(). o RNGtype() allows to choose different Random Number Generators. __EXPERIMENTAL__ o print.default(.) now also works with a `right = TRUE' argument. {{ print.matrix(.) is bound to become deprecated... }} o new help page `Memory' on the usage of command line options --vsize and --nsize. E...