[Rcpp-devel] Sample function(s) for inclusion in RcppArmadillo
xian at unm.edu
Fri Mar 29 06:18:42 CET 2013
See attached for minor edits related to Walker Alias method. Based on
the timing tests from the gallery draft and discussion with Johnathan,
we decided it was a bad idea to include code that deviates from R's
behavior, and is slower than R to boot. Thus, the C++ sample now
throws an informative error under the appropriate conditions. I
updated the unitTests accordingly (and cleaned them up a bit).
Incidentally, there's now a stub in place for Walker Alias method
sample function, as well as an associated unitTest that's now
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4455 bytes
Desc: not available
More information about the Rcpp-devel