Ask Your Question

Using GAP package in Sage

asked 2015-03-11 23:50:53 +0200

kcrisman gravatar image

I would like to use this GAP package to do some computations of representations, in particular these commands. However, I want to use Sage and not GAP directly for various reasons (such as not having to switch back and forth between systems for where the computations come from).

An ideal "answer" to this question would give me

  • Instructions for how to install this package in Sage (assuming Sage's GAP is new enough, which I think it is)
  • How to get a group ring nicely with or without this package, from a given (Sage) group
  • How to use PrimitiveCentralIdempotentsByCharacterTable from within Sage with this
  • Ideally, how to apply a given representation to one of these idempotents

That's a tall order, probably, but I don't use the group theory stuff in Sage too often, so it would save me a lot of time if someone who "just knows" the syntax was able to help out. Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-12 08:45:47 +0200

vdelecroix gravatar image


For the first step: Just download the tarball, extract it into $SAGE_ROOT/local/gap/latest/pkg/. Then the following should work

$ sage -gap
GAP, Version 4.7.7 of 13-Feb-2015 (free software, GPL)
gap> LoadPackage("wedderga");
Loading  Wedderga 4.3.3 (Wedderga)

At least, it works for me. Then, it can also be used from Sage

sage: gap('LoadPackage("wedderga")')


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-03-11 23:50:53 +0200

Seen: 821 times

Last updated: Mar 12 '15