up previous next
2.9.4 Indeterminates
An indeterminate is represented by an identifier followed by one or more integer indices. For example, x , alpha[1] , x[1,2,3] are legal (and different) indeterminates, as is x[i, 2*i+1] if i is of type INT .

When creating a ring the indeterminates are listed separate by commas.

/**/  use R ::= QQ[x,y,z];
/**/  use R ::= QQ[x[1..2,4..8],y[1..3],u,v];
/**/  Indets(R);
[x[1,4], x[1,5], x[1,6], x[1,7], x[1,8], x[2,4], x[2,5], x[2,6],
x[2,7], x[2,8], y[1], y[2], y[3], u, v]