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/xpoly.input.pamphlet | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/input/xpoly.input.pamphlet (limited to 'src/input/xpoly.input.pamphlet') diff --git a/src/input/xpoly.input.pamphlet b/src/input/xpoly.input.pamphlet new file mode 100644 index 00000000..6a3353fc --- /dev/null +++ b/src/input/xpoly.input.pamphlet @@ -0,0 +1,34 @@ +\documentclass{article} +\usepackage{axiom} +\begin{document} +\title{\$SPAD/src/input XPOLY.input} +\author{The Axiom Team} +\maketitle +\begin{abstract} +\end{abstract} +\eject +\tableofcontents +\eject +<<*>>= +)cl all + +poly := XPolynomial(Integer) +pr: poly := 2*x + 3*y-5 +pr2: poly := pr*pr +pd := expand pr +pd2 := pd*pd +expand(pr2) - pd2 +qr := pr**3 +qd := pd**3 + trunc(qd,2) +trunc(qr,2) +Word := OrderedFreeMonoid Symbol +w: Word := x*y**2 +rquo(qr,w) +sh(pr,w::poly) +@ +\eject +\begin{thebibliography}{99} +\bibitem{1} nothing +\end{thebibliography} +\end{document} -- cgit v1.2.3