Re: [Rcpp-devel] filling in blocks of a matrix

2014-02-13 Thread Dirk Eddelbuettel
On 13 February 2014 at 11:23, Hideyoshi Maeda wrote: | I am looking to see it is possible to fill in a matrix with another matrix. | | I have three matrices, out1 which is a 5x5 zero matrix | | out2 is a 3x3 matrix with each value set as 8 | | and out3 which is a 5x4 matrix with each value set

[Rcpp-devel] filling in blocks of a matrix

2014-02-13 Thread Hideyoshi Maeda
Dear Rcpp-List, I am looking to see it is possible to fill in a matrix with another matrix. I have three matrices, out1 which is a 5x5 zero matrix out2 is a 3x3 matrix with each value set as 8 and out3 which is a 5x4 matrix with each value set as 9 I would like to change part of my out1 matrix