up previous next
NumIndets

number of indeterminates
Syntax

NumIndets():INT
NumIndet(R:RING):INT


Description
This function returns the number of indeterminates of the current ring or of R.

Example
  S ::= QQ[x,y];
  Use R ::= QQ[x,y,z];
  NumIndets();
3
-------------------------------
  NumIndets(S);
2
-------------------------------


See Also