vars

vars R -- provides a 1 by n matrix whose entries are the variables of the polynomial ring R.
vars(i .. j) -- provides a sequence of symbols which can be used as indeterminates in a polynomial ring, the i-th one through the j-th one. There is no limit on the size of the integers i and j.

i1 : vars(3 .. 9,1000,-100)

o1 = (d, e, f, g, h, i, j, x948, X100)

o1 : Sequence
i2 : R = ZZ/101[vars(3 .. 5)]

o2 = R

o2 : PolynomialRing
i3 : vars R

o3 = {0} | d e f |

             1       3
o3 : Matrix R  <--- R
i4 : symmetricPower(2,vars R)

o4 = {0} | d2 de df e2 ef f2 |

             1       6
o4 : Matrix R  <--- R


topindexpreviousupnext