[GAP Forum] Find the source for <Attribute> in GAP
Gaurav Dhingra
axyd0000 at gmail.com
Wed Jan 6 05:29:40 GMT 2016
Hi GAP members
I asked previously
http://math.stackexchange.com/questions/1570893/which-algorithm-gap-uses-to-check-equality-of-two-groups
for finding the source of an "operation" in GAP. Also there is already an
answer for finding the source of a "function" in GAP.
My question is how to find the source of an "Attribute" in GAP?
For ex. i want to find the Algorithm for finding the `stabilizer` of a
`SymmetricGroup`
gap> s4:=SymmetricGroup(4);
Sym( [ 1 .. 4 ] )
gap> Stabilizer;
function( arg ) ... end
gap> StabilizerOfExternalSet; # this is used for SymmetricGroup in
particular
<Attribute "StabilizerOfExternalSet">
gap> func:=ApplicableMethod(StabilizerOfExternalSet, [s4]);
fail
gap>
It fails. Is there another method instead of using `ApplicableMethod`?
Above i used `StabilizerOfExternalSet` after seeing the source code for
`Stabilizer`.
Gaurav Dhingra
More information about the Forum
mailing list