# \donttest{
if (FALSE) {
a <- gpu.matrix(1:9,nrow=3,ncol=3)
#add new row
newrow <- c(1,2,3)
a <- rbind2(a,newrow)
#add new column
newcolumn <- c(1,2,3,4)
a <- cbind(a,newcolumn)
#add new rows from other gpu.marix
b <- gpu.matrix(1:16,nrow=4,ncol=4)
d <- rbind(a,b)
#add new columns from other gpu.marix
b <- gpu.matrix(1:16,nrow=4,ncol=4)
d <- cbind(a,b)
}
# }
Run the code above in your browser using DataLab