aboutsummaryrefslogtreecommitdiff
path: root/src/input/dpol.input.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/input/dpol.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/dpol.input.pamphlet')
-rw-r--r--src/input/dpol.input.pamphlet71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/input/dpol.input.pamphlet b/src/input/dpol.input.pamphlet
new file mode 100644
index 00000000..78ae0ca9
--- /dev/null
+++ b/src/input/dpol.input.pamphlet
@@ -0,0 +1,71 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input dpol.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+\section{License}
+<<license>>=
+--Copyright The Numerical Algorithms Group Limited 1991.
+@
+<<*>>=
+<<license>>
+
+)clear all
+odvar:=ODVAR Symbol
+-- here are the first 5 derivatives of w
+-- the i-th derivative of w is printed as w subscript 5
+[makeVariable('w,i)$odvar for i in 5..0 by -1]
+-- these are now algebraic indeterminates, ranked in an orderly way
+-- in increasing order:
+sort %
+-- we now make a general differential polynomial ring
+-- instead of ODVAR, one can also use SDVAR for sequential ordering
+dpol:=DSMP (FRAC INT, Symbol, odvar)
+-- instead of using makeVariable, it is easier to
+-- think of a differential variable w as a map, where
+-- w.n is n-th derivative of w as an algebraic indeterminate
+w := makeVariable('w)$dpol
+-- create another one called z, which is higher in rank than w
+-- since we are ordering by Symbol
+z := makeVariable('z)$dpol
+-- now define some differential polynomial
+(f,b):dpol
+f:=w.4::dpol - w.1 * w.1 * z.3
+b:=(z.1::dpol)**3 * (z.2)**2 - w.2
+-- compute the leading derivative appearing in b
+lb:=leader b
+-- the separant is the partial derivative of b with respect to its leader
+sb:=separant b
+-- of course you can differentiate these differential polynomials
+-- and try to reduce f modulo the differential ideal generated by b
+-- first eliminate z.3 using the derivative of b
+bprime:= differentiate b
+-- find its leader
+lbprime:= leader bprime
+-- differentiate f partially with respect to lbprime
+pbf:=differentiate (f, lbprime)
+-- to obtain the partial remainder of f with respect to b
+ftilde:=sb * f- pbf * bprime
+-- note high powers of lb still appears in ftilde
+-- the initial is the leading coefficient when b is written
+-- as a univariate polynomial in its leader
+ib:=initial b
+-- compute the leading coefficient of ftilde
+-- as a polynomial in its leader
+lcef:=leadingCoefficient univariate(ftilde, lb)
+-- now to continue eliminating the high powers of lb appearing in ftilde:
+-- to obtain the remainder of f modulo b and its derivatives
+
+f0:=ib * ftilde - lcef * b * lb
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}