]> gitweb.michael.orlitzky.com - mjotex.git/blobdiff - mjo-algebra.tex
mjo-algebra: adopt \directsum and its variants from mjo-common.
[mjotex.git] / mjo-algebra.tex
index fb930279e46e851855845e6e32820e9504ec20a8..c4e70c232ba2ccb8ecbc02a5574052e5cd40a895 100644 (file)
@@ -9,7 +9,17 @@
   \usepackage{amsopn}
 \fi
 
-\input{mjo-common} % for \of, at least
+\input{mjo-common} % for \of, and \binopmany
+
+
+% The direct sum of two things.
+\newcommand*{\directsum}[2]{ {#1}\oplus{#2} }
+
+% The direct sum of three things.
+\newcommand*{\directsumthree}[3]{ \directsum{#1}{\directsum{#2}{#3}} }
+
+% The (indexed) direct sum of many things.
+\newcommand*{\directsummany}[3]{ \binopmany{\bigoplus}{#1}{#2}{#3} }
 
 
 % The (sub)algebra generated by its argument, a subset of some ambient