sort expressions by their complexity
list or set of expressions
The SortByComplexity command sorts the list (or set) of expressions exprs in descending order of their complexity. The result is returned as a sorted list of expressions.
The complexity of the expressions are compared by using SolveTools[GreaterComplexity].
This function is part of the SolveTools package, and so it can be used in the form SortByComplexity(..) only after executing the command with(SolveTools). However, it can always be accessed through the long form of the command by using SolveTools[SortByComplexity](..).
Download Help Document
What kind of issue would you like to report? (Optional)