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/stream.input.pamphlet | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/input/stream.input.pamphlet (limited to 'src/input/stream.input.pamphlet') diff --git a/src/input/stream.input.pamphlet b/src/input/stream.input.pamphlet new file mode 100644 index 00000000..46f8edd5 --- /dev/null +++ b/src/input/stream.input.pamphlet @@ -0,0 +1,34 @@ +\documentclass{article} +\usepackage{axiom} +\begin{document} +\title{\$SPAD/src/input STREAM.input} +\author{The Axiom Team} +\maketitle +\begin{abstract} +\end{abstract} +\eject +\tableofcontents +\eject +<<*>>= + +-- Input generated from StreamXmpPage +)clear all + +ints := [i for i in 0..] +f : List INT -> List INT +f x == [x.1 + x.2, x.1] +fibs := [i.2 for i in [generate(f,[1,1])]] +[i for i in ints | odd? i] +odds := [2*i+1 for i in ints] +scan(0,+,odds) +[i*j for i in ints for j in odds] +map(*,ints,odds) +first ints +rest ints +fibs 20 +@ +\eject +\begin{thebibliography}{99} +\bibitem{1} nothing +\end{thebibliography} +\end{document} -- cgit v1.2.3