Contents Previous Next Subchapters

Filling A Matrix With A Row Vector
Syntax fillrows(vn)
See Also fillcols , fill

Description
Returns the matrix that has n rows, each of which contains the vector v, where n is an integer scalar and v is a row vector. The return value has the same type and column dimension as v, and its row dimension is equal to n.

Example
     fillrows([1, 2, 3], 3)
returns
     {
     [ 1 , 2 , 3 ]
     [ 1 , 2 , 3 ]
     [ 1 , 2 , 3 ]
     }