]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - examples.tex
mjo-linear_algebra.tex: add \diag{} to build diagonal matrices.
[mjotex.git] / examples.tex
index 1d79079ee0ba4c1f5fe09422a8e0f363da81e139..c3e22e7d96e4660356020cb9d66aeac0074304a5 100644 (file)
     matrices $A$ and $B$ is $\kp{A}{B}$. The adjoint of the operator
     $L$ is $\adjoint{L}$, or if it's a matrix, then its transpose is
     $\transpose{L}$. Its trace is $\trace{L}$, and its spectrum---the
-    set of its eigenvalues---is $\spectrum{L}$. Another matrix-specific
-    concept is the Moore-Penrose pseudoinverse of $L$, denoted by
-    $\pseudoinverse{L}$. Finally, the rank of a matrix $L$ is
-    $\rank{L}$. As far as matrix spaces go, we have the $n$-by-$n$
+    set of its eigenvalues---is $\spectrum{L}$. Another
+    matrix-specific concept is the Moore-Penrose pseudoinverse of $L$,
+    denoted by $\pseudoinverse{L}$. Finally, the rank of a matrix $L$
+    is $\rank{L}$. As far as matrix spaces go, we have the $n$-by-$n$
     real-symmetric and complex-Hermitian matrices $\Sn$ and $\Hn$
     respectively; however $\Sn[1]$ and $\Hn[1]$ do not automatically
     simplify because the ``$n$'' does not indicate the arity of a
-    Cartesian product in this case.
+    Cartesian product in this case. A handy way to represent the
+    matrix $A \in \Rn[n \times n]$ whose only non-zero entries are on
+    the diagonal is $\diag{\colvec{A_{11},A_{22},\ldots,A_{nn}}}$.
 
     The span of a set $X$ is $\spanof{X}$, and its codimension is
     $\codim{X}$. The projection of $X$ onto $V$ is $\proj{V}{X}$. The