| Category: | Matrix Operations |
| Requirement: | Both input and output matrices must be square and have the same dimensions. t can be any scalar value. |
options pageno=1 nodate;
proc fcmp;
array mat1[3,3] (0.3, -0.78, -0.82, 0.54, 1.74,
1.2, -1.3, 0.25, 1.49);
array result[3,3];
call expmatrix (mat1, 3, result);
put result=;
quit;
The SAS System 1
The FCMP Procedure
result[1, 1]=365.58043585 result[1, 2]=-589.6358476 result[1, 3]=-897.1034008
result[2, 1]=-507.0874798 result[2, 2]=838.64570481 result[2, 3]=1267.3598426
result[3, 1]=-551.588816 result[3, 2]=858.97629382 result[3, 3]=1324.8187125