From ab8cc85adde879fb963c94d15675783f2cf4b183 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 14 Aug 2007 05:14:52 +0000 Subject: Initial population. --- src/input/mset.input.pamphlet | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/input/mset.input.pamphlet (limited to 'src/input/mset.input.pamphlet') 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} +<>= +--Copyright The Numerical Algorithms Group Limited 1994. +@ +<<*>>= +<> +)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} -- cgit v1.2.3