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/bbtree.input.pamphlet | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/input/bbtree.input.pamphlet (limited to 'src/input/bbtree.input.pamphlet') 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} -- cgit v1.2.3