[back] [prev] [next] [index] [root]
Poly
Creates a polynomial.
Syntax:
f := Poly(A, L);
polynomial |
f |
|
polynomial algebra |
A |
|
list |
L |
|
See also: PolyAlg
Description:
Given a polynomial algebra A and a list of elements
(coefficients)
L:=[c_n, c_{n-1}, … ,c_0] the function returns
the polynomial f(x):=\sum_{i=0}^n c_i x^i.
The c_i must be elements of the coefficient ring of A.
Example:
Creation of the polynomial
x^5 + 2*x^4 + 3*x^3 + 4*x^2 + 5*x + 6\inZ[x]:
kash> f := Poly(Zx, [1, 2, 3, 4, 5, 6]);
> x^5 + 2*x^4 + 3*x^3 + 4*x^2 + 5*x + 6
<- back[back] [prev] [next] [index] [root]