author: Tomáš Vopat
HELP\tshow help page\n EXIT\tterminate program\n LIST\tshow all variables and their values\n
<matrix name> = MATRIX <matrix type> [<row count>,<column count>]\n
-F\tfull matrix\n -S\tsparse matrix\n
<val[0,0]> <val[0,1]> <val[0,2]> ... <val[1,0]> <val[1,1]> ...\n
scan elements of the matrices\n
A = MATRIX -F [2,3]\n SCAN A\n 1 2 3 4 5 6\n PRINT A\n
A:\n \t1 2 3\n \t4 5 6\n
<matrix name> (<row>,<column>)\n
show element on <row>.row <column>.column in matrix <matrix name>\n
<matrix name> (<row>,<column>) = <value>\n
set element on <row>.row <column>.column in matrix <matrix name> to value <value>\n
<matrix name A> <operator> <matrix name B>\n
print result of binary operation\n
<matrix name C> = <matrix name A> <operator> <matrix name B>\n
store result of binary operation to variable <matrix name C>\n
+\taddition\n -\tsubtraction\n *\tmultiplication\n
sizes of both matrices must be equal\n
A + B\n C = A + B\n
sizes of both matrices must be equal\n
A - B\n C = A - B\n
width of first matrix must be equal to the height of the second matrix\n
A * B\n C = A * B\n
MERGE <merge type> <matrix name A> <matrix name B>\n <matrix name C> = MERGE <merge type> <matrix name A> <matrix name B>\n
-H\tmerge matrices horizontally\n -V\tmerge matrices vertically\n
MERGE -H A B\n C = MERGE -V A B\n
CUT <matrix name> <top-left position> <bottom-right position>\n
Operation to crop the matrix within specified positions top-left and bottom-right element included.\n
CUT A (1,0) (2,1)\n C = CUT A (1,0) (2,1)\n
TRANS <matrix name>\n
Operation to transpose the matrix.\n
TRANS A\n C = TRANS A\n
INV <matrix name>\n
Operation to count inverted matrix. ONLY for square matrices.\n
INV A\n C = INV A\n
GEM <matrix name>\n
Operation to perform Gaussian elimination.\n
GEM A\n C = GEM A\n
DET <matrix name>\n
Count determinant of the matrix. ONLY for square matrices.\n
DET A\n
RANK \n
Count rank of the matrix.\n
RANK A\n