
Output 22.13 Results from the TRANSPOSE CALL Routine
The SAS System 1
The FCMP Procedure
result[1, 1]=0.3 result[1, 2]=-0.82 result[1, 3]=1.74 result[2, 1]=-0.78
result[2, 2]=0.54 result[2, 3]=1.2
CALL ZEROMATRIX Routine
Replaces all of the element values of the numeric input matrix with 0.
Category: Matrix Operations
Note: You can use the ZEROMATRIX CALL routine with multi-dimensional numeric arrays.
Syntax
CALL ZEROMATRIX(X);
Required Argument
X
specifies a numeric input matrix.
Example
The following example uses the ZEROMATRIX CALL routine:
options pageno=1 nodate;
proc fcmp;
array mat1[3,2] (0.3, -0.78, -0.82, 0.54, 1.74, 1.2);
call zeromatrix(mat1);