for the ordering used. The meanings of the optional parameters is also the same.
i7 : R = ZZ/101[a..c];
|
i8 : f = matrix{{1,a,a^2,b^2,b,c,c^2,a*b,b*c,a*c}}
o8 = | 1 a a2 b2 b c c2 ab bc ac |
1 10
o8 : Matrix R <-- R
|
i9 : s = sortColumns f
o9 = {0, 5, 4, 1, 6, 8, 9, 3, 7, 2}
o9 : List
|
i10 : f_s
o10 = | 1 c b a c2 bc ac b2 ab a2 |
1 10
o10 : Matrix R <-- R
|
i11 : s = sortColumns(f,DegreeOrder => Descending)
o11 = {6, 8, 9, 3, 7, 2, 5, 4, 1, 0}
o11 : List
|
i12 : f_s
o12 = | c2 bc ac b2 ab a2 c b a 1 |
1 10
o12 : Matrix R <-- R
|