aboutsummaryrefslogtreecommitdiff
path: root/src/input/efi.input.pamphlet
blob: 5df35de14d7acaf88a1cb60d527225a348c495fb (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 efi.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
EFI:=Expression Integer

ber:=operator 'ber
s:=operator 's
--s:OP EFI:=operator 's

br:LIST EFI->EFI
-- br(x|(x.1)~=0)==(x.1)/(exp((x.1))-1)
-- br has a removable singularity at the origin
-- br(x|(x.1)=0)== limit(br([y]),y=0)
br(x) == 
 (x.1) = 0 => limit(br([y]),y=0) 
 (x.1)/(exp((x.1))-1) 

br([1])
br([0])

fJ:List FRAC INT -> EFI
J(i:PI,j:PI):EFI==ber(s(i)-s(j))

function(J(1,2),'fJ,['s])
evaluate(ber,br)$BOP1(EFI);

ss:=[1,2]
fJ(ss)

ss:=[1,1]
-- fJ doesn't know about the special definition at the origin
fJ(ss)

@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}