up previous next
RingEnvSet

set of names of the ring environments
Syntax

RingEnvSet(E:LIST, MAT, POLY, IDEAL, MODULE, RATFUN, VECTOR):LIST of STRING


Description
This function returns the list of the identifiers of the rings on which the object E is dependent. Similar to RingEnv , this function also works on lists and matrices and returns the set of ring environments of all entries. ...needless to say that it may be quite slow on big inputs!

Example
  Use R ::= QQ[x,y,z];
  L1 := [x, y];
  L2 := [x, y, 0, 5/4];
  Use S ::= ZZ/(3)[a,b];
  RingEnvSet(L1);
[R]
-------------------------------
  RingEnvSet(L2);
[R, ]
-------------------------------
  RingEnvSet([L2, a+b]);
[R, , S]
-------------------------------


See Also