-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathz_math_commands.tex
101 lines (91 loc) · 3.06 KB
/
z_math_commands.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
% This file contains all of the mathematical commands used in the book
\renewcommand*{\pd}[3][]{\ensuremath{\frac{\partial^{#1} #2}{\partial #3}}}
\newcommand{\mA}{\mathbf{A}}
\newcommand{\mB}{\mathbf{B}}
\newcommand{\mC}{\mathbf{C}}
\newcommand{\mD}{\mathbf{D}}
\newcommand{\mE}{\mathbf{E}}
\newcommand{\mF}{\mathbf{F}}
\newcommand{\mH}{\mathbf{H}}
\newcommand{\mI}{\mathbf{I}}
\newcommand{\mJ}{\mathbf{J}}
\newcommand{\mL}{\mathbf{L}}
\newcommand{\mM}{\mathbf{M}}
\newcommand{\mP}{\mathbf{P}}
\newcommand{\mQ}{\mathbf{Q}}
\newcommand{\mR}{\mathbf{R}}
\newcommand{\mS}{\mathbf{S}}
\newcommand{\mU}{\mathbf{U}}
\newcommand{\mV}{\mathbf{V}}
\newcommand{\mX}{\mathbf{X}}
\newcommand{\mY}{\mathbf{Y}}
\newcommand{\mAi}{\mathbf{A}^{-1}}
\newcommand{\mBi}{\mathbf{B}^{-1}}
\newcommand{\mCi}{\mathbf{C}^{-1}}
\newcommand{\mPi}{\mathbf{P}^{-1}}
\newcommand{\mRi}{\mathbf{R}^{-1}}
\newcommand{\mXi}{\mathbf{X}^{-1}}
\newcommand{\mYi}{\mathbf{Y}^{-1}}
\newcommand{\mXp}{\mathbf{X}^{+}}
%%%%% TRANSPOSES
\newcommand{\T}{^\mathsf{T}}
\newcommand{\mAT}{\mathbf{A}^{\mathsf{T}}}
\newcommand{\mBT}{\mathbf{A}^{\mathsf{T}}}
\newcommand{\mCT}{\mathbf{A}^{\mathsf{T}}}
\newcommand{\mDT}{\mathbf{A}^{\mathsf{T}}}
\newcommand{\mET}{\mathbf{A}^{\mathsf{T}}}
\newcommand{\mXT}{\mathbf{X}^{\mathsf{T}}}
\newcommand{\mXiT}{\mathbf{X}^{-\mathsf{T}}}
\newcommand{\va}{\mathbf{a}}
\newcommand{\vb}{\mathbf{b}}
\newcommand{\vc}{\mathbf{c}}
\newcommand{\vd}{\mathbf{d}}
\newcommand{\ve}{\mathbf{e}}
\newcommand{\vf}{\mathbf{f}}
\newcommand{\vg}{\mathbf{g}}
\newcommand{\vp}{\mathbf{p}}
\newcommand{\vq}{\mathbf{q}}
\newcommand{\vu}{\mathbf{u}}
\newcommand{\vv}{\mathbf{v}}
\newcommand{\vw}{\mathbf{w}}
\newcommand{\vx}{\mathbf{x}}
\newcommand{\vy}{\mathbf{y}}
\newcommand{\vz}{\mathbf{z}}
\newcommand{\vaT}{\mathbf{a}^\mathsf{T}}
\newcommand{\vbT}{\mathbf{b}^\mathsf{T}}
\newcommand{\vuT}{\mathbf{u}^\mathsf{T}}
\newcommand{\vvT}{\mathbf{v}^\mathsf{T}}
\newcommand{\vxT}{\mathbf{x}^\mathsf{T}}
\newcommand{\vzero}{\mathbf{0}}
\DeclareMathOperator{\diag}{diag}
\DeclareMathOperator{\eig}{eig}
\DeclareMathOperator{\trace}{tr}
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\nnz}{nnz}
\newcommand{\sPSD}{\mathbb{S}^n_+}
\newcommand{\sC}{\mathbb{C}}
\newcommand{\sCmn}{\mathbb{C}^{m,n}}
\newcommand{\sCnn}{\mathbb{C}^{n,n}}
\newcommand{\sR}{\mathbb{R}}
\newcommand{\sRm}{\mathbb{R}^{m}}
\newcommand{\sRn}{\mathbb{R}^{n}}
\newcommand{\sRp}{\mathbb{R}^{p}}
\newcommand{\sRkk}{\mathbb{R}^{k,k}}
\newcommand{\sRkn}{\mathbb{R}^{k,n}}
\newcommand{\sRnm}{\mathbb{R}^{n,m}}
\newcommand{\sRmn}{\mathbb{R}^{m,n}}
\newcommand{\sRnn}{\mathbb{R}^{n,n}}
\newcommand{\sRnk}{\mathbb{R}^{n,k}}
\newcommand{\sRnp}{\mathbb{R}^{n,p}}
\newcommand{\sRnr}{\mathbb{R}^{n,r}}
\newcommand{\sRmm}{\mathbb{R}^{m,m}}
\newcommand{\sSn}{\mathbb{S}^{n}}
\newcommand{\ispsd}{\succeq}
\newcommand{\ispd}{\succ}
\newcommand{\pinv}{\!^+}
\newcommand{\ns}{\mathcal{N}}
\newcommand{\range}{\mathcal{R}}
\newcommand{\bs}{\setminus}
\newcommand{\kp}{\otimes} %Kronecker product
\newcommand{\hp}{\circ} %Hadamard product
\newcommand{\grad}{\nabla} %Gradient operator