numpy.matlib.repmat()

numpy.matlib.repmat

numpy.matlib.repmat(a, m, n) [source]

Repeat a 0-D to 2-D array or matrix MxN times.

Parameters:

a : array_like

The array or matrix to be repeated.

m, n : int

The number of times a is repeated along the first and second axes.

Returns:

out : ndarray

The r