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

-- Input generated from SquareMatrixXmpPage
)clear all

)set expose add constructor SquareMatrix
m := squareMatrix [[1,-%i],[%i,4]]
m*m - m
mm := squareMatrix [[m, 1], [1-m, m**2]]
p := (x + m)**2
p::SquareMatrix(2, ?)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}