rande
,
which is redefined by RcppOctave
to call the R base function
rexp
.
This enables to exactly reproduce stochastic computations in R and Octave,
without changing the original Octave/Matlab code.
See o_runif
for more details.o_rexp(n, p = n)
n
)[Generated from Octave-
# Draw random exponential values (in vector form) set.seed(123) o_rexp(1) o_rexp(1, 10)
# Draw random normal values (in matrix form) set.seed(123) o_rexp(2) o_rexp(2, 5)