On 9 October 2012 at 19:07, [email protected] wrote:
| Can you provide an example how to convert Armadillo colvec to uvec vector 
which
| I assume works as selector for rows?

You may need to loop (or use STL iterators) to fill the uvec position by
position.  Then use the subset, and proceed with your correlation
calculation.  I don't think there is a shortcut.

Dirk

-- 
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com  
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to