aboutsummaryrefslogtreecommitdiff
path: root/src/input/c05nbf.input.pamphlet
blob: d0a2ad6a3172164bd3b97930b0ad2942df1f3c15 (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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input c05nbf.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>
)clear all
showArrayValues true
showScalarValues true

n:=9
lwa:=n*(3*n+13)/2
xtol:SF:=1.0e-9
fi:ASP6(FCN):=retract vector[_
 3*X[1] - 2*X[1]**2 - 2*X[2] + 1,_
 -X[1] + 3*X[2] - 2*X[2]**2 - 2*X[3] + 1,_
 -X[2] + 3*X[3] - 2*X[3]**2 - 2*X[4] + 1,_
 -X[3] + 3*X[4] - 2*X[4]**2 - 2*X[5] + 1,_
 -X[4] + 3*X[5] - 2*X[5]**2 - 2*X[6] + 1,_
 -X[5] + 3*X[6] - 2*X[6]**2 - 2*X[7] + 1,_
 -X[6] + 3*X[7] - 2*X[7]**2 - 2*X[8] + 1,_
 -X[7] + 3*X[8] - 2*X[8]**2 - 2*X[9] + 1,_
 -X[8] + 3*X[9] - 2*X[9]**2 + 1]
x:Matrix SF:=
 [[-1.0 ,-1.0 ,-1.0 ,-1.0 ,-1.0 ,-1.0 ,-1.0 ,-1.0 ,-1.0 ]]
result:=c05nbf(n,lwa,x,xtol,-1,fi)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}