Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5e1854624d3bc613bdd0dd13d1ef9ac7 > files > 2486

gap-system-4.4.12-5mdv2010.0.i586.rpm

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GAP (NumericalSgps) - Appendix C: A graphical interface</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
</head>
<body>


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chap5.html">5</a>  <a href="chap6.html">6</a>  <a href="chap7.html">7</a>  <a href="chap8.html">8</a>  <a href="chap9.html">9</a>  <a href="chapA.html">A</a>  <a href="chapB.html">B</a>  <a href="chapC.html">C</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<div class="chlinkprevnexttop">&nbsp;<a href="chap0.html">Top of Book</a>&nbsp;  &nbsp;<a href="chapB.html">Previous Chapter</a>&nbsp;  &nbsp;<a href="chapBib.html">Next Chapter</a>&nbsp;  </div>

<p><a id="X7E34378C7C333327" name="X7E34378C7C333327"></a></p>
<div class="ChapSects"><a href="chapC.html#X7E34378C7C333327">C <span class="Heading">A graphical interface</span></a>
<div class="ContSect"><span class="nocss">&nbsp;</span><a href="chapC.html#X86EF7EAB809D2418">C.1 <span class="Heading">Graphical interface</span></a>
<span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chapC.html#X82616EED7F480035">C.1-1 XNumericalSemigroup</a></span>
</div>
</div>

<h3>C <span class="Heading">A graphical interface</span></h3>

<p>Here we describe a Tcl/Tk interface to specify numerical semigroups.</p>

<p><a id="X86EF7EAB809D2418" name="X86EF7EAB809D2418"></a></p>

<h4>C.1 <span class="Heading">Graphical interface</span></h4>

<p><a id="X82616EED7F480035" name="X82616EED7F480035"></a></p>

<h5>C.1-1 XNumericalSemigroup</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&gt; XNumericalSemigroup</code>( <var class="Arg">[s]</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function pops up a Tcl/Tk window which allows the specification of numerical semigroups. The optional argument <var class="Arg">s</var> is a numerical semigroup whose definition becomes displayed in the graphical interface.</p>

<p>The interface is very simple, it allows to specify a numerical semigroup by its generators or a (proportionally) modular numerical semigroup by its (proportionally) modular condition. The <strong class="pkg">GAP</strong> variable by which the semigroup will be known must also be specified.</p>

<p>The interface also allows to apply some functions to the semigroup, namely <code class="func">AperyListOfNumericalSemigroupWRTElement</code> (<a href="chap3.html#X86C699F2800F9ED0"><b>3.1-5</b></a>), <code class="func">DrawAperyListOfNumericalSemigroup</code> (<a href="chap3.html#X85C89A6B81A07061"><b>3.1-6</b></a>), <code class="func">SmallElementsOfNumericalSemigroup</code> (<a href="chap3.html#X79D6E4727B612B54"><b>3.1-3</b></a>), <code class="func">GapsOfNumericalSemigroup</code> (<a href="chap3.html#X7B1BEC5786C66244"><b>3.3-1</b></a>), <code class="func">FrobeniusNumberOfNumericalSemigroup</code> (<a href="chap3.html#X7828CD2B83E380FA"><b>3.2-1</b></a>) and <code class="func">MinimalPresentationOfNumericalSemigroup</code> (<a href="chap4.html#X7D8199858781EB41"><b>4.1-2</b></a>). Finally, it is also possible to add functions to this list and remove them.</p>


<table class="example">
<tr><td><pre>
gap&gt; s:=RandomNumericalSemigroup(3,9);
&lt;Numerical semigroup with 3 generators&gt;
gap&gt; XNumericalSemigroup(s);
</pre></td></tr></table>

<p>This would pop up the following window:</p>

<p><br><center><img src="xnumsgp.png"></center><br></p>


<div class="chlinkprevnextbot">&nbsp;<a href="chap0.html">Top of Book</a>&nbsp;  &nbsp;<a href="chapB.html">Previous Chapter</a>&nbsp;  &nbsp;<a href="chapBib.html">Next Chapter</a>&nbsp;  </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chap5.html">5</a>  <a href="chap6.html">6</a>  <a href="chap7.html">7</a>  <a href="chap8.html">8</a>  <a href="chap9.html">9</a>  <a href="chapA.html">A</a>  <a href="chapB.html">B</a>  <a href="chapC.html">C</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<hr />
<p class="foot">generated by <a href="http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>