up previous next
SymbolRange

range of symbols for the indeterminates of a PolyRing

Syntax
SymbolRange(H:STRING, LO:INT, HI:INT):RECORD

Description
This function returns the list of the symbols with a given head and a range of indices. A symbol is a record with head (as IndetName ) and indices (as IndetInd )

Example
/**/  indent(SymbolRange("x", 3, 5));
[
  Record[head := "x", indices := [3]],
  Record[head := "x", indices := [4]],
  Record[head := "x", indices := [5]]
]
/**/  P := NewPolyRing(QQ, SymbolRange("x", 0,2));
/**/  indets(P);
[x[0], x[1], x[2]]

See Also