Hello,
I recently discovered a possible inconsistency with usage of an object of
class array.
Consider the following example:
## Setup
a <- array(1:6, dim = c(1, 3, 2))
a
, , 1
[,1] [,2] [,3]
[1,]123
, , 2
[,1] [,2] [,3]
[1,]456
class(a)
[1] "array"
dim(a)
n = 0; n <= bits; n += 16) {
int v1 = (int) floor(unif_rand() * 65536);
v = 65536 * v + v1;
}
int_least64_t one64 = 1L;
// mask out the bits in the result that are not needed
return (double) (v & ((one64 << bits) - 1));
}
Regards,
Joseph Wood
_
w.com/questions/33453141/most-efficient-way-to-determine-if-element-exists-in-a-vector
I didn't know if this was something that needed to be addressed.
Regards,
Joseph Wood
[[alternative HTML version deleted]]
__
R-devel@r-project.org ma