aboutsummaryrefslogtreecommitdiff
path: root/src/input/f04qaf.input.pamphlet
blob: ab4013fa30881a0dabe114796d54f1ec632e4969 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input f04qaf.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>
)cl all
showArrayValues true
showScalarValues true

n := 12
m := 13
h:SF := 0.1
b :Matrix SF:= -h**2 * [[0],[0],[0],[1],[1],[0],[0],[1],[1],[0],[0],[0],[-h**-3]] 
a : Matrix MachineFloat:= 
 [[1,0,0,-1,0,0,0,0,0,0,0,0],_
  [0,1,0,0,-1,0,0,0,0,0,0,0],_
  [0,0,1,-1,0,0,0,0,0,0,0,0],_
  [-1,0,-1,4,-1,0,0,-1,0,0,0,0],_
  [0,-1,0,-1,4,-1,0,0,-1,0,0,0],_
  [0,0,0,0,-1,1,0,0,0,0,0,0],_
  [0,0,0,0,0,0,1,-1,0,0,0,0],_
  [0,0,0,-1,0,0,-1,4,-1,0,-1,0],_
  [0,0,0,0,-1,0,0,-1,4,-1,0,-1],_
  [0,0,0,0,0,0,0,0,-1,1,0,0],_
  [0,0,0,0,0,0,0,-1,0,0,1,0],_
  [0,0,0,0,0,0,0,0,-1,0,0,1],_
  [1,1,1,0,0,1,1,0,0,1,1,1]]
damp := 0.0
atol := 1.0e-5
btol := 1.0e-4
conlim := 1/atol
itnlim := 100
msglvl := 1
liwork := 1
lrwork := 1
ifail :=1
result:=f04qaf(m,n,damp,atol,btol,conlim,itnlim,msglvl,lrwork,liwork,b,ifail,a::ASP30(APROD))
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}