On Thursday, December 3, 2015 at 1:20:05 AM UTC-8, Watson Ladd wrote:
>
> I'm on Mac OS X 10.10.5.
>
> The following commands work to generate a Meataxe module
> G=gap("SymplecticGroup(4,2)")
> gens=G.GeneratorsOfGroup()
> module=gens.GModuleByMats(gap("GF(2)"))
>
> However, I can't figure out how to call MTX.IsIrreducible on this module 
> through the Sage interface. Creating a variable ax containing "MTX" from 
> GAP doesn't work as Sage translates ax.IsIrreducible(module) into 
> IsIrreducible(ax, module), which isn't right. Any help would be appreciated.
>
> sage: 
MTX_IsIrreducible=sage.interfaces.gap.GapFunction(gap,"MTX.IsIrreducible")
sage: MTX_IsIrreducible(module)
true

seems to work.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to