proc fcmp;
array mat1[3,2] (3,5,0,9,1,2);
array trans_mat1[2,3] /nosym;
/*call transposeでmat1の転置行列をtrans_mat1に格納 */
call transpose(mat1,trans_mat1);
rc = write_array("MAT1", mat1 ) ;
rc = write_array("TRANS_MAT1", trans_mat1 ) ;
quit;
proc print data=MAT1;
run;
proc print data=TRANS_MAT1;
run;
0 件のコメント:
コメントを投稿