aboutsummaryrefslogtreecommitdiff
path: root/src/input/operator.input.pamphlet
blob: a789eb3c4172668e083cf408ae009887d717974c (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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input operator.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1991, 1995.
@
<<*>>=
<<license>>
)clear all
L n ==
  n = 0 => 1
  n = 1 => x
  (2*n-1)/n * x * L(n-1) - (n-1)/n * L(n-2)
dx := operator("D") :: OP(POLY FRAC INT)
evaluate(dx, p +-> differentiate(p, 'x))$OP(POLY FRAC INT)
E n == (1 - x**2) * dx**2 - 2 * x * dx + n*(n+1)
L 15
E 15

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