repMat.Rd
For copying matrices as in Matlab (works for sparse matrices)
repMat(X, m, n)
matrix to replicate
number of times replicate the matrix rows
number of times replicate the matrix columns