2020-10-15 14:30:52 +0100 | commented answer | How to draw a graph in Sage and read GAP file added to the same project which is similar to the previous one. Will I have to call some package for GAP in Cocalc or in the GAP program I am using? |
2020-10-15 14:29:14 +0100 | commented answer | How to draw a graph in Sage and read GAP file added to the same project Thanks a lot @slelievre I tried with that and checked. Then I receive the following error.. |
2020-10-15 09:00:36 +0100 | received badge | ● Scholar (source) |
2020-10-15 09:00:35 +0100 | received badge | ● Supporter (source) |
2020-10-15 09:00:02 +0100 | commented question | How to draw a graph in Sage and read GAP file added to the same project Thank you very much @FrédéricC can I create the plot such that there will be an edge between 1 and 2 points, 1 and 3 points, 2 and 5 points, and so on? |
2020-10-15 08:55:51 +0100 | commented answer | How to draw a graph in Sage and read GAP file added to the same project Thank you very much @slelievre I am now receiving the error: saying that name gap is not defined. What remedy can be done for it? Thanks a lot in advance. |
2020-10-14 01:09:22 +0100 | received badge | ● Student (source) |
2020-10-13 07:24:43 +0100 | commented question | How to draw a graph in Sage and read GAP file added to the same project Thanks a lot, @slelievre , I edited the question by adding the relevant section of the codes. |
2020-10-13 07:23:40 +0100 | received badge | ● Editor (source) |
2020-10-12 22:51:31 +0100 | asked a question | How to draw a graph in Sage and read GAP file added to the same project I have created a project in CoCalc with the kernel SageMath. There I have opened a new file (New1) and did some computations using the GAP commands, and "gap.eval" before each command enabled me to obtain the results successfully. Question 1: Next by using some values obtained as a result of the GAP commands, if I need to plot a graph what is the command I will have to use, which will read GAP data successfully? (The output is in the form [[1,2],[1,3],[2,5],...], as an array) Question 2: I have written another function(Program1) in GAP file and have uploaded it to the same Project. I would like to call this function to the file New1, where I have been working and use it. How can I call it succesfully? I tried %run Program1.gap , but it didn't work. The section of the program relevant to Question 2: When I try to run the .gap file I get the below error, %run UndirectedGeneratingSets.gap I added gap.eval command to places where there are commands and updated the .gap file but still I am getting errors as below. I don't know why it says as syntax error. I have closed all the brackets in the code as below: and similarly for the rest of the codes in that program as well. Many many thanks in advance. |