% Standard operations from linear algebra.
%
+% Needed for \lvert, \rVert, etc. and \operatorname.
+\usepackage{amsmath}
+
\input{mjo-common}
+% Absolute value (modulis) of a scalar.
+\newcommand*{\abs}[1]{ \left\lvert {#1} \right\rvert }
+
+% Norm of a vector.
+\newcommand*{\norm}[1]{ \left\lVert {#1} \right\rVert }
+
% The inner product between its two arguments.
\newcommand*{\ip}[2]{ \langle {#1}, {#2} \rangle }