MATRIX.
MGET.
-DISPLAY.
PRINT MN/FORMAT=F5.1.
PRINT SD/FORMAT=F5.1.
PRINT NC/FORMAT=F5.0.
END MATRIX.
])
AT_CHECK([pspp matrix.sps -O format=csv], [0], [dnl
-Table: Matrix Variables
-,Rows,Columns,Size (kB)
-CR,8,8,0
-MN,1,8,0
-NC,1,8,0
-SD,1,8,0
+Table: Matrix Variables Created by MGET
+,Dimensions,
+,Rows,Columns
+MN,1,8
+SD,1,8
+NC,1,8
+CR,8,8
MN
24.3 5.4 69.7 20.1 13.4 2.7 27.9 3.7
PRINT CRS2/FORMAT=F5.2.
END MATRIX.
])
-AT_CHECK([pspp -O format=csv matrix.sps], [dnl
+AT_CHECK([pspp -O format=csv matrix.sps], [0], [dnl
+Table: Matrix Variables Created by MGET
+,Split Values,,Dimensions,
+,s1,s2,Rows,Columns
+MNS1,8,0,1,3
+SDS1,8,0,1,3
+NCS1,8,0,1,3
+CRS1,8,0,3,3
+MNS2,8,1,1,3
+SDS2,8,1,1,3
+NCS2,8,1,1,3
+CRS2,8,1,3,3
+
+MNS1
+21.4 5.0 72.9
+
+SDS1
+6.5 1.6 22.8
+
+NCS1
+106 106 106
+
+CRS1
+1.00 .41 -.16
+.41 1.00 -.22
+-.16 -.22 1.00
+
+MNS2
+11.4 1.0 52.9
+
+SDS2
+9.5 8.6 12.8
+
+NCS2
+10 11 12
+
+CRS2
+1.00 .51 .36
+.51 1.00 -.41
+.36 -.41 1.00
])
AT_CLEANUP
\ No newline at end of file