-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify computation of quotients of permutations
Taking the quotient of permutations x/y involves computing y^-1, which was previously stored in a temporary buffer and then discarded. Since we now remember inverses, just compute x*y^-1 which does essentially the same thing AND stores the inverse. It's also much shorter code.
- Loading branch information
1 parent
a3c30b3
commit bf0df04
Showing
1 changed file
with
7 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters