On Saturday, December 24, 2016 at 3:38:43 PM UTC, Enrique Artal wrote:
>
> I need to use a gap package which is not installed by sage, namely nq. I 
> have been able to install it using wiki instructions and I can use it in a 
> gap session inside sage: e.g., 
>
> LowerCentralFactors(FreeGroup(1),1);
>
> after the package has been loaded. In a sage session the following code 
> works 
>
> gap_reset_workspace()
> gap.LoadPackage('"nq"')
> F0=gap.FreeGroup(1)
> gap.LowerCentralFactors(F0,1)
>
> but not the following one
>
> gap.LowerCentralFactors(FreeGroup(1).gap(),1)
>

I'd suggest using libgap. rather than gap., in particular as Sage's 
FreeGroup is implemented using libgap
interface. So the last command needs to cross from GAP to libGAP interface, 
and this might be flaky.


 

>
> Thanks, Enrique
>
>

-- 
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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to