matrix(r, c, v)

Returns a matrix with r rows, c columns and all entries equal to v.


See also matrixd row column mpow 


Example


matrix( 2, 3, 1 )

1  1  1

1  1  1