-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmydefs.sty
240 lines (206 loc) · 7.38 KB
/
mydefs.sty
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
%% Old stuff provided by the template, we're going to get rid of all of this eventually
% 2 theta with ` ' marks
\providecommand{\tth}{\mbox{`}2 \theta \mbox{'}}
% chemical formulas -- doesn't work in headings!
\newlength{\fntxvi} \newlength{\fntxvii}%
\newcommand{\chemical}[1]
{{\fontencoding{OMS}\fontfamily{cmsy}\selectfont
\fntxvi\the\fontdimen16\font
\fntxvii\the\fontdimen17\font
\fontdimen16\font=3pt\fontdimen17\font=3pt
$\mathrm{#1}$
\fontencoding{OMS}\fontfamily{cmys}\selectfont
\fontdimen16\font=\fntxvi \fontdimen17\font=\fntxvii}}%
% shortcut for Cu3Au -- works in headings
\providecommand{\cutau}{Cu$_3$Au}%
%% Minimizations.
\newcommand{\Min}[1]{{\hbox{$\underset{#1}{\mbox{min}}\;$}}}\long\def\commentOUT#1{}
\newcommand{\argmin}[1]{{\hbox{$\underset{#1}{\mbox{argmin}}\;$}}}\long\def\commentOUT#1{}
\newcommand{\sign}{{\text{sign}}}
\newcommand{\shrink}{{\text{shrink}}}
%% Shankar's special shorthand
%\renewcommand{\arrow}{\ \ \ \Longrightarrow \ \ \ }
\newcommand{\moo}{\mathbf{\mu}}
\newcommand{\fie}{\mathbf{\phi}}
\newcommand{\alfa}{\mathbf{\alpha}}
\def\chat{\mathbf{\hat{c}}}
\def\xhat{\mathbf{\hat{x}}}
\def\nhat{\mathbf{\hat{n}}}
%% The rest I stole ... err ... borrowed from Yi's gpcabook
\newtheorem{problem}{Problem}
\newtheorem{definition}{Definition}
\newtheorem{theorem}{Theorem}
\newtheorem{example}{Example}
\newtheorem{remark}{Remark}
\newtheorem{comment}{Comment}
\newtheorem{proposition}{Proposition}
\newtheorem{lemma}{Lemma}
\newtheorem{corollary}{Corollary}
\newtheorem{assumption}{Assumption}
\newtheorem{alg}{Algorithm}
\def\QED{~\rule[-1pt]{5pt}{5pt}\par\medskip}
\newcommand {\itembbox}{\item[\hbox{\rule[3pt]{7pt}{7pt}}]} % black box
\newcommand {\itembull}{\item[$\bullet$] } % bullet
\newcommand {\itemcirc}{\item[$\circ$] } % open circle
\newcommand {\itemlt} {\item[$\leadsto$] } % curly arrow
\newcommand {\itemnull}{\item[] } % empty
\newcommand {\itempt} {\item[$\rightarrow$] } % -->
\newcommand {\itemimp} {\item[$\Rightarrow$] } % ==>
%\long\def\comment#1{}
\long\def\commentOUT#1{} % Jana's def for commenting things temporarily out
%\newcommand{\ie}{{i.e., }}
%\newcommand{\eg}{{e.g., }}
%\newcommand{\etal}{{et al.}}
\newcommand{\D}{\displaystyle}
\renewcommand{\simeq}{{~\sim~}}
\renewcommand{\mathbf}{\boldsymbol}
\def\mychi{{\raisebox{0.3ex}{$\chi$}}}
%\newcommand{\W}{{\mathbf W}} % The wind speed.
%\newcommand{\sign}{{\text{sign}}}
%\newcommand{\temp1}{{\text{temp}_1}}
%\def\temp1{{\text{temp}_1}}
\newcommand{\Sym}{{\text{Sym}}} % Symmetric tensor space
\renewcommand{\S}{{\mathcal{S}}} % Symmetric tensor space
\newcommand{\rank}{{\text{rank}}} % rank of a matrix
\newcommand{\F}{\mathbf{F}} % Force vector
\newcommand{\T}{\mathcal{T}} % Multibody fundamental matrix
\newcommand{\Pol}{{{R}}}
\newcommand{\Ce}{{\mathbb{C}}} % Complex numbers
\renewcommand{\Re}{\mathbb R}
\newcommand{\Ze}{\mathbb Z}
\newcommand{\Pe}{\mathbb P}
\newcommand{\Ee}{\mathbb E}
\newcommand{\He}{\mathbb H}
%\newcommand{\myhat}[1]{[#1]_{\times}}
\newcommand{\myhat}{\widehat}
%\def\QED{~\rule[-1pt]{5pt}{5pt}\par\medskip}
\def\END{~\rule[-1pt]{5pt}{5pt}\par\medskip}
%\def\QED{{\bf Q.E.D.}\par\medskip}
%\newenvironment{proof}{{\bf Proof: \ }}{ \hfill \QED}
\def\e1{{{\mathbf e}_1}}
\def\e2{{{\mathbf e}_2}}
\def\e3{{{\mathbf e}_3}}
\renewcommand{\v}{\mathbf{v}}
\newcommand{\w}{\mathbf{w}}
\newcommand{\bu}{{\mathbf u}}
\newcommand{\bx}{{\mathbf x}}
\newcommand{\bl}{{\mathbf \ell}}
\newcommand{\bX}{{\mathbf X}}
\newcommand{\bU}{{\mathbf u}}
\newcommand{\bv}{{\mathbf v}}
\newcommand{\p}{{p}}
\newcommand{\bH}{{\mathbf H}}
\newcommand{\bh}{{\mathbf h}}
\newcommand{\q}{{\mathbf q}}
\newcommand{\rr}{{\mathbf r}}
\newcommand{\te}{\mathbf{t}}
% LIST OF SYMBOLS AND NOTATION
\renewcommand{\a}{\mathbf{a}} % Stacked multibody affine matrix
\newcommand{\A}{\mathcal{A}} % Multibody affine matrix
\renewcommand{\c}{\mathbf{c}} % Vector of coefficients
\renewcommand{\d}{\mathbf{d}} % 2-D displacement vector
\renewcommand{\e}{\mathbf{e}} % Epipole
\newcommand{\g}{\mathbf{g}} % Vector in optimal derivations
\newcommand{\f}{\mathbf{f}} % Vector in optimal derivations Stacked fundamental matrix
\renewcommand{\l}{\boldsymbol{\ell}} % Epipolar line
\newcommand{\n}{\mathbf{n}} % Multivariate degree of a polynomial
\renewcommand{\u}{\mathbf{u}} % Optical flow
\newcommand{\vv}{\mathbf{v}} % Don't know
\renewcommand{\r}{\mathbf{r}} % Noise in data point
\newcommand{\s}{\mathbf{s}} % Noise in data point
\newcommand{\x}{\mathbf{x}} % Image or data point
\newcommand{\blamda}{\mathbf{\lambda}} % lambda as a vector.
\newcommand{\V}{\mathbf{V}} % Embedded data set
\newcommand{\X}{\mathbf{X}} % Data Set
\newcommand{\y}{\mathbf{y}} % Image derivatives
\newcommand{\bb}{\mathbf{b}} % Image derivatives
\newcommand{\z}{\mathbf{z}} % Vector for combination of eigenvectors
\def\X{{\mathbf{X}}}
\def\Y{{\mathbf{Y}}}
\def\hOm{{\widehat {\Omega}}}
\def\hom{{\widehat {\omega}}}
\def\SO3{{SO(3)}}
\def\so3{{so(3)}}
\def\SE3{{SE(3)}}
\def\se3{{se(3)}}
\newcommand{\subj}{\textup{subj to}}
%\def\commentSS#1{{\small{\textsc{[\underline{STEFANO COMMENT:}{#1{]}}}}}}
%\def\commentSSS#1{{\small{\textsc{[\underline{SHANKAR COMMENT:}{#1{]}}}}}}
%\def\commentYM#1{{\small{\textsc{[\underline{YI COMMENT:}{#1{]}}}}}}
%\def\commentJK#1{{\small{\textsc{[\underline{JANA COMMENT:}{#1{]}}}}}}
% TO REMOVE ALL COMMENTS JUST COMMENT LINE ABOVE AND UNCOMMENT FOLLOWING
\def\commentSS#1{}\def\commentSSS#1{}\def\commentYM#1{}\def\commentJK#1{}
\newcommand{\psfigure}[3]
{
\begin{tabular}{c}
{ \psfig{figure=#1,height=#2in,width=#3in}}
\end{tabular} }
\def\real{{\Re}}
\def\Q{{\mathbf{Q}}}
\def\P{{\mathcal{P}}}
%\def\P{{P}}
\def\X{{\mathbf{X}}}
\def\x{{\mathbf{x}}}
\def\Y{{\mathbf{Y}}}
\def\n{{\mathbf{n}}}
\def\bry{{\mathbf{\bar y}}}
\def\brx{{\mathbf{\bar x}}}
\def\brZ{{{\bar Z}}}
\def\H{{\cal{H}}}
\def\Ss{{\cal{S}}}
\def\brX{{\mathbf{\bar X}}}
\def\brY{{\mathbf{\bar Y}}}
\def\1{{\mathbf{1}}}
\def\S{{\mathbf{S}}}
\def\prS{{\rm pr}_{<\Sigma>}}
\def\hOm{{\widehat {\Omega}}}
\def\hom{{\widehat {\omega}}}
\def\hv{{\widehat \twist}}
\def\simSE3{{\stackrel{SE(3)}{\sim}}}
\def\simse3{{\stackrel{se(3)}{\sim}}}
\def\expectation{{\mathbf {E}}}
%\def\SO3{{\mathbf {SO(3)}}}
%\def\SE3{{\mathbf {SE(3)}}}
\newcommand{\avect}{eigenvector}
\newcommand{\0}{\mathbf{0}}
\def\arr{{\mathcal{A}}}
\newcommand{\Null}{{\mbox{Null}}}
\renewcommand{\mathbf}{\boldsymbol}
\renewcommand{\Re}{{\mathbb{R}}}
\def\tt{{\boldsymbol{t}}}
\def\ee{{\boldsymbol{e}}}
\def\aa{{\boldsymbol{a}}}
\def\bb{{\boldsymbol{b}}}
\def\dd{{\boldsymbol{d}}}
\def\ss{{\boldsymbol{s}}}
\def\cc{{\boldsymbol{c}}}
\def\pp{{\boldsymbol{p}}}
\def\chat{{\boldsymbol{\hat{\c}}}}
\def\nn{{\boldsymbol{n}}}
\def\rr{{\boldsymbol{n}}}
\def\m{{\boldsymbol{m}}}
\def\X{{\boldsymbol{X}}}
\def\L{{\boldsymbol{L}}}
\def\l{{\boldsymbol{l}}}
\def\Y{{\boldsymbol{Y}}}
\def\V{{\boldsymbol{V}}}
\def\uu{{\boldsymbol{u}}}
\def\vv{{\boldsymbol{v}}}
\def\yy{{\boldsymbol{y}}}
\def\xx{{\boldsymbol{x}}}
\def\ww{{\boldsymbol{w}}}
\def\zz{{\boldsymbol{z}}}
\def\uu{{\boldsymbol{u}}}
\def\F{{\boldsymbol{F}}}
\def\veronese{{\nu}}
\def\Qveronese{{\mu}}
\def\H{{\mathcal{H}}}
\def\Q{{\mathcal{Q}}}
\def\E{{\mathcal{E}}}
\def\L{{\mathcal{L}}}
\def\M{{\mathcal{M}}}
\def\A{{\mathcal{A}}}
\def\B{{\mathcal{B}}}
\def\F{{\mathcal{F}}}
\def\field{\mathbb{F}}
\def\QED{~\rule[-1pt]{5pt}{5pt}\par\medskip}