[Rcpp-devel] For a Matrix A, is A(i, j) or A[i, j] preferred as an accessor for an element

Romain Francois romain at r-enthusiasts.com
Mon Dec 10 17:38:47 CET 2012

Le 10/12/12 17:29, Douglas Bates a écrit :
> or does it matter?

A[i,j] is wrong, not valid C or C++ code. so there is only one choice.


Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30

R Graph Gallery: http://gallery.r-enthusiasts.com

blog:            http://romainfrancois.blog.free.fr
|- http://bit.ly/RE6sYH : OOP with Rcpp modules
`- http://bit.ly/Thw7IK : Rcpp modules more flexible

More information about the Rcpp-devel mailing list