]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-cone.tex
Add the \dual and \posops commands to mjo-cone.
[mjotex.git] / mjo-cone.tex
index 443d7009af0a757b2897341259da2134f360fb90..c556f4b14338306b8537a931f7f91c7588e5e310 100644 (file)
@@ -9,6 +9,10 @@
 
 \input{mjo-common}
 
+% The dual of a subset of an inner-product space; always a closed
+% convex cone.
+\newcommand*{\dual}[1]{ {#1}^{*} }
+
 %
 % Common cones.
 %
 
 
 %
-% Some collections of linear operators
+% Some collections of linear operators.
 %
 
+% The set of all positive operators on its argument. This uses the
+% same magic as \boundedops to accept either one or two arguments. If
+% one argument is given, the domain and codomain are equal and the
+% positive operators fix a subset of that space. When two arguments
+% are given, the positive operators send the first argument to a
+% subset of the second.
+\newcommand*{\posops}[2][]{
+  \pi\of{ {#2}
+    \if\relax\detokenize{#1}\relax
+      {}%
+    \else
+      {,{#1}}%
+    \fi
+  }
+}
+
 % The set of all S-operators on its argument.
 \newcommand*{\Sof}[1]{ \mathbf{S} \of{ {#1} } }
 
 %
 
 % Standard cone inequalities.
-\newcommand*{\gek}{ \succcurlyeq }
-\newcommand*{\gtk}{ \succ }
-\newcommand*{\lek}{ \preccurlyeq }
-\newcommand*{\ltk}{ \prec }
+\newcommand*{\gek}{\succcurlyeq}
+\newcommand*{\gtk}{\succ}
+\newcommand*{\lek}{\preccurlyeq}
+\newcommand*{\ltk}{\prec}
 
 
 % Starred versions of the cone inequality operators.