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

Would it be a good idea for \^ for a digraph and a perm to mean OnDigraphs? #580

Open
wilfwilson opened this issue Apr 23, 2023 · 0 comments
Labels
feature-request A label for feature requests

Comments

@wilfwilson
Copy link
Collaborator

Sometimes I think it would be nice if D ^ p for a digraph and a permutation gave the same as OnDigraphs(D, p);.

For instance, you'd be able to do things like this:

gap> D := CycleDigraph(5);
<immutable cycle digraph with 5 vertices>
gap> p := (1,5)(2,4);;
gap> D ^ p = DigraphReverse(D);
true

However, I haven't though this through fully, and it feels like the sort of thing that might have some unintended consequences (especially in relation to mutability)... does anyone have any thoughts?

My apologies if this is a duplicate, I'm sure I've talked about this idea with people before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A label for feature requests
Projects
None yet
Development

No branches or pull requests

1 participant