Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Subgroups of Linear Groups

I want to find the subgroup which is generated by two elements.

G = SL(2,GF(3))

D = G.subgroup([B[1],B[2]])

Why do I have this error:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_50.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -- coding: utf-8 --\n" + >_support_.preparse_worksheet_cell(base64.b64decode("RyA9IFNMKDIsR0YoMykpCkQgPSBH>LnN1Ymdyb3VwKFtCWzFdLEJbMl1dKQ=="),globals())+"\n"); >execfile(os.path.abspath("___code___.py")) File "", line 1, in <module>

File "/private/var/folders/rp/rpRaJRnOEQyzp4ftzijESU+++TI/-Tmp-/tmpGFGoqT/___code___.py", line 4, in <module> exec compile(u'D = G.subgroup([B[_sage_const_1 ],B[_sage_const_2 ]]) File "", line 1, in <module>

File "parent.pyx", line 620, in sage.structure.parent.Parent.__getattr__ >(sage/structure/parent.c:5943) File "misc.pyx", line 200, in sage.structure.misc.getattr_from_other_class >(sage/structure/misc.c:1427) AttributeError: 'SpecialLinearGroup_finite_field_with_category' object has no >attribute 'subgroup'

Subgroups of Linear Groups

I want to find the subgroup which is generated by two elements.

G = SL(2,GF(3))

D = G.subgroup([B[1],B[2]])G.subgroup([G[1],G[2]])

Why do I have this error:

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "_sage_input_50.py", line 10, in <module> exec compile(u'open("___code___.py","w").write("# -- coding: utf-8 --\n" + >_support_.preparse_worksheet_cell(base64.b64decode("RyA9IFNMKDIsR0YoMykpCkQgPSBH>LnN1Ymdyb3VwKFtCWzFdLEJbMl1dKQ=="),globals())+"\n"); >execfile(os.path.abspath("___code___.py")) File "", line 1, in <module>

File "/private/var/folders/rp/rpRaJRnOEQyzp4ftzijESU+++TI/-Tmp-/tmpGFGoqT/___code___.py", line 4, in <module> exec compile(u'D = G.subgroup([B[_sage_const_1 ],B[_sage_const_2 ]]) File "", line 1, in <module>

File "parent.pyx", line 620, in sage.structure.parent.Parent.__getattr__ >(sage/structure/parent.c:5943) File "misc.pyx", line 200, in sage.structure.misc.getattr_from_other_class >(sage/structure/misc.c:1427) AttributeError: 'SpecialLinearGroup_finite_field_with_category' object has no >attribute 'subgroup'