aboutsummaryrefslogtreecommitdiff
path: root/src/input/quat1.input.pamphlet
blob: 91cd02058a132d6655f855743c8a478020629c47 (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 QUAT.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
<<*>>=

-- Input generated from QuaternionXmpPage
)clear all

q := quatern(2/11,-8,3/4,1)
[real q, imagI q, imagJ q, imagK q]
inv q
q**6
r := quatern(-2,3,23/9,-89); q + r
q * r - r * q
i:=quatern(0,1,0,0); j:=quatern(0,0,1,0); k:=quatern(0,0,0,1)
[i*i, j*j, k*k, i*j, j*k, k*i, q*i]
norm q
conjugate q
q * %
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}