📅  最后修改于: 2022-03-11 14:55:00.388000             🧑  作者: Mango
proc iml;
x = {-1 -1,
0 1,
1 2,
1 0,
-1 0 };
rowMeans = x[ ,:];
colMeans = x[:, ];
grandMean= x[:];
print x rowMeans, colMeans grandMean;