2 matfill - fill a matrix with specified value or values
15 For any matrix m, matfill(m, x) assigns to every element of m the
16 value x. For a square matrix m, matfill(m, x, y) assigns the value
17 x to the off-diagonal elements, y to the diagonal elements.
20 > mat A[3]; matfill(A, 2); print A
21 mat [3] (3 elements, 3 nonzero):
26 > mat B[2, 1:2]; matfill(B,3,4); print B
27 mat [2,1:2] (4 elements, 4 nonzero):