
%%%%%%%%%Packages%%%%%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{thmtools, thm-restate}


%%%%%%%%%%%% MATH FORMATTING %%%%%%%%%%%%%%%%%%%%%
%Helpful bits
\newcommand{\bb}[1]{\mathbb{#1}}

%Derivatives etc.
\newcommand{\parder}[3]{\ensuremath{ \frac{\partial^{#3} #1}{\partial #2~^{#3}}}}
\newcommand{\der}[3]{\ensuremath{ \frac{d^{#3} #1}{d #2~^{#3}}}}

%Math Operators
\DeclareMathOperator{\argmax}{argmax}
\DeclareMathOperator{\argmin}{argmin}
\newcommand{\pr}[1]{\ensuremath{\text{Pr}\left( #1 \right)}}
