aboutsummaryrefslogtreecommitdiff
path: root/src/input/zlindep.input.pamphlet
blob: d088b7f618e7c26316499206295babe016290c8f (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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input ZLINDEP.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=

-- Input generated from IntegerLinearDependenceXmpPage
)clear all

M := SQMATRIX(2,INT)
m1: M := squareMatrix matrix [[1, 2], [0, -1]]
m2: M := squareMatrix matrix [[2, 3], [1, -2]]
m3: M := squareMatrix matrix [[3, 4], [2, -3]]
linearlyDependentOverZ? vector [m1, m2, m3]
c := linearDependenceOverZ vector [m1, m2, m3]
c.1 * m1 + c.2 * m2 + c.3 * m3
solveLinearlyOverQ(vector [m1, m3], m2)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}