randn
, which is redefined by
RcppOctave
to call the R base function
rnorm
. 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_rnorm(n, p = n)
n
) [Generated from
Octave-
# Draw random normal values (in matrix form) set.seed(123) o_rnorm(2) o_rnorm(2, 5)