Helper function, repeats a row.

Share:

Description

This function creates a matrix that repeats vc, dm times where each row is equal to the vc vector.

Usage

1
VTM(vc, dm)

Arguments

vc

the vector to repeat.

dm

number of rows.

Value

a matrix that repeats vc, dm times where each row is equal to the vc vector