]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-linear_algebra.tex
Use \left and \right on brackets in \ip to fix big display equations.
[mjotex.git] / mjo-linear_algebra.tex
index 71ab1b61362be810e0a758490641b86a7ae3f52f..172010c6a548e4c7dd77a29f67283941152ce356 100644 (file)
@@ -14,7 +14,7 @@
 \newcommand*{\norm}[1]{\left\lVert{#1}\right\rVert}
 
 % The inner product between its two arguments.
-\newcommand*{\ip}[2]{\langle{#1},{#2}\rangle}
+\newcommand*{\ip}[2]{\left\langle{#1},{#2}\right\rangle}
 
 % The tensor product of its two arguments.
 \newcommand*{\tp}[2]{ {#1}\otimes{#2} }
 \newcommand*{\kp}[2]{ {#1}\odot{#2} }
 
 % The adjoint of a linear operator.
-\newcommand*{\adjoint}[1]{ {#1}^{*} }
+\newcommand*{\adjoint}[1]{ #1^{*} }
+
+% The ``transpose'' of a linear operator; namely, the adjoint, but
+% specialized to real matrices.
+\newcommand*{\transpose}[1]{ #1^{T} }
 
 % The ``span of'' operator. The name \span is already taken.
 \newcommand*{\spanof}[1]{ \operatorname{span}\of{{#1}} }