Update to 2.0.0 tree from current Fremantle build
[opencv] / doc / plastex / mymath.sty
1 \ProvidesPackage{mymath}
2
3 \newcommand{\matTT}[9]{
4 \[
5 \left|\begin{array}{ccc}
6  #1 & #2 & #3\\
7  #4 & #5 & #6\\
8  #7 & #8 & #9
9 \end{array}\right|
10 \]
11 }
12
13 \newcommand{\fork}[4]{
14   \left\{
15   \begin{array}{l l}
16   #1 & \mbox{#2}\\
17   #3 & \mbox{#4}\\
18   \end{array} \right.}
19 \newcommand{\forkthree}[6]{
20   \left\{
21   \begin{array}{l l}
22   #1 & \mbox{#2}\\
23   #3 & \mbox{#4}\\
24   #5 & \mbox{#6}\\
25   \end{array} \right.}
26
27 \newcommand{\vecthree}[3]{
28 \begin{bmatrix}
29  #1\\
30  #2\\
31  #3
32 \end{bmatrix}
33 }
34
35 \newcommand{\vecthreethree}[9]{
36 \begin{bmatrix}
37  #1 & #2 & #3\\
38  #4 & #5 & #6\\
39  #7 & #8 & #9
40 \end{bmatrix}
41 }
42