Function sequant::opt::reorder¶ Defined in File optimize.cpp Function Documentation¶ Sum sequant::opt::reorder(Sum const &sum)¶ Reorder summands so that terms having common intermediates appear closer. Parameters: sum – Expression to reorder. Returns: Expression with summands re-ordered.