Le 20/03/2018 à 17:22, Dirk Eddelbuettel a écrit :

Akshay,

On 20 March 2018 at 15:54, akshay kulkarni wrote:
| Can I also write this:
|
| M[1:i, n:m] as we write in R?

Please consider to stop posting elementary C++ beginners question to the
list.  We do not provide as a C++ tutorial or training service here.  Please
learn at least /some/ C++ after which a re-reading of the Rcpp documentation
will make more sense to you.
+1

However, to reach a point I can say that certainly RcppEigen will allow you to 
do this
with block operations you have already mentioned. But also RcppArmadillo is 
another
alternative well suited for this kind of basic operations.
You'll have some homework on your side ;)

Best,
Serguei.


Thanks, Dirk


_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to