# QAuxiliaryToolsΒΆ

qetatool.spad line 120 [edit on github]

Miscellaneous tools to deal with polynomials.

- clearDenominator: Polynomial Fraction Integer -> Polynomial Integer
`clearDenominator(p)`

multiplies the polynomial`p`

over rational numbers with the least common multiple of all its coefficients and returns the result as a polynomial over the integers.

- indexedSymbols: (String, List Integer) -> List Symbol
`indexedSymbols(s, l)`

creates a list of symbols of the form [`sx`

for`x`

in`l`

] where`sx`

denotes the symbol with a name that starts with the string`s`

and ends with the number`x`

.

- indexedSymbols: (String, NonNegativeInteger) -> List Symbol
`indexedSymbols(s, n)`

returns indexedSymbols(`s`

, [`i`

for`i`

in 1..`n`

])