C++ Armadillo version for repmat function. Repeat a matrix in bloc.

arma_repmat(A, n, m)

Arguments

A

matrix

n

number of repetition in line

m

number of repetition in column