up previous next
IndetIndex

index of an indeterminate
Syntax

IndetIndex(X:INDET):INT


Description
This function returns the position in which the indeterminate is listed when the corresponding ring was created.

Example
  Use R ::= QQ[x,y,z]
  IndetIndex(y);
2
-------------------------------
  Use R ::= QQ[x[1..2,1..2],y[1..2]];
  Indets();
[x[1,1], x[1,2], x[2,1], x[2,2], y[1], y[2]]
-------------------------------
  IndetIndex(x[2,1]);
3
-------------------------------
  S ::= QQ[a,b,c];
  IndetIndex(S::b);
2
-------------------------------


See Also