aboutsummaryrefslogtreecommitdiff
path: root/src/input/vector.input.pamphlet
blob: b17306958fff7dfe85b658a55fd0c505be64460a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input VECTOR.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=

-- Input generated from VectorXmpPage
)clear all

u : VECTOR INT := new(5,12)
v : VECTOR INT := vector([1,2,3,4,5])
#(v)
v.2
v.3 := 99
v
5 * v
v * 7
w : VECTOR INT := vector([2,3,4,5,6])
v + w
v - w
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}