[GAP Forum] Algebras

Alexander Konovalov alexk at mcs.st-andrews.ac.uk
Thu Feb 13 20:43:07 GMT 2014


Dear all,

On 29 Jan 2014, at 22:49, R.N. Tsai <r_n_tsai at yahoo.com> wrote:

> Dear Max and forum,
> 
>> If you want to work in these algebras, you don't want to compute a quotient. 
>> Rather, you want to be able to compute normal forms of elements,
> 
> You're absolutely right; this is all I needed. I didn't know GBNP had it already.
> 
>> NormalFormMod := x -> NP2GP(StrongNormalFormNP(GP2NP(x), G), A);
> 
> Very helpful...everything is working beautifully now for both weyl and cliford
> algebras...it's also fairly fast.
> 
> How do I add GBNP to the list of packages that get loaded automatically?
> I couldn't figure that out from the gap manual.

In GAP 4.7.2 this is documented in "3.2-3 Configuring User preferences"
(enter `?WriteGapIniFile' in GAP to see that section).

You may call WriteGapIniFile(); to create gap.ini file where you may
specify user preferences. Its output will tell the path to this file,
then you may edit it around the lines

##  A list of names of packages which should be loaded during startup. For
##  backwards compatibility, the default lists most of packages that were
##  autoloaded in GAP 4.4 (add or remove packages as you like).
# SetUserPreference( "PackagesToLoad", [ "autpgrp", "alnuth", "crisp", "ctbllib", "factint", "fga", "irredsol", "laguna", "polenta", "polycyclic", "resclasses", "sophus", "tomlib" ] );

uncommenting the last command and modifying its argument, adding packages
you want to load in addition to those already listed there.

Best regards
Alexander









More information about the Forum mailing list