We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce the magic method __pow__ for all the subclasses of _Element.
__pow__
_Element
The power of a permutation can be defined just for integer (positive and negative).
To define a negative power of a permutation, we need to be able to compute its inverse. See issue #4 .
Note that a $\sigma^0=\sigma$ for every permutation $\sigma$ in $S_n$ and every $n \in \mathbb{N}$
The text was updated successfully, but these errors were encountered:
VascoSch92
Successfully merging a pull request may close this issue.
Introduce the magic method
__pow__
for all the subclasses of_Element
.The power of a permutation can be defined just for integer (positive and negative).
To define a negative power of a permutation, we need to be able to compute its inverse. See issue #4 .
Note that a$\sigma^0=\sigma$ for every permutation $\sigma$ in $S_n$ and every $n \in \mathbb{N}$
The text was updated successfully, but these errors were encountered: