- 积分
- 12
- 注册时间
- 2009-2-23
- 仿真币
-
- 最后登录
- 1970-1-1
|
发表于 2011-10-8 13:20:14
|
显示全部楼层
来自 北京
Mathematica uses canonical order as described in the notes for Sort.
Sort by default orders integers, rational and approximate real numbers by their numerical values.
Sort orders complex numbers by their real parts, and in the event of a tie, by the absolute values of their imaginary parts.
Sort orders symbols by their names, and in the event of a tie, by their contexts.
Sort usually orders expressions by putting shorter ones first, and then comparing parts in a depth-first manner.
Sort treats powers and products specially, ordering them to correspond to terms in a polynomial.
Sort orders strings as in a dictionary, with uppercase versions of letters coming after lowercase ones. Sort places ordinary letters first, followed in order by script, Gothic, double-struck, Greek and Hebrew. Mathematical operators appear in order of decreasing precedence.
|
|