
Example
The following example uses the MULT CALL routine:
options pageno=1 nodate;
proc fcmp;
array mat1[2,3] (0.3, -0.78, -0.82, 0.54, 1.74, 1.2);
array mat2[3,2] (1, 0, 0, 1, 1, 0);
array result[2,2];
call mult(mat1, mat2, result);
put result=;
quit;
Output 22.9 Results from the MULT CALL Routine
The SAS System 1
The FCMP Procedure
result[1, 1]=-0.52 result[1, 2]=-0.78 result[2, 1]=1.74 result[2, 2]=1.74
CALL POWER Routine
Raises a square matrix to a given scalar value.
Category: Matrix Operations
Restriction: Large scalar values should be avoided because the POWER CALL routine's internal
use of the matrix multiplication routine might cause numerical ...