|
|
|
|
|
|
|
% clickable tocs
|
|
|
|
\usepackage{hyperref}
|
|
|
|
|
|
|
|
% floating figures
|
|
|
|
\usepackage{float}
|
|
|
|
|
|
|
|
\usepackage{listings}
|
|
|
|
|
|
|
|
\usepackage{tikz}
|
|
|
|
\usepackage{pgfplots}
|
|
|
|
\usepgfplotslibrary{groupplots}
|
|
|
|
\pgfplotsset{compat=newest}
|
|
|
|
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\graphicspath{ {./images/} }
|
|
|
|
\usepackage{caption}
|
|
|
|
\usepackage{subcaption}
|
|
|
|
|
|
|
|
% Matrices have a upper bound for its size
|
|
|
|
\setcounter{MaxMatrixCols}{20}
|
|
|
|
|
|
|
|
% Remove trailing `contents` after toc
|
|
|
|
\renewcommand{\contentsname}{}
|
|
|
|
|
|
|
|
\DeclareMathOperator{\diag}{diag}
|
|
|
|
\DeclareMathOperator{\logt}{\log_2}
|
|
|
|
% \newcommand{\vec}[1]{\mathbf{#1}}
|
|
|
|
\newcommand{\BigO}[1]{\mathcal{O}(#1)}
|
|
|
|
\newcommand{\proc}[1]{#1}
|
|
|
|
\newcommand{\R}{\mathbb{R}}
|
|
|
|
|
|
|
|
\newcommand{\todo}[1]{
|
|
|
|
\addcontentsline{tdo}{todo}{\protect{#1}}
|
|
|
|
$\ast$ \marginpar{\tiny $\ast$ #1}
|
|
|
|
}
|
|
|
|
|
|
|
|
\theoremstyle{plain}
|
|
|
|
\newtheorem{theorem}{Theorem}[section]
|
|
|
|
\newtheorem{lemma}[theorem]{Lemma}
|
|
|
|
\newtheorem{notation}[theorem]{Notation}
|
|
|
|
|
|
|
|
\newcommand*{\thead}[1]{\multicolumn{1}{c}{\bfseries #1}}
|