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/pascal1.input.pamphlet | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/input/pascal1.input.pamphlet (limited to 'src/input/pascal1.input.pamphlet') diff --git a/src/input/pascal1.input.pamphlet b/src/input/pascal1.input.pamphlet new file mode 100644 index 00000000..bdbf3084 --- /dev/null +++ b/src/input/pascal1.input.pamphlet @@ -0,0 +1,33 @@ +\documentclass{article} +\usepackage{axiom} +\begin{document} +\title{\$SPAD/src/input pascal1.input} +\author{The Axiom Team} +\maketitle +\begin{abstract} +\end{abstract} +\eject +\tableofcontents +\eject +\section{License} +<>= +--Copyright The Numerical Algorithms Group Limited 1991. +@ +<<*>>= +<> + +)clear all +-- this file shows some computations involving Pascal's triangle +)set fun cache all +p(m,n | m = 1) == 1 +p(m,n | m = n) == 1 +p(i,n | 1 < i and i < n) == p(i-1,n-1)+p(i,n-1) +p(2,3) +pr(n) == [p(i,n) for i in 1..n] +l := [center blankSeparate [p(i,n)::OUTFORM for i in 1..n] for n in 1..10] ; +@ +\eject +\begin{thebibliography}{99} +\bibitem{1} nothing +\end{thebibliography} +\end{document} -- cgit v1.2.3