summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/calculator/examples/calculator50.tex
blob: c1ed8fc0ac3857e61063d762e466ff94a21c63bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\MATRIXADD(1,-1;3,0)(3,5;-3,2)%
          (\sola,\solb;\solc,\sold)
$\begin{bmatrix}
       1 & -1 \\ 3 & 0
     \end{bmatrix}+
\begin{bmatrix}
       3 & 5 \\ -3 & 2
     \end{bmatrix}=\begin{bmatrix}
       \sola & \solb \\ \solc & \sold
     \end{bmatrix}$

\MATRIXSUB(1,-1;3,0)(3,5;-3,2)%
          (\sola,\solb;\solc,\sold)
$\begin{bmatrix}
       1 & -1 \\ 3 & 0
     \end{bmatrix}-
\begin{bmatrix}
       3 & 5 \\ -3 & 2
     \end{bmatrix}=\begin{bmatrix}
       \sola & \solb \\ \solc & \sold
     \end{bmatrix}$