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/table.input.pamphlet | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 src/input/table.input.pamphlet (limited to 'src/input/table.input.pamphlet') diff --git a/src/input/table.input.pamphlet b/src/input/table.input.pamphlet new file mode 100644 index 00000000..34b6e39e --- /dev/null +++ b/src/input/table.input.pamphlet @@ -0,0 +1,40 @@ +\documentclass{article} +\usepackage{axiom} +\begin{document} +\title{\$SPAD/src/input TABLE.input} +\author{The Axiom Team} +\maketitle +\begin{abstract} +\end{abstract} +\eject +\tableofcontents +\eject +<<*>>= + +-- Input generated from TableXmpPage +)clear all + +t: Table(Polynomial Integer, String) := table() +setelt(t, x**2 - 1, "Easy to factor") +t(x**3 + 1) := "Harder to factor" +t(x) := "The easiest to factor" +elt(t, x) +t.x +t x +t.(x**2 - 1) +t (x**3 + 1) +keys t +search(x, t) +search(x**2, t) +search(x**2, t) case "failed" +remove!(x**2-1, t) +remove!(x-1, t) +#t +members t +count(s: String +-> prefix?("Hard", s), t) +@ +\eject +\begin{thebibliography}{99} +\bibitem{1} nothing +\end{thebibliography} +\end{document} -- cgit v1.2.3