Skip to content
New issue

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

[FEATURE] Add the method sgn #9

Closed
VascoSch92 opened this issue May 9, 2024 · 0 comments · Fixed by #37
Closed

[FEATURE] Add the method sgn #9

VascoSch92 opened this issue May 9, 2024 · 0 comments · Fixed by #37
Labels
feature New feature or request
Milestone

Comments

@VascoSch92
Copy link
Owner

VascoSch92 commented May 9, 2024

Add the method sgn (sign) to the classes Permutation, Cycle and CycleDecomposition.

Fact: the sign of a cycle is -1 if the cycle has even length.

Include a reference of the above fact in the PR.

@VascoSch92 VascoSch92 added enhancement Make something existing better feature New feature or request and removed enhancement Make something existing better labels May 9, 2024
@VascoSch92 VascoSch92 added this to the Release 0.2.0 milestone May 19, 2024
@VascoSch92 VascoSch92 linked a pull request May 19, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant