numpy.matrix.repeat — NumPy v2.6.dev0 Manual

method

matrix.repeat(repeats, axis=None)

#

Repeat elements of an array.

Refer to

numpy.repeat

for full documentation.