Error with Automorphism group
I use this for computing automorphism group:
G = SymmetricGroup(3)
H = libgap(G).AutomorphismGroup()
but when I want to compute order of automorphism group, I cant compute and I have this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_sage_input_20.py", line 10, in <module>
exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_worksheet_cell(base64.b64decode("RyA9IFN5bW1ldHJpY0dyb3VwKDMpCkggPSBsaWJnYXAoRykuQXV0b21vcnBoaXNtR3JvdXAoKQpILm9yZGVyKCk="),globals())+"\\n"); execfile(os.path.abspath("___code___.py"))
File "", line 1, in <module>
File "/tmp/tmpm9uLkv/___code___.py", line 5, in <module>
exec compile(u'H.order()
File "", line 1, in <module>
File "element.pyx", line 1867, in sage.structure.element.RingElement.order (sage/structure/element.c:15911)
File "element.pyx", line 1873, in sage.structure.element.RingElement.additive_order (sage/structure/element.c:15968)
NotImplementedError
I've encountered some stuff like this in trying to answer your other question, and I'm very interested in an answer as well. Note that many of the libgap methods appear to be GAP functions turned into methods, which could be part of the issue with other errors I've seen along these lines.
@kcrisman If order() replace with Order(), then the error eliminates.
This is sad and should be reported as a bug. There is something very wrong with libgap or the objects it returns to sage. Order is probably a gap function which is why it works.