
% clickable tocs
\usepackage{hyperref}

% floating figures
\usepackage{float}

\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}

\usepackage{graphicx}
\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{\todo}[1]{
	\addcontentsline{tdo}{todo}{\protect{#1}}
	$\ast$ \marginpar{\tiny $\ast$ #1}
}

\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}

\newcommand*{\thead}[1]{\multicolumn{1}{c}{\bfseries #1}}
