|
|
last edited 17 years ago by page |
1 | ||
Editor: page
Time: 2007/11/12 22:48:00 GMT-8 |
||
Note: transferred from axiom-developer.org |
changed: - 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 subst(p,x=2) 2 p p q q p y:Symbol 1 y w p w 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}
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
(1) -> (p,q) : UP(x, INT)
p := (3*x-1)**2 * (2*x + 8)
There are no library operations named ** Use HyperDoc Browse or issue )what op ** to learn if there is any operation containing " ** " in its name.
Cannot find a definition or applicable library operation named ** with argument type(s) UnivariatePolynomial(x,Integer) PositiveInteger
Perhaps you should use "@" to indicate the required return type,or "$" to specify which version of the function you need.