From ec4f08ce7089e080f8f1afd7d566d400651dfbca Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 8 Mar 2016 16:30:20 -0500 Subject: [PATCH] Add \abs and \norm to mjo-linear_algebra. --- mjo-linear_algebra.tex | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mjo-linear_algebra.tex b/mjo-linear_algebra.tex index b077288..955dd3a 100644 --- a/mjo-linear_algebra.tex +++ b/mjo-linear_algebra.tex @@ -2,11 +2,17 @@ % Standard operations from linear algebra. % -% Needed for \operatorname. -\usepackage{amsopn} +% 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 } -- 2.44.2