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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input r20bugs.input}
\author{Mike Dewar}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1996.
@
<<*>>=
<<license>>
--Copyright The Numerical Algorithms Group Limited 1996.
-- This file tests bugs fixed at release 2.0a.
-- Mike Dewar 17-5-95
)clear completely
x := operator 'x
sum( (x i - mu)**2, i=1..N )
D(%,mu)
)clear completely
z := log(x+.3*%i)
z1 : EXPR Complex Float := z
complexForm(z1)$CTRIGMNP(Float, EXPR Complex Float)
)clear completely
acot(-1)
)clear completely
sqrt(-1.0::COMPLEX FLOAT)
log(x+%i)::EXPR COMPLEX FLOAT
)clear completely
positiveRemainder(-1,-5)
)clear completely
f:POLY FRAC COMPLEX INT := x^2+y^2
factor f
)clear completely
acot(-y)
)clear completely
a:=matrix [[1,2],[2,-1]]
eigenMatrix a
)clear completely
positiveRemainder(-1::SINT,-5::SINT)
)clear completely
complexRoots([u**2-v+1,v**2-4],[u,v],0.01)
complexRoots([u**2-v+1,v**2-4],[v,u],0.01)
)clear completely
R := Record(key:Symbol,entry:Integer)
tab := table([[a,1]$R,[b,2]$R,[c,3]$R])$Table(Symbol,Integer)
remove!(b::Symbol,tab)
)clear completely
limit((x^a-a^x)/(x^x-a^a),x=a)
)clear completely
(4*x^6+16*x^4+16*x^2)*y^2+(-4*x^6+16*x^2)*y-8*x^6-16*x^4
eval(%,x,z)
exquo(%,expand factor %)
)clear completely
log exp z
normalize %
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}
|