aboutsummaryrefslogtreecommitdiff
path: root/src/input/array2.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/array2.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/array2.input.pamphlet')
-rw-r--r--src/input/array2.input.pamphlet43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/input/array2.input.pamphlet b/src/input/array2.input.pamphlet
new file mode 100644
index 00000000..b392e4aa
--- /dev/null
+++ b/src/input/array2.input.pamphlet
@@ -0,0 +1,43 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input ARRAY2.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+<<*>>=
+
+
+-- Input generated from TwoDimensionalArrayXmpPage
+)clear all
+
+arr : ARRAY2 INT := new(5,4,0)
+setelt(arr,1,1,17)
+arr
+elt(arr,1,1)
+arr(3,2) := 15
+arr(3,2)
+row(arr,1)
+column(arr,1)
+nrows(arr)
+ncols(arr)
+map(-,arr)
+map((x +-> x + x),arr)
+arrc := copy(arr)
+map!(-,arrc)
+arrc
+arr
+member?(17,arr)
+member?(10317,arr)
+count(17,arr)
+count(0,arr)
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}