X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo-linear_algebra.tex;h=955dd3a3347e4db45c5f251dba877a68acdd34a2;hb=ec4f08ce7089e080f8f1afd7d566d400651dfbca;hp=91cc42dc26850c9959e829da35bddc60408ff89c;hpb=b4474a4d73a36b4e35875b05d6c5b3202fa2773e;p=mjotex.git diff --git a/mjo-linear_algebra.tex b/mjo-linear_algebra.tex index 91cc42d..955dd3a 100644 --- a/mjo-linear_algebra.tex +++ b/mjo-linear_algebra.tex @@ -2,8 +2,17 @@ % 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 } @@ -36,3 +45,6 @@ % The inverse of the adjoint of an operator (the argument). \newcommand*{\adjinv}[1]{ \left( {#1}^{*} \right)^{-1} } + +% An inline column vector, with parentheses and a transpose operator. +\newcommand*{\colvec}[1]{ \left( {#1} \right)^{T} }