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/xpoly.input.pamphlet | |
download | open-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz |
Initial population.
Diffstat (limited to 'src/input/xpoly.input.pamphlet')
-rw-r--r-- | src/input/xpoly.input.pamphlet | 34 |
1 files changed, 34 insertions, 0 deletions
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} |