Converts the exponent vector v into a monomial in the variables of R. The number of variables of R has to match the length of v.
i1 : R=QQ[x_0..x_4] o1 = R o1 : PolynomialRing |
i2 : m=vector {1,2,1,0,0}
o2 = | 1 |
| 2 |
| 1 |
| 0 |
| 0 |
5
o2 : ZZ
|
i3 : vectorToMonomial(m,R)
2
o3 = x x x
0 1 2
o3 : R
|
The object vectorToMonomial is a method function.