previous next |
IndetIndex |
Syntax |
IndetIndex(X:INDET):INT |
Summary |
index of an indeterminate |
Description |
This function returns the index of the named determinate. The index is determined by the order in which the indeterminate is listed when the corresponding ring was created. |
Example |
Use R ::= Q[x,y,z] IndetIndex(y); 2 ------------------------------- Use R ::= Q[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 ::= Q[a,b,c]; IndetIndex(S::b); 2 ------------------------------- |
See also: |