Skip to contents

The output should have dimensions `dim(M) * n`.

Usage

repeat_matrix(M, n)

Arguments

M

A matrix.

n

The number of times to be repeated.

Value

A repeated matrix.