\usepackage{amsmath}
%\usepackage{mathtools}
\usepackage{bbm}
\newcommand{\set}[1]{\left\lbrace #1 \right\rbrace}
\newcommand{\setCond}[2]{\left\lbrace #1\vphantom{#2} \right. \left| \vphantom{#1}#2 \right\rbrace}
\newcommand{\setZ}{\mathbbm{Z}}
\newcommand{\setN}{\mathbbm{N}}
\newcommand{\setQ}{\mathbbm{Q}}
\newcommand{\setR}{\mathbbm{R}}
\newcommand{\setC}{\mathbbm{C}}
\newcommand{\einsmatrix}{\mathbbm{1}}
\newcommand{\bigO}{\mathbbm{O}}
\newcommand{\inlinematrix}[1]{\begin{pmatrix} #1 \end{pmatrix}}
\newcommand{\inlinearray}[2]{\left( \begin{array}{#1} #2 \end{array} \right)}

\newcommand{\inlinematrixu}[1]{\begin{matrix} #1 \end{matrix}}
\newcommand{\inlinematrixd}[2]{\left( \begin{matrix} #1\vphantom{#2} \end{matrix} ~\right| \left. \begin{matrix} \vphantom{#1}#2 \end{matrix} \right)}
\newcommand{\inlinematrixdet}[1]{\begin{vmatrix} #1 \end{vmatrix}}

\newcommand{\norm}[1]{\left\Vert #1 \right\Vert}
\newcommand{\scalar}[2]{\langle #1 , #2 \rangle}
\newcommand{\abs}[1]{{\left| #1 \right|}}
\newcommand{\gdw}{\Leftrightarrow}
%\newcommand{\iff}{\Leftrightarrow}
\newcommand{\re}[1]{{\text{Re}\left( #1 \right)}}
\newcommand{\im}[1]{{\text{Im}\left( #1 \right)}}
\newcommand{\tr}{{\text{tr}}}
\newcommand{\sign}{{\text{sign}}}

\newcommand{\QED}{\begin{large}\textbf{\checkmark}\end{large}}
\newcommand{\cequiv}{\stackrel{\scriptscriptstyle\wedge}{=}} %ContextEQUIvalent
\newcommand{\deq}{\stackrel{!}{=}}
\newcommand{\expval}[1]{\langle #1 \rangle}

\newcommand{\diffP}[1]{\frac{\partial}{\partial #1}}
\newcommand{\diffT}[1]{\frac{\text{d}}{\text{d} #1}}
\newcommand{\diffTfrac}[2]{\frac{\text{d} #1}{\text{d} #2}}
\newcommand{\diffTm}[3]{\diffTfrac{^{#1} #2}{#3^{#1}}}
\newcommand{\diffPfrac}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\intgr}[4]{\int_{#1}^{#2} #3 \,\text{d}#4}
\newcommand{\intgru}[2]{\int #1 \,\text{d}#2}
\newcommand{\intgrinf}[2]{\intgr{-\infty}{+\infty}{#1}{#2}}

\newcommand{\sbk}[1]{\left( #1 \right)}
\newcommand{\sqbk}[1]{\left[ #1 \right]}
\newcommand{\ssbk}[1]{\left< #1 \right>}
\newcommand{\detb}[1]{\det\sqbk{#1}}
\newcommand{\cosb}[1]{\cos\sbk{#1}}
\newcommand{\sinb}[1]{\sin\sbk{#1}}
\newcommand{\sinhb}[1]{\sinh\sbk{#1}}
\newcommand{\coshb}[1]{\cosh\sbk{#1}}
\newcommand{\cotb}[1]{\cot\sbk{#1}}
\newcommand{\tanb}[1]{\tan\sbk{#1}}
\newcommand{\arcsinb}[1]{\arcsin\sbk{#1}}
\newcommand{\airyb}[1]{\text{Ai}\sbk{#1}}
\newcommand{\lnb}[1]{\text{ln}\sbk{#1}}
\newcommand{\bigOb}[1]{\bigO\sbk{#1}}
\newcommand{\mtrx}[1]{\vec{#1}} %fett machen als matrix


\newcommand{\levicivita}[1]{\varepsilon_{#1}}
\newcommand{\krondelta}[1]{\delta_{#1}}

\newcommand{\equationblock}[1]{\begin{equation} #1 \end{equation}}
