I have a collection of functions defined for Gap, and I'd like to be able to read their definitions and use them from Sage. I've noticed the
to return the Sage-wrapped output of my gap function. However this doesn't seem to work, and nor do any of the (many) variants I've tried. Suggestions?
If installing the definitions as a Gap package is necessary, could someone tell me where the files should be put so that Sage's copy of Gap can find them? (i.e. what is the Gap root for Sage's Gap?)
You should be able to do the following:
If that isn't working for you, you'll have to be more specific as to what the error is.
Note that doing
is equivalent to doing something like
in GAP. If you want to just evaluate a command in the session, use
posted Dec 11 '10Mike Hansen
3880 ● 23 ● 46 ● 84
Asked: Dec 11 '10
Seen: 132 times
Last updated: Dec 11 '10
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.