<html><head><title>[xgap] 2.1 Basics</title></head> <body text="#000000" bgcolor="#ffffff"> [<a href = "C002S000.htm">Up</a>] [<a href ="C002S002.htm">Next</a>] [<a href = "theindex.htm">Index</a>] <h1>2.1 Basics</h1><p> <p> The idea of XGAP is that <font face="Gill Sans,Helvetica,Arial">GAP</font> should be able to control graphics. A graphical user interface is sometimes easier to use than a text and command oriented one and there are mathematical applications for which it can be quite useful to visualize objects with computer graphics. <p> On the other hand it is not sensible to change the whole concept and user interface of <font face="Gill Sans,Helvetica,Arial">GAP</font> because it is not advisable to put all the facilities of <font face="Gill Sans,Helvetica,Arial">GAP</font> into a menu system. So XGAP is a separate C program running under the X Window System, which starts up a <font face="Gill Sans,Helvetica,Arial">GAP</font> job and allows normal command execution within a window. Note that the online help of <font face="Gill Sans,Helvetica,Arial">GAP</font> is available, however it will appear in a separate window. <p> In addition there is a library written in <font face="Gill Sans,Helvetica,Arial">GAP</font>, which makes it possible to open new windows, display graphics, control menus and do other graphical user communication in <font face="Gill Sans,Helvetica,Arial">GAP</font> via the separate C part. <p> Built on those ``simple'' windows and graphic objects are other libraries which display graphs and posets in a window and allow the user to move vertices around, select them and invoke <font face="Gill Sans,Helvetica,Arial">GAP</font> functions on mathematical objects which belong to the graphic objects. <p> One ``application'' of these libraries is a program to display subgroup lattices interactively. So XGAP works as a front end for mathematical operations on subgroup lattices. It is possible to ``switch'' between the graphics and the <font face="Gill Sans,Helvetica,Arial">GAP</font> commands. This means that you can for example use the graphically selected vertices resp. subgroups to do your own calculations in the command window. You can then display your results again as vertices in the lattice. <p> Of course there are other applications possible and the libraries are developed with code reusage in mind. <p> <p> [<a href = "C002S000.htm">Up</a>] [<a href ="C002S002.htm">Next</a>] [<a href = "theindex.htm">Index</a>] <P> <address>xgap manual<br>Mai 2003 </address></body></html>