Reorders the terms of a qspray object according to the lexicographic order of the powers. This function is rather used internally only but it is exported for internal usage in other packages.
orderedQspray(qspray)
Arguments
qspray: a qspray object
Returns
A qspray object. It defines the same polynomial as the input qspray object but it is ordered.
Examples
qspray <- rQspray()qspray == orderedQspray(qspray)# should be TRUE