[Rcpp-devel] Integer matrices in Rcpp and Armadillo

Dirk Eddelbuettel edd at debian.org
Thu Jun 6 18:51:44 CEST 2013


Hi Simon,

On 6 June 2013 at 18:38, Simon Zehnder wrote:
| thanks for the fast reply. It seems, that using ints is the only possibility here. I understand though, that the arma::umat has type 'unsigned int', hasn't it? So in this case I wouldn't be able to use umat, but rather mat<int>, right?

Yes, and which, if I recall correctly, is typedef'ed to arma::imat.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list