QAuxiliaryTools¶
qetatool.spad line 121 [edit on github]
Miscellaneous tools to deal with polynomials.
- clearDenominator: Polynomial Fraction Integer -> Polynomial Integer
clearDenominator(p)
multiplies the polynomialp
over rational numbers with the least common multiple of all its coefficients and returns the result as a polynomial over the integers.
- indexedSymbol: (String, List Integer) -> Symbol
indexedSymbol(s, l)
returns a symbol with a name that starts with the strings
and is directly followed by the numbers ofl
separated by underscores (“__”).
- indexedSymbols: (String, List Integer) -> List Symbol
indexedSymbols(s, l)
returns indexedSymbols(s
, [[n
] forn
inl
]).
- indexedSymbols: (String, List List Integer) -> List Symbol
indexedSymbols(s, ll)
returns [indexedSymbol(s
,l
) forl
inll
].
- indexedSymbols: (String, NonNegativeInteger) -> List Symbol
indexedSymbols(s, n)
returns indexedSymbols(s
, [i
fori
in 1..n
])