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"
.
There is more information here: https://github.com/jwood000/RcppAlgos/issues/13
Thanks,
Joseph Wood
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
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
_
l improves and certainly before
the next release, I will contact the maintainer to ask what the best
course of action is.
Again, thanks for all of the great feedback.
Joseph Wood
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/
?
Kind Regards,
Joseph Wood
[[alternative HTML version deleted]]
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
/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 mailing list