aboutsummaryrefslogtreecommitdiff
path: root/src/input/farray.input.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/input/farray.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/farray.input.pamphlet')
-rw-r--r--src/input/farray.input.pamphlet38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/input/farray.input.pamphlet b/src/input/farray.input.pamphlet
new file mode 100644
index 00000000..94ff2706
--- /dev/null
+++ b/src/input/farray.input.pamphlet
@@ -0,0 +1,38 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input FARRAY.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+<<*>>=
+
+-- Input generated from FlexibleArrayXmpPage
+)clear all
+
+flexibleArray [i for i in 1..6]
+f : FARRAY INT := new(6,0)
+for i in 1..6 repeat f.i := i; f
+physicalLength f
+concat!(f,11)
+physicalLength f
+physicalLength!(f,15)
+concat!(f,f)
+insert!(22,f,1)
+g := f(10..)
+insert!(g,f,1)
+merge!(sort! f, sort! g)
+removeDuplicates! f
+select!(i +-> even? i,f)
+physicalLength f
+shrinkable(false)$FlexibleArray(Integer)
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}