Helpful R matrix examples within Rcpp, RCppArmadillo, and RInside for C++ applications
The following samples demonstrate matrix uses within these R packages:
7
10
12
0
1
The above are bundled as rinside_sample1.cpp etc from the RInside package.