Questions tagged [gap-system]

GAP (Groups, Algorithms and Programming) is an open source mathematical software system for discrete computational algebra (https://www.gap-system.org). Ask here non-mathematical questions about programming in GAP; for mathematical questions use the (gap) tag at Mathematics Q&A site: https://math.stackexchange.com/questions/tagged/gap. Other places to ask about GAP are the GAP Forum and GAP Support: https://www.gap-system.org/Contacts/Forum/forum.html

This is the tag for questions related to the computational algebra system GAP.

GAP (Groups, Algorithms and Programming) is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. It provides a programming language, a library of thousands of functions implementing algebraic algorithms written in the GAP language as well as large data libraries of algebraic objects. GAP is used in research and teaching for studying groups and their representations, rings, vector spaces, algebras, combinatorial structures, and more.

If you want to ask a question in this category, please note that there are well-established support channels for GAP users such as GAP Forum and GAP Support which may be more suitable places for such questions with a different (though possibly intersecting) audience, and with a different response rate (which may be faster or slower, dependently on your question). While there may be GAP users and some authors of GAP and/or its packages among the users of this Q&A site, please do not assume that the question on GAP asked here will necessarily be noticed by them.

It may also happen that your question is already answered in the Frequently Asked Questions section of the GAP website or in the GAP Forum (to search GAP Forum archives, click here), or under the "gap" tag on the Mathematics Q&A website.

Finally, if you think that you have discovered a bug in the GAP system, the recommended way to report it is to use the GAP issue tracker on GitHub. Many packages have their own issue trackers, which you can find following the links here.

56 questions
0
votes
1 answer

Error in Computing the Two-Fold Sumset of a List in the GAP System

I am attempting to write a code in the GAP System that will allow me to construct the two-fold sumset of a set with itself. Essentially, this is just the set of elements that can be written as a sum of two elements of a given set. Explicitly, if S…
0
votes
0 answers

About the magnetic space group creating with GAP

I have been learning the book "Computer Algebra and Materials Physics" during this period of time. In the chapter 9 titled by "Final Remarks", the author wrote the following: In my article, I have omitted several important application of the group…
Hongyi Zhao
  • 77
  • 1
  • 6
0
votes
0 answers

Coset table calculation failed -- trying with bigger table limit

I tried with the following code snippet in GAP: f:=FreeGroup("P","Q"); g:=f/ParseRelators(f, "P^2 = Q^3=1"); Size(g); But it gets stuck in the following step: gap> Size(g); #I Coset table calculation failed -- trying with bigger table limit #I …
Hongyi Zhao
  • 77
  • 1
  • 6
0
votes
0 answers

How can I check if a ideal has a direct sum decomposition? [GAP]

I need a function to check if a left ideal of a Group Algebra has a direct sum decomposition or not. So, I need a functon that return true if the left ideal has a direct sum decomposition or false if the left ideal doesn't have a direct sum…
Amanda
  • 1
0
votes
0 answers

How are recursive partition numbers found step by step on the program?

The "recursive partition numbers" code written using GAP 4.10.2 are as follows. For example, could you explain the working steps of the GAP programming for nrparts(15)? How did we get nrparts (15) = 176 step by step in the program? nrparts:=…
0
votes
1 answer

How to install xgap 4.30 in Ubuntu using the terminal?

I tried to install xgap in terminal and I have already gap 4.10.2 on my system. However I am getting following problem: root@heino-VirtualBox:~/Downloads/xgap-4.30# /home/heino/Schreibtisch/gap-4.30/ bash: /home/heino/Schreibtisch/gap-4.30/: Datei…
Elias
  • 3
  • 2
0
votes
0 answers

An error in executing a .gap file in GAP software

I am trying to load two .gap files but I receive the following error message. What could be the reason? Thanks a lot in advance. Error in executing .gap files I have already read F1.gap file. I don't understand why it says F1 must be readable to…
0
votes
0 answers

How to compute these equivalence classes in GAP?

I have a group defined by G := Group((1,2,3),(1,2,4),(5,6,7),(5,6,8),(1,2)(5,6));. How can I compute the equivalence classes of elements in G (or a representative of each equivalence class) with respect to the equivalence relation a ~ b <=> there…
Ben
  • 470
  • 1
  • 6
  • 18
0
votes
0 answers

OS X, add command to bash for compiled program

I have installed a GAP computer algebra system into my Macbook Pro. However, if I type 'gap', it will say in the terminal that: bash: gap: command not found How I can fix this? /Users/myusername/gap4r8/bin is the location of the script that I can…
Zzz
  • 111
0
votes
1 answer

$S_{10}$, the symmetric group and GAP

Here is a question. As you see, the problem's established on finding an element of a certain order in $S_{10}$. I tried to do this question by using GAP. But, GAP couldn't handle the symmetric group $S_{10}$. What can we do in this situation? Is…
Mikasa
  • 109
  • 1
  • 1
  • 5
-2
votes
1 answer

Need a help to call a code appropriately in GAP

I have the following input in GAP's environment: I wanted to check whether a certain element of my Free group is in the group or not, so I used the code: > a in e; and expected to get [ true But it didn't work: [ false But when I…
Mikasa
  • 109
  • 1
  • 1
  • 5
1 2 3
4