Given a quiver $Q$
Q := Quiver( 1, [ [1,1,"a"], [1,1,"b"] ] );
I would like a new quiver $Q1$ deleting a arrow from quiver $Q$.
My attempts (trying to delete the arrow a):
Removeset(ArrowsOfQuiver(Q),Q.a);
SubtractSet(ArrowsOfQuiver(Q),Q.a);
ArrowsOfQuiver(Q) := Filtered(ArrowsOfQuiver(Q), r -> r <> Q.a);
Thank you very much!
Here is one way of doing this in QPA:
The above can be used when
newarrowsis the arrows you want to keep in the new quiverQ1.The problem is that the command
Quiverdoes not take as an argument a list of arrows in a given quiver. One has to convert it to the allowed input format.We hope that these comments are helpful.
The QPA-team.