/
notation.tex
40 lines (39 loc) · 1.58 KB
/
notation.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
\newcommand{\trans}[1]{{#1}^{\bm{T}}}
\newcommand{\dif}[1]{\frac{\partial}{\partial #1}}
\newcommand{\diff}[2]{\frac{\partial #2}{\partial #1}}
\newcommand{\ddif}[2]{\frac{\partial^2}{\partial #1 \partial #2}}
\newcommand{\ddiff}[3]{\frac{\partial^2 #3}{\partial #1 \partial #2}}
\newcommand{\makeop}[1]{\mathop{\mathrm{#1}}\nolimits}
\newcommand{\sgn}{\makeop{sgn}}
\newcommand{\diag}{\makeop{diag}}
\newcommand{\tri}{\makeop{tri}}
\newcommand{\tr}{\makeop{tr}}
\newcommand{\KL}{\makeop{KL}}
\newcommand{\Dir}{\makeop{Dir}}
\newcommand{\Gam}{\makeop{Gam}}
\newcommand{\St}{\makeop{St}}
\newcommand{\var}{\makeop{var}}
\newcommand{\cov}{\makeop{cov}}
\newcommand{\vecx}{\bm{x}}
\newcommand{\outp}[1]{{{#1} \trans{{#1}}}}
\newcommand{\inp}[1]{{\trans{{#1}}}{#1}}
\newcommand{\vpi}{\bm{\pi}}
\newcommand{\vvec}[2]{\begin{pmatrix} #1 \\ #2 \end{pmatrix}}
\newcommand{\hvec}[2]{\begin{pmatrix} #1 & #2 \end{pmatrix}}
\newcommand{\matt}[4]{\begin{pmatrix} #1 & #2 \\ #3 & #4 \end{pmatrix}}
\newcommand{\dett}[4]{\begin{vmatrix} #1 & #2 \\ #3 & #4 \end{vmatrix}}
\newcommand{\lmatt}[4]{\begin{pmatrix} #1 & \ldots & #2 \\ \vdots & \ddots & \vdots \\ #3 & \ldots & #4 \end{pmatrix}}
\newcommand{\quadf}[2]{\trans{\bm{#2}} #1 \bm{#2}}
\newcommand{\quads}[2]{\trans{#2} #1 {#2}}
\newcommand{\CC}{\mathbb{C}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\EE}{\mathbb{E}}
\newcommand{\PhiT}{\trans{\Phi}}
\newcommand{\calN}{{\cal N}}
\newcommand{\calD}{{\cal D}}
\newcommand{\calL}{{\cal L}}
\newcommand{\calQ}{{\cal Q}}
\newcommand{\calW}{{\cal W}}
\newcommand{\half}{\frac{1}{2}}
\newcommand{\ignore}[1]{}
\newcommand{\bmm}{\bm {m}}