repMat: For copying matrices as in Matlab (works for sparse matrices)

View source: R/matrix_helpers.R

repMatR Documentation

For copying matrices as in Matlab (works for sparse matrices)

Description

For copying matrices as in Matlab (works for sparse matrices)

Usage

repMat(X, m, n)

Arguments

X

matrix to replicate

m

number of times replicate the matrix rows

n

number of times replicate the matrix columns


be-green/quantspace documentation built on March 20, 2024, 5:30 p.m.