indets |
Syntax |
indets(R: RING): LIST indets(R: RING, X: STRING): LIST |
Description |
Example |
/**/ S ::= QQ[x,y,z]; /**/ Use R ::= QQ[a,b]; /**/ indets(CurrentRing); [a, b] /**/ indets(S); [x, y, z] /**/ indets(S,"x"); [x] /**/ RingElem(S,"x"); -- works also if R is not a polynomial ring x /**/ Use R ::= QQ[x[1..4],a[1..2,1..3]]; /**/ indets(R,"x"); [x[1], x[2], x[3], x[4]] /**/ indets(R,"a"); [a[1,1], a[1,2], a[1,3], a[2,1], a[2,2], a[2,3]] /**/ indets(R,"b"); -- empty list if no indet has a matching head [] |
See Also |