diff options
Diffstat (limited to 'src/input/bbtree.input.pamphlet')
-rw-r--r-- | src/input/bbtree.input.pamphlet | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/input/bbtree.input.pamphlet b/src/input/bbtree.input.pamphlet new file mode 100644 index 00000000..6336ace4 --- /dev/null +++ b/src/input/bbtree.input.pamphlet @@ -0,0 +1,32 @@ +\documentclass{article} +\usepackage{axiom} +\begin{document} +\title{\$SPAD/src/input BBTREE.input} +\author{The Axiom Team} +\maketitle +\begin{abstract} +\end{abstract} +\eject +\tableofcontents +\eject +<<*>>= + +-- Input generated from BalancedBinaryTreeXmpPage +)clear all + +lm := [3,5,7,11] +modTree(12,lm) +t := balancedBinaryTree(#lm, 0) +setleaves!(t,lm) +mapUp!(t,_*) +t +mapDown!(t,12,_rem) +leaves % +squares := [x**2 rem m for x in % for m in lm] +chineseRemainder(%,lm) +@ +\eject +\begin{thebibliography}{99} +\bibitem{1} nothing +\end{thebibliography} +\end{document} |