AT_SETUP([MATRIX - EVAL EXP GINV GRADE GSCH])
AT_DATA([matrix.sps], [dnl
MATRIX.
-PRINT EVAL({2, 0, 0; 0, 3, 4; 0, 4, 9}).
+PRINT EVAL({2, 0, 0; 0, 3, 4; 0, 4, 9})/FORMAT=F5.2.
PRINT EXP({2, 3; 4, 5})/FORMAT F5.2.
])
AT_CHECK([pspp matrix.sps], [1], [dnl
EVAL({2, 0, 0; 0, 3, 4; 0, 4, 9})
- 11.0000000000
- 2.0000000000
- 1.0000000000
+ 11.00
+ 2.00
+ 1.00
EXP({2, 3; 4, 5})
7.39 20.09
matrix.sps:19: error: WRITE: Output format E5.0 specifies width 5, but E
requires a width between 6 and 40.
-matrix.sps:20: error: WRITE: Format A9 is too wide for 8-byte matrix eleemnts.
+matrix.sps:20: error: WRITE: Format A9 is too wide for 8-byte matrix elements.
matrix.sps:21.7-21.11: error: MATRIX: WRITE with MODE=TRIANGULAR requires a
square matrix but the matrix to be written has dimensions 1×2.