aboutsummaryrefslogtreecommitdiff
path: root/src/input/complex.input.pamphlet
blob: 43fb1d537a5c38c5ba432e63e1906e7bc57ab6f5 (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
34
35
36
37
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input COMPLEX.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
<<*>>=

-- Input generated from ComplexXmpPage
)clear all

a := complex(4/3,5/2)
b := complex(4/3,-5/2)
a + b
a - b
a * b
a / b
% :: Fraction Complex Integer
3.4 + 6.7 * %i
conjugate a
norm a
real a
imag a
gcd(13 - 13*%i,31 + 27*%i)
lcm(13 - 13*%i,31 + 27*%i)
factor(13 - 13*%i)
factor complex(2,0)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}