diff options
author | dos-reis <gdr@axiomatics.org> | 2007-08-14 05:14:52 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2007-08-14 05:14:52 +0000 |
commit | ab8cc85adde879fb963c94d15675783f2cf4b183 (patch) | |
tree | c202482327f474583b750b2c45dedfc4e4312b1d /src/input/mset.input.pamphlet | |
download | open-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz |
Initial population.
Diffstat (limited to 'src/input/mset.input.pamphlet')
-rw-r--r-- | src/input/mset.input.pamphlet | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/input/mset.input.pamphlet b/src/input/mset.input.pamphlet new file mode 100644 index 00000000..1d057f85 --- /dev/null +++ b/src/input/mset.input.pamphlet @@ -0,0 +1,43 @@ +\documentclass{article} +\usepackage{axiom} +\begin{document} +\title{\$SPAD/src/input mset.input} +\author{The Axiom Team} +\maketitle +\begin{abstract} +\end{abstract} +\eject +\tableofcontents +\eject +\section{License} +<<license>>= +--Copyright The Numerical Algorithms Group Limited 1994. +@ +<<*>>= +<<license>> +)cl all +macro I == Integer +macro symdif == symmetricDifference +s:Multiset I +t:Multiset I +t1:Multiset I +s := multiset [1,2,3,4,5,4,3,2,3,4,5,6,7,4,10] +t := multiset [2,2,2,9] + +union(s,t) +union(s,s) +intersect(s,t) +difference(s,t) +symdif(s,t) +symdif(s,s) + +t1 := multiset [2,2] +[t1 < t, t1 < s, t1 <= t, t1 <= s] +t1 := multiset [2,2,2] +[t1 < t, t1 < s, t1 <= t, t1 <= s] +@ +\eject +\begin{thebibliography}{99} +\bibitem{1} nothing +\end{thebibliography} +\end{document} |