File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 17
17
"""
18
18
$(SIGNATURES)
19
19
20
- Internal function used for printing symbolic expressions. This function determines
21
- the degrees of symbols within a given expression, implementing a variation on
22
- degree lexicographic order.
20
+ Get the degrees of symbols within a given expression.
21
+
22
+ This internal function is used to define the order of terms in a symbolic expression,
23
+ which is a variation on degree lexicographic order. It is used for printing and
24
+ by [`sorted_arguments`](@ref).
25
+
26
+ Returns a tuple of degree and lexicographically sorted *multiplier* ⇒ *power* pairs,
27
+ where the *multiplier* is a tuple of the symbol optionally followed by its indices.
28
+ For a sum expression, returns the `get_degrees()` result for term with the highest degree.
29
+
30
+ See also `monomial_lt` and `lexlt`.
23
31
"""
24
32
function get_degrees (expr)
25
33
if issym (expr)
You can’t perform that action at this time.
0 commit comments