Post Reply 
about the proot command output
10-06-2014, 02:18 PM
Post: #3
RE: about the proot command output
(10-06-2014 08:17 AM)parisse Wrote:  proot output is not sorted, run sort(proot(...)) to sort it.
Increasing coeffs flag is for symbolic output only. 1-d polynomial input/output as a list of coefficients is sorted from x^n to x^0.

Thank you. But how does SORT work on a list that has both real and complex numbers? It does sort the real numbers from small to large, but I cannot figure out what it does to the complex ones:
SORT([1 i -i 3 2+i])=[1 3 2+i i -i]
Or what it does to lists with just complex numbers
SORT([-2+i -i 2+i 3-i 5i]) = [5i 3-i 2i -2i -i]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: about the proot command output - Alberto Candel - 10-06-2014 02:18 PM



User(s) browsing this thread: 1 Guest(s)