axiom-developer
[Top][All Lists]

## [Axiom-developer] [UnivariatePolynomial] (new)

 From: Bill Page Subject: [Axiom-developer] [UnivariatePolynomial] (new) Date: Fri, 18 Feb 2005 01:59:37 -0600

Changes
http://page.axiom-developer.org/zope/mathaction/UnivariatePolynomial/diff
--
Section 9.83 UnivariatePolynomial

The domain constructor UnivariatePolynomial (abbreviated UP) creates
domains of univariate polynomials in a specified variable. For example,
the domain 'UP(a1,POLY FRAC INT)' provides polynomials in the single
variable a1 whose coefficients are general polynomials with rational
number coefficients. 'UP(x,INT) is the domain of polynomials in the
single variable x with integer coefficients.

Example operations on univariate polynomials

\begin{axiom}
(p,q) : UP(x,INT)
p := (3*x-1)**2 * (2*x + 8)
q := (1 - 6*x + 9*x**2)**2
p**2 + p*q
D p
integrate p
p(2)
p q
q p
vectorise(p,5)
t : UP(a1,FRAC POLY INT)
t := a1**2 - a1/b2 + (b1**2-b1)/(b2+3)
u : FRAC POLY INT := t
u :: UP(b1,?)
\end{axiom}
--