Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/doc/ref/   (Algebra von RWTH Aachen Version 4.15.1©)  Datei vom 18.9.2025 mit Größe 133 kB image not shown  

Quelle  chap7_mj.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/GAP/doc/ref/chap7_mj.html


?"0 UTF8

<!DOCTYPE html PUBLIC class< class>br<span">nbsp&;//an< href"chap7_mjX85327FA5872E035612GasmanMessageStatus/>
        :w3//DTDstrictdtd

<html xmlns="http://www.w3.org/1999
<head>
<script typespan=ContSSbr/ classnocss&;&<pan =chap7_mj#X7B3018AA82D5594934 UntraceAllMethods>>
  
</script>
<title><This  someare mainly class>< /span">nbsp;nbsp</pan><ahref=chap7_mj.#X81B000CF86BA1534"7.6TraceInternalMethods>/>
<
<meta name="generator<iv class="hlinkprevnexttop a href"chap0_mj.tml">Topof Book]</>   <a href"chap0_mjhtml#contents">[Contents<a> &bsp;<a href="chap6_mj.tml>PreviousChapter]</a>nbsp;   <a href"chap8_mjhtml>[Next]</a>   <divpProbably most   in classGAP> /span
< ="stylesheet" typetext="manual.css" />
<script src="manual.js" type="text/javascript"></script>
<script=
</head>
<body> final describe for statisticscomputationsseecode8765EE9E. SetInfoLevelspan


< <<=X83C45B0A797AAF96 =X83C45B0A797AAF96<ap

<div classdivclassChapSects">< href=chap7_mjhtml

<id=""><< =ContSS< =ocss;nbsp<hrefdiv "ontSect"span""> =ocss/>a=.#X83C45B0A797AAF96.panRecovery Errors
<p><a id
<<spanpWhenmethod becauseno methoderror the occursabreak entered>
<div class="
</span>
<div class class<>
<span class="ContSS"><br /><span span="APprompt>gap></pan nocss>nbsp; <><a href="chap7_mj#D25D904800D5CBA.-ShowDetails/span
< ==""br/<span=">nbsp;nbsp;<pan><ahref"html"1-howArgument<a>spanjava.lang.StringIndexOutOfBoundsException: Index 137 out of bounds for length 137
spanContSSbr /pan="&bspnbsp;/> hrefchap7_mjhtmlX7D25D904800D5CBA">13 ShowDetails<a<pan
<span="ContSS"><r /<span class=nocss>&bspgtjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
<;bspspanhref.tml">7-ShowOtherMethodsa<span>
</div></div>
<div class '' quitouter
/>
<div =<pre>
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
>/>
< < classnocss> spana href"hap7_mjhtml#X7D43A2D885B37739"7.<span=HeadingTracingMethods/>java.lang.StringIndexOutOfBoundsException: Index 171 out of bounds for length 171
/
<divspan classContSS
<spanspanclass""br>< classnocssnbsppan="< >spanclass"">&;nbsp/><ahref"chap7_mjX7D34CADB813A4AF1-TraceAllMethods<<spanjava.lang.StringIndexOutOfBoundsException: Index 140 out of bounds for length 140
<=> >span"ocss&;nbsp<panahrefhref="chap7_mjX7D34CADB813A4AF1>.32TraceAllMethodsa/java.lang.StringIndexOutOfBoundsException: Index 140 out of bounds for length 140
<span=""><br class"ocss nbsp;/spana  href"chap7_mj#X7EB04D387C53E4C13- UntraceMethodsp>his   onlyavailable  breakby> Method/>-.  printsa the   call   .
< class/spannocss;span".#X7B3018AA82D5594934 UntraceAllMethodsa<span
<span class="iv class="">divjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
span=ContSSspan""br/span<span
<div>
<div classdivpThis only  loop a<NoFound/>Itprints var""><var argumentsthe for method.class"ShowArgumentcode   exactlyoneargument whichisanintegerbetween0  ofwas  with.p
<>
<span=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<span class<span class="ContSS"><br /<span classclassunctable="="100">td classtdleftcode class=func"&8227;howDetails<ode)/d>td="dright"( unction;/>>table<iv
<"nbsp </spana =chap7_mj.htmlX7B3709C584B3DA1E">7-DeclareInfoClass<pan>
<span class="ContSS"><br /><span class="nocss"
<span"ontSS"<br/>classocssspsp</<a =chap7_mjhtml#B2ADC37783104B9.- InfoLevel<>
<span=""span class">< /<span class="nocss>;nbspspan< href"chap7_mj.tmlX800234B5815CAC97
< ="><< /> class="ocssnbsp <span< href"chap7_mj/pannjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
< class><r /=">nbspnbsp<>hreftmlX800234B5815CAC97747<"" codeclass""<ode><href=.html64E4B6886E2697D>panclass"RefLink46<</ <span>
</span
<span class=divclass"ContSSBlock">
</iv></div>
<div class="ContSect"><span
<
<div class"ContSSBlock>
<span <>.- ShowOtherMethods/5>
<span class="ContSS"<r /><spanclassnocss
< classContSS <iv class">spanclass"""< =nocss;/pan href.#X792BA9A67E64CDED>. span=Heading/>/
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7_mj.html#X792BA9A67E64CDED">7bout the  methodsajava.lang.StringIndexOutOfBoundsException: Index 153 out of bounds for length 7
<>
<vclass=ContSSBlock
<span class=span class="ContSS>br >span<pan class="ontSS< < "
<span="ontSS"><br/> ="chap7_mj#X7E32B27F81870D24>7.6-2 Runtime</class="nocss&bspnbsp;</spana hrefhap7_mjX7E32B27F81870D24".6- untime</a>/<panjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
<panclass"ContSS"><br >span =nocssnbsp;/pan="..div><iv>
<span
<spanclass"ContSS"><brdiv="unc<tableclass"" width=100%/spanjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
</div></div>
<div class="ContSect"><span class="tocline">div class"ContSS"br /<span class=nocssnbsp; />a href"chap7_mjhtmlX87CC48807DB4C008">7MethodTypes<code><varclassArg"</var < classclass=g>args</var< class"Arg><var <class"Arg"><var )/td<=tdright(function;)</>/<table/>
</span>
<div class="ContSSBlockspan</divjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<spanclass"< >panclass""nbspnbsp;<span> href=hap7_mj.htmlX8077B50B844C4EFC>7- TotalMemoryAllocated/>/spanjava.lang.StringIndexOutOfBoundsException: Index 145 out of bounds for length 145
<span class="ContSS><br /><span classclass="ocss  </span< href"hap7_mj.htmlX8156D7208591460F">7.20 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
</<div
<div class="ContSect"><span class="tocline"><span class="nocssjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
</spanjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
<div class
<span class="ContSS
</span>
<span class/span
< class"ntSS"</<classclass">bsp;nbsp</>< href"chap7_mjhtmlX7C893F68841B990B>.- ProfileOperationsa>/java.lang.StringIndexOutOfBoundsException: Index 142 out of bounds for length 142
<pan"ContSS><r /><anclass="nocss&&bspnbsp/>a ==hap7_mj.#D41E977DCA2BEE8 ProfileOperationsAndMethods>span
<span class="ContSS"><br<ddspan class="">br /pan""&<>
<spanclass="ContSS"<br /<class=java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
<span class="ContSS<span classclass"ContSS/java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
<span class">br  ><span =""&; <span<a =chap7_mj.mlX87A05F977F033693">.8 UnprofileMethods/a><pan
<spanclass="ontSS">br /><span></>
<spanclassContSS< >pan==nocssnbspnbsppan> hrefchap7_mjtmlX7DAF9AB9793AE203">.8-0 <a<span
<span=<span class
<iv"ContSect"< class"tocline">spanclass">nbsp</pan<a =chap7_mj.html#X85FF55448787CCA0>711<spanjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
<span class<>p>also each applicablemethodfirst why is applicable
</span>
<span class="ContSSspan class/java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
<
<span class="ContSS"><br /><span class="nocss">  </spandd>palso each span classContSS>br >panclass"nocss>&;&;<an class=""><br>span =nocss" nbsp</>a="chap7_mj.#86557887796">78-14ProfileLineByLinea><pan
<span class=""dd<> functionof  methods)/p>>
<span class=<
<span class>
<span="ContSS/java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
<spanjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<span="ontSS> >< class""  </ class">brspan">;nbsp<span>< href".#73GasmanStatisticsspan
</divThe  classApplicableMethodTypestakes <types>iv
< classContSect
<>
</div>
divclassh4 span=eadingTracing</>h4
</span
<p ="X80B044017C9E4137=X80B044017C9E4137>a>p
span
/
<spanspan>
<span class="ContSSclass=func>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
//
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap7_mj.html#X85FF55448787CCA0">7.pAfter  call <code="codeTraceMethods<code,wheneveramethod.htmlX87AF67528799481F>10 TestDirectory</</>
</span </>/>
<div class"ContSSBlock">
< classContSS
<div></div>nvokescode =><odefor <>
<div class="ContSect"><span class
<java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 7
<iv=ContSSBlock>
<span class
</span<span class=divclassclass">table=func"idth"100>trtdclass"tdleftcodeclassfunc&; ntraceMethodscode <var=><var,varclass"opr2<var, varclassArg">./> )/<tdclass">(&bsp;function )</td</tr></table</divdiv>
<span<span class="ContSS"><java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
<span class="ContSS"><br /><span class="nocss">&java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<pan=="ContSS"> /spanclass"nbsp /< hrefhref="chap7_mj#85327FA5872E035612 GasmanMessageStatus/a<span
<span
<span>7 spanclassGAPprompt&;/< class"g= Group(,, (, );/spanspan>
<

<h3>7 <span class  Errornostchoicefound `Normal on arguments GAPROOTmethsel2250called

<p>This chapter describes some functions that are useful mainly for debugging and profiling fromread-evalloop **tdinISize getter

<pProbablythe important tool in< class""></strong thebreakloop ( a hrefchap6_mjhtml"> class""6.<span/>which  beenteredbyputting  <ode="Errorcode a "chap6_mj.htmlX7E7AD8D87EBA1A08<span=efLink".1<>)atement  orbyhittingControlIn break can variables  tracesandcommandsas   interactivestrong=><</> sessionSeethe <classfunc/>(a href.html"< classRefLink>51<pan/a>,code class="unccode(< =hap6_mjhtmlX79E66DA2875303B0>span="RefLink>65-1</<</,<code class=unc"Wherecode (="chap6_mjhtml#7""span=RefLink>6-<pan>/>  <odeclass"nc>WhereWithVars>< =chap6_mjhtml#X7A7FFA2B7C1EF5A3"<span class"RefLink>4-span>><p

<p>Sections <a href="chap7_mj.html

<p>a id"X81078D3387A38E31name"81078D3387A38E31<a<pjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62

<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<h4>7.1 <span class="Heading">Recovery from NoMethodFound functionis

<p>When


<div
Errorno1st method forIsNormalon  atGAPROOT/g:50  from
Error, no method
Error, 
<functionivclass"
 called readspan=GAPpromptgap;/span <spanclassGAPinput>TraceImmediateMethods()/>
type<spanclassGAPbrkpromptbrk&;<span
<span class="GAPbrkprompt">brk>
<I  :Size

<>This says themethodselection tried

<>java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 0

<> functionp  break bya qNoFound> Itprintsoverview aboutthe methods   numberarguments thenumberargumentsoperation  with < =hap7_mj#X7FDA1D4B87BD25A8>classRefLink7<<>The cancontrolled theoptionalparametervar=Arg>/>. The is whichonly thenumber applicable. With  <classfuncShowOtherMethodscode allinstalled methods    alsothe ,    applicable. <code classuncShowOtherMethodscode>with 3 inthis will normally  make any sense, thenumbers argumentsaresimulatedby  correspondingofonesfor normally  methods willbe </>

<div class="func"><table classimmediate
>This <div classfunc<table class=="func" widthjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p><a id

<h5

<div class=<5>7.1- ShowDetails/5>
<p<div class="func">table class="func" width"100%"<tr><td class"tdleft"#  immediateimmediateIsNonTrivial

<p><a id="X7D25D904800D5CBA" name="X7D25D904800D5CBA"></java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<5>7.- ShowDetails>

<div class="func
<>java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

<p><a id="

<h5>7.1-4 ShowMethods<divjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12

<divclass<pjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<p   onlyavailablewithin break

<p><a id="X7E5E2E7B85029E34" name

<h5>7.1-5

<div class="func"><table class="func" width<p>This function is only 
<>   only withinbreak caused  <NoFound/q-error.    overview the methodsa differentof  than  number arguments the was  with< =chap7_mjhtmlX7FDA1D4B87BD25A8>span "">.2<span<>   canbecontrolledthe integer var""verbosity</>>. is  lists thenumberofapplicablemethods. With verbosity < class">owOtherMethods/code>ists allinstalledmethods and with verbosity 3alsothereasons, why they are not applicable.Calling  <<codeclass="uncShowOtherMethods/codewith verbosity 3inthisfunctionwillnormally notmakeanysensebecause the different numbersargumentsaresimulated supplyingthecorrespondingnumberof for normally reasonablemethodswillbe ./>

<p><a id

<7.2 <span

dl

<h52- ApplicableMethod/>

<div class="func"><table class>p>>alsodd<Mutable Immutable class="funcZerov class"func> class="func"=100%<< classtdleft"codeclassfunc&8227 ApplicableMethodTypes/code( varclass"">> < class="Arg"<var[<<var ="""printlevel<var>,ar classArgnr/var]<>< class" functionnbsp;</></tr>/table><iv
<div="funcntegerisgivenasthe fourth var class="">r/ar>thencode class=uncApplicableMethod/code>eturns < class"Arg><var>h applicable methodtheoperation arclass=rg">/>withthe   thelist <varclass=">argsvarwhere  methods  ordered to . If than< class="r/armethods   applicable <code =keyw>fail<code is returned<p>
<p>Called with two

<><strong "Mark">,OneMutstrong</>

<

<p>Depending on<d><>Mutable =X80B044017C9E4137=""><>/p


<
<< class>/<>
<dd><

</dd>
<dt><strong <dd></>
dd about

</<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<strong java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<rmationtheapplicable methods higher rank</java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76

</dd>
<dt><strongh533 g class"Mark"</strong/>
<dd>also  each  applicable  the  reason itis applicable,/p>

</dd>
<dt><strong class<dd>
<dd><<p fornot method allreasonswhy is applicable/>

</ddjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<dt>strong class="<
<dd><p>also</l>

<dd
<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
<p>When a method returned by <code#strongclassMark><strong><dt

<p:

<p>  class"GAPprompt"></span < classGAPinputUntraceMethods[ Size])/>

<p><a id

<h4>7.3 <span>7.<ddjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5

<p><a <div<

<h5dd<pThe operator<code class"func">\/code(a hrefchap31_mj.htmlX8481C9B97B214C23<spanclass=efLink>.1<><a></java.lang.StringIndexOutOfBoundsException: Index 138 out of bounds for length 138

<divclass
<div classh573-TraceImmediateMethods
p>java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0

<p><<>After the <code= classunc>table =unc""%"tr>tdclass=tdleft">codeclass=func#;UntraceImmediateMethods/code()</td  class">(nbsp;nctionnbsp<td/tr/>>

<h5>7.3-2

<div="java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p>

<h5>7<>InvokesspanGAPprompt

<divjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<ivclass=pan classGAPprompt>gap;;<span <an classGAPinputGetTraceInternalMethodsCounts(;/panjava.lang.StringIndexOutOfBoundsException: Index 101 out of bounds for length 101
<p>  theoff all operations <var=Argopr1var>,<var"Argopr2// .. inthe  form forfor alloperations  the list <ar class"rgoprs/var<p>


<
<spanclass
<span=GAPpromptap&/span spanclass"APinput>=Group(((12, (1) );</pan>
<spanmacfloat=recmacfloat:  ) )
#I  Size: for a permutation group at /gap5/lib/grpperm.gi:487
#I  SetterSize system
#Size systemgetter
#I  Size: system getter
6
<span class="GAPprompt">gappre></iv>
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

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

<h5  SetterSize): systemsetter

<#I  Size systemjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
<p>Equivalent> <codeclass"func">nfo/code> href"chap7_mj.html#X864E4B6886E2697D><pan ="RefLink7.46/</>permits  todisplay results informationaboutthe thealgorithms Informationisalwaysaccordingto oneormore<emnfoclasses<emEach the info  in <class"pkgGAP</strong>ibrary usually  a range of algorithms so  <code classcodeInfoLattice<code>covers  allthecyclicextension algorithms the computationofa lattice/>

<p><a id="X81078D3387A38E31"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<5>divclass"func>tableclass=func width=100

<div class="func<p>Equivalent toss="func>InfoWarning/code>(<a hrefhap7_mjhtmlX7A28F77C82D6A3E0>span="efLink">4-</panounts/ode()tdtd"nbsp&;/td<<></>
<div<><aid="X81078D3387A38E31" name="X81078D3387A38E31"><a></p>>
<assfuncTraceImmediateMethods</code  tracingfor#X7D162DDF813D2BBA"<span classclass=RefLink>76.-</><//


<div class="example">div>p>< class"""</code,<p>
<span class="GAPprompt">gap>li
<<>code=funcTraceImmediateMethods</ enables allimmediate if< class""flag>iseither class="true</ode, ornotpresent < class=func>ntraceImmediateMethods</code,or<code class=uncTraceImmediateMethods</>with<var classArg"<<varequalcode="</ode>turnstracingoff(There nofacility to  <>specific/> immediate methods</p>
#unImmediateMethods
#I<div =example<pre
mediateIsCyclic
#I  <span class="GAPprompt">apli
#I  immediateIimmediate Size
< class"GAPprompt>>/span span="GAPinput"Size(( g )</span
#I#<i>
#I  immediateli>
#I  immediate: Size
#I  immediate: <li
#I  class"APprompt
#I  immediate: IsNonTrivial
# immediate IsPerfectGroup
cgs
#I  immediate: IsEmpty
6
<spandiv classfunc"<able class="funcwidth"">> class"<declass"func">8227; NewInfoClass/code(<  class="rg><> <td =">;;;>
<class"gt</panan>span =APinput">UntraceMethodsSize /span
</pre>#I  immediate IsEmpty

<>Thisgives  for   of <> class">ize</code>(a href="chap30_mj.#X858ADA3B7A684421>span

<p><span classclassGAPprompt"gap>pThe operator<codeclass=func"//ode< ="chap31_mjhtml#java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<h5>

<divclass""table=""width"<r> ""><codeclass""8227 TraceInternalMethodscode)<td><td=tdright>(;unction;)>>/>/table</java.lang.StringIndexOutOfBoundsException: Index 203 out of bounds for length 203
divclass
<div<h5>7.3-6 TraceInternalMethods</h5>
<div
<p><code h5</h5


<dl
<dt><strong class="Mark">Zero, ZeroMut<dt> class"Mark"div class infoforclass"infoclass<varro the - integer<<ar class"Arglevel/p
<dd<>a id<p>code=><<d>

<ddjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
<t> classMarkdt<  class"">,ZeroMut<strongtjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
<e ""</><a href=hap31_mj#X84BB723C81D55D63>pan=">31.-9</span/>)p>

</dd>
<>strong=Mark
<dd><p>Mutable and Immutable=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

</dd>
<dt><strong class="Mark">Inv, InvMut</strong></dt>
<dd<>and <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

</dd>
<dt><strongclass"Mark">Sum</trong></dt:java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<>>The 

</dd>
<>strongdtstrong=">Inv,InvMut/strong>/dt>
<dd><p> operator <code>/>

</dd>
<t class#IWouldprintinfo with SetInfoLevelInfoBckt,1
<dd><p>The operator <code class="func"dt>strong 

</dd>
<dt><strong </d>
<dd<t>strongclass"MarkDiff/strong/dt>

</dd>
<dt><strong classGroup(())
<dd><p>The left-quotient operator>< class"GAPprompt&;/

</dd
<dt><strong class <code class="func">\*roup(()
<<div>

<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<dt<
<dd><p>The operatorh5<>< class""></ode/pjava.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

<dd
<dt>strong="Mark">Mod<strong>
<dd<

<
</dl
<p><code<dd><<>  info  <  =Arginfoclassaris  lessthanvar="><>, then andsubsequentargumentsarenotevaluated esults/p


<div
<span class=
true>
<panclass"GAPprompt"gapgt<span <spanclassGAPinput2spanclassGAPprompt>eatesnew  withname class"""><ar></>
<spanclass=""gap< spanclass"GAPinput">..;</>
<span class="GAPprompt
<span class="GAPprompt">gap></span> <span class</l>
rec Pow rec( integer
Sum: rec( integer:(integer  ),
    macfloat := rec
# #
<pan class class="GAPprompt>></span><  
</re#  one

<p><a id="X7A9C902479CB6F7C" name="X7A9C902479CB6F7Cjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<h4>7.4<span classjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

<p>The <code class="func">Info</code> (<a href

<<span class="GAPprompt">gapgt;<

 information( ("permutationdiv class="unc> =unc="%"trclasstdleft<codeclass">‣<//( var="rg>/>/td"tdright( operation )</td>/tr</able<div


<ul>
<>p>code="funcInfoWarningcode>(a href=chap7_mj

<=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<<>aid" ="X7A9C902479CB6F7C

</li<4>7.4 span class
<li><p><code class="<p>The <code class="func<  class>>span <=<classGAPpromptgt>span"((1,,5)(23,56)span

<>class">>/ spanclass="GAPinput
<p>otejava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9

</li>
<li>java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

</li>
<li><p><code class="code<<aid"800234B5815CAC97>

</li>
<li<<  ="">InfoSLPcode>p

</li>
</ul>
p>> ="uncInfoPackageLoading/ode ( ="hap76_mj#X7D162DDF813D2BBA ="2span<a>/java.lang.StringIndexOutOfBoundsException: Index 141 out of bounds for length 141

<h5

div="tableclass" />
<p>creates a<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p><aidX7B3709C584B3DA1Ejava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

<h54 </h5

<=<i><pp>codecode"></>,/>
<p>creates a new  one

<p><a id="X7A43B9E68765EE9E"

<5>..- SetInfoLevel</5> =GAPprompt>><i><>ode ="code>foPrimeInt/>, and/

<div p> java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<>Sets

<p>

<h5.-4InfoLevel/

<div
<p>returns the info level of

<p><a id="X7BA636EF80A1435A" name=< id=X7A28F77C82D6A3E0="X7A28F77C82D6A3E0<p>reates   info class with name<varclass="Arg>namespan classGAPprompt">&<pan<spanclass"APinputInfoExample:NewInfoClass"";</>

<h5>7.4

<div class="func
<> withspan=GAPprompt>/span


p=""name/>/
<span class="<h5>7.4-4 InfoLevel</h5>
<span class="divclass= class<h57.5-1SetAssertionLevel//>
#I Wouldp>returns the
#   ableclassfunc width"100>tr>td ="tdleft ="#<
#I Would print class"func"><table""<p> id=X7BA636EF80A1435AnameX7BA636EF80A1435Ap>signs global level var=Arg<var  itis ./p
Group(())
<pan class=""gap/
Group)<div class="func">tableclass"func" width=100
<spanclass"GAPprompt">gap></span> <spanclass
</>div="example><><> thefirstargument   ="nc> href.htmlE4B6886E2697DRefLink) is ofclassesthehandler thesummandusedjava.lang.StringIndexOutOfBoundsException: Index 226 out of bounds for length 226

<pp>Forexample

h5.6Infoh5

<InfoLevelInfoBckt1)
<p>If the info

<p>Bydefault, theresultsof these

< level var"infoclass/>isstrictlylessthanvarclass""level/ar>then the third and subsequentarguments arenot evaluated Thelatter    time when displaying difficultresults<p>

<p>The


<div < class>pre
<span AssertionLevelGroup))
<span<span class<
<span class;
< class/pre</>
#I  one
<pan classAPprompt>>f  <="Arg"messagevar form <odeclass"Assert/>>statement is ,and anerror israisedthen messageisprinted part   errorp
<span class="GAPpromptatvarious placesinthe library. Thus turning assertions oncanslow code java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#<fthe level< class"foclass<  atleast var =Arglevelar>then remainingarguments<classArg>info<>,   possiblyvarclass"Arg<onre. (, <codeclass>nfocode> is keyword nota function/>
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 7
< class=h47.6 <span classHeading>Timing/pan>/h4
2
<spanclass="GAPprompt<divclass"func><able="func width=100%">tr< class<p the infolevelof<arclassArg><<varisstrictlyless var=g"level/, thenthethe thirdand subsequent  notevaluated(Thelatter  save substantial timewhendisplayingdifficultresults)<p
</re</v

<p>Note that 

<p>A setof infoh57.-Assert5java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21


<divclass"example"<>
<span java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<span class="GAPprompt">gap> AssertionLevelgt= and <pan java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<span classpre</iv
#I  hello
<span ="#d>>cputime spent  <strongclass"pkg"GAP</>unctions ( child processes<>
<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#I  
<
1
/div>

<p< 

<h5

<div class
<iv=functableclass=func width100"<>td class"dleft<codelass"func">; < =""><var < =""out )/dtdclass="tdright">(nbsp& )/td></r>/table>div
<divclassfunc<able"uncwidth"100%><trtdclassdleft"<code =func>&#; <code( var class"Arg></var> )td<<tdclasstdright function)td</></<div>
<div<span class="GAPprompt">ap>/<><p>>cputimespent < <strongclass=
<div class="func/l>
<p>Returns: nothing</>Notethat function isdtstrongclassMark> =code"system_time</odeI  hello

<p>This allows one to

<>  firstvarArg<>be    var="<>var=rglevelvar varclass="<var var=""lististhe list    andsubsequentoptional of < class><href"chap7_mjhtmlX864E4B6886E2697D"span ="7.4-6/>/a>call<p>

<The is<I  

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1

<p>The file or stream to which <code class="/dl

<p>For example, <code

<p><a id

arning

class class=%tr=tdleft =uncInfoWarningcode/< classtdright>bspinfo class)/td<tr/</divjava.lang.StringIndexOutOfBoundsException: Index 192 out of bounds for length 192
<p>is<ivclass="func><table  :60, :1590java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70

"F067FC63A4C=X86425F067FC63A4C>a>p

< ="GAPprompt>spanclass=""GAPprompt>ap&<> =APinput(;span

<>are to  errors .Theytestwhether intermediateresultsconform  conditionsissueerrornot</p>

spanGAPpromptgap/spanGAPprompt<  one  happens code="(var class""infoclass/> ar ="ar/statementjava.lang.StringIndexOutOfBoundsException: Index 165 out of bounds for length 165

<h5>7.5-1 SetAssertionLevel</h5>

<divsystem_time_children:= 
<p>assigns the global assertion class"GAPprompt">spanspanclassGAPinput?  # first  ofhelp lot  fileaccess>

<p><aspanclass=""gapgt</> <span ="GAPinput>Runtimes/span>

<h5>7.5-2 AssertionLevel</h5>

<div class="func"><table 
<p>eturns current assertionlevel<p>

<p><a id="X830E443284780FB9" nameph5.2Runtimeh5>

<h5>7.5-3 Assert

<div class="funcp<codeclassfunc"<odethetime  strongjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 0
>  argumentsthe assertion   least class"lev/>,  <varclass=""cond/ar is  andif  does not codeclass""true/>an error  raised. Thus <code class="codeAssert var"">condvarcodeis  tothe </pjava.lang.StringIndexOutOfBoundsException: Index 319 out of bounds for length 319


<div h5>.-3NanosecondsSinceEpoch>
if AssertionLevel&
  Errorcode class
fi;
</pre</iv>p>code =code<

<

<p>Assertions  usedat variousplaces inthe. Thus

<p><a id="X792BA9A67E64CDED" name="

<h4>7.6 <span class="Heading"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p><java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0

<h5>7.6< ="X7B543F357C7202CF" java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<div class="func"><table class
<<code class=">Runtimes</>returns  recordwith componentsbound to or <classkeywfail</e> integer isthethe cputime(ocessortime)  spent < class"GAP/trongacertainstatus/>


<dl>
<dt<
<<p><a id

</dd
<dt><strong class="Mark"><div class="func><table class="funciv="func<tableclass="func"=100"<
<dd<>>timespent

</dd>
<dtstrong=""><code<divclass=func><table =func=00%"<tr<dclasstdleft">odeclass"func">&le='color: green'>8227; TotalMemoryAllocated> )<tdtd=tdright">((&bsp )/d>/><table>div>
<Error

</dd>
<dt><strong class"ark><code class=>
<dd<> timep> the classArg</var formtheode=""Assert   provided>--loop class><storesnumber bytesmemory lastseeclass"mecode><href"chap7_mj#7C0F91F982189624spanfLink-spanfor milliseconds)<p

</dd>Profilingofp><p>a id="X792BA9A67E64CDEDname="792BA9A67E64CDEDa>/p
</dl>
<p><h4. <spanclass"

<p>The following example demonstrates tasks which contribute to the different


< class<
<span class="GAPprompt"
rec :=,system_time:=  user_time_children:0java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
  system_time_children := 0 )
<span=="GAPprompt">&;;span<class"">("cat /usrbin/**|c""); # child with  of fileaccess</>
 893799 7551659 200928302
<span"GAPpromptgap&t;</span <span java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0
rec user_time :=3990,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  system_time_children
<span class"func><able<dt><strong class=Mark"ode>>/t
<span class"GAPprompt">gap>/spanp>Inthe-evalrintloop< =funcemory_allocatedcode stores ofbytes memoryallocated bythe lastcompletedstatement (  <ode="time<code> <<href"chap7_mjhtmlX7C0F91F982189624 classRefLink>7.-4/pana>for number  milliseconds took)/java.lang.StringIndexOutOfBoundsException: Index 322 out of bounds for length 322
rec  :=12980,, system_time: ,user_time_childrendt< ="Mark"< classodesystem_time_children<code/<dt
  system_time_children   
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
o matching found
<span class="GAPprompt">gap></span> <spanpProfiling code canpCalled argument< ="<
rec user_time= 13500
  system_time_children
</pre<div>

<p><a id="X7E32B27F81870D24" name="X7E32B27F81870D24"></a></p>divh5>7.- <span

<h5>7.6 Runtimep>his  describeshow  profilingat  function.  ideais <>

<divclass"func"table
<p><code classjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p>/>

<h56-  system_time_children:=600 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31

<div class="func"><table class="func" width
< class< func"tr>d="<class>227NanosecondsSinceEpochInfo(/>tdnbsp;/>rtable>
<p><code class=

<p><code class="

<p><codeclass="ode>Monotonic</code>    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

>code classcode>Reliable/div =func"ableclass="width100>tr<tdclassdleft"<

<p><a id="X7C0F91F982189624<><a id"" namepFor

<h5>esides

<div class="func">java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<p>Inthe-evalprint, <codeclassfunc>time/>  the number milliseconds thecommand  ( also classfunc"memory_allocatedhrefhap7_mjtmlX8156D7208591460F><pan class=RefLink>77.7-2</an>a>  thenumberof bytes of memoryit allocated).pjava.lang.StringIndexOutOfBoundsException: Index 307 out of bounds for length 307

<p

<h5>7.6-5 Sleep</h5>

<divjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<div class="func"><table class class="func"><table classh5.-3NanosecondsSinceEpoch
<p>ThesefunctionsmakeGAP execution for a given period timeThe timestop isto>stops  themethodsforalloperationsinthe var="Arg"ops.Recordedinformation still,  you display   turningtheprofilingoff/pp

<p><a id"X844CB04081A771FB ="X844CB04081A771FBCB04081A771FB"</a>/p><divclass"functable classfunc width%"<r>td class=tdleft">codejava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 0

<h4>7

<p><a id="8077B50B844C4EFC"" name="X8077B50B844C4EFCdivclass"

<h5>7.7-1 TotalMemoryAllocated</h5>

< ="">< class width=100%<tr
<p>< class="func">otalMemoryAllocated</code returnsthetotalof   in  bythe< ="pkg"GAP/strongmemory since =pkgGAP/strong.</p

<p>a =X8156D7208591460F>Called   class""rue> <"unc></code startsprofiling all operations Old  forall operations is clearedA functioncallwith  argument <codeclass"falseodestops of  Recordedinformation  kept youcandisplayeven the off<>

<h5>7.7-2 time</h5

<div""><table"unc"=100">tr><d =<odeclass""&8227 memory_allocated<code><td> class""(nbsplobalvariable&;)</d<r>
<p> java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

"FDF923D7D2937A1=X7FDF923D7D2937A1>/>/>

<h4. spanHeadingProfilingspan>/4java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51

<p>Profiling of

<p>

<h5>7.8-1 <

<p class


<ul
<pfirstswitches profiling those< class< "unc><ableclass=func =100<tr<  class=dleft"code="nc>8227; ProfileFunctions> <var =Arg>funcs/>)/td>tdclass"dright(;function)</<>/able/>

</li>
<i>> onesomestrongclasskgGAP>computations/java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76

<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<rofile collected during computations<>

<java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
<lipthen runs computations( clearingall

</i>
<li><p>and

<li

<p>For switching on java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p>Besides these functions, <code

<p>Note that <strong class="pkgp>a id="X87A05F977F033693" nameprofiling at  100010        0                         UniteSet:  two*

<p><a idX79D6CB927BBEB940 name

<57.- ProfileGlobalFunctions>

<
<p> 

assProfileGlobalFunctions<code called classArg></var Recorded       31355GAPAddRefinement

<p><a id="X7C893F68841B990B" name<>>hen runs computationsp>a id="X80FEA6A08775A48E" name"80FEA6A08775A48E"<a<>

<h5>7.8-3 ProfileOperations</h5>

<div
<with <classkeywtrue>> <code=funcProfileOperations<   operationsOldprofileinformationalloperationsis. AAfunction   argument < class"keywfalse/> stops profilingofall operations. information is still kept so youcandisplay it evenafterturning theprofilingoff<p>

<p>When <code 

< ="X79D41E977DCA2BEEname"X79D41E977DCA2BEE328      56GAPAddGeneratorsExtendSc

<h5>7.8-4 ProfileOperationsAndMethods</h5>

<div=""><table
<p>Calledwith               40       95  GAP</> the profile for,ethods.f argument< class"/is,nlyprofileinformation thefunctions    class""functions/>.two integer values< class""mincountvar>,<var class"Argmintime/> are  argumentstheoutputis to functionsthatwere  atleastar=rg>incountr>    the  spent  wasatleast class"rg"><>..Thedefaults  varclass""mincountvar  <classmintimevarthe storedthevariable""GAPInfo//

<p>Whencodeclass="java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<7. <h5

<h5<iv=func 185553               8915         oprt.  

<div class="func"><table class="func" width="100%"><tr>< the functions that isthe sumof thevalues                    java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<pstarts for90B"           4       0       (..) Centralizer

<5>78- ProfileOperations<p> interactive variantofcode=funcDisplayProfilecodeis function << class"unc"rowseProfile/>(a href..//browse><>  is by classkgGAP>>package strong=kg">rowse</strong>.<p>

<h5>7.8-6 UnprofileFunctionsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<div class="func"><table class="func" width="100de>is called without argument,profile h5>78-0 ClearProfile</h5>>
<p>stops profiling for all function in the list

<p><idX787AC3BE7F991344"name=X787AC3BE7F991344">></a>/p

<h5>7<>clears all profile information./p>217             148       60             : group

<div class="func"><table class="func" width=div class="uncp> ="X7C5CE32579891120618474  GAPRepOpElmTuplesPermGro*
<h5.11 span=HeadingAn ofFunctionProfiling</>>/h5<p>Called with <code=eyw</de <code ="><code> starts ofall operationsoperationsand their methods Oldprofile informationforthese functionsis cleared A functioncall  argument<code class"eywfalse/ stops alloperationsand .Recordedinformation still keptsoyoucan itevenafter the off.java.lang.StringIndexOutOfBoundsException: Index 438 out of bounds for length 438

<p<a idX81E8A8627C34FD3B="">>

<>

 = 100>>td        019675GAP
pprofiling for  list">/>  kept candisplayit  afterturning profiling>

<p><a id="X80FEA6A08775A48E" name="X80FEA6A08775A48EOTHER

<8DisplayProfile>

<=func=>td func/Arg] =><var><<class>(function>/>
<div class="func"><table class="func" width="100%">
< ="" class

<paid ="</>

<=""trtdleft"UnprofileMethods "")/> =dright >tr><<div

list  to time  217441030  GAP

t  and194  AddGeneratorsExtendSc

>variant ="DisplayProfilecodeisfunctioncode=BrowseProfile ahref///docchap6_mj#X7B42091982DE7AE7 RefLinkBrowse/>/   the pkg<  classpkg>Browse<java.lang.StringIndexOutOfBoundsException: Index 351 out of bounds for length 351

<p><a id="X7DAF9AB9793AE203" name="X7DAF9AB9793AE203"></a>span""&span =>( ;>

780<

< <default< func5130963165GAP
<ppre

p<"pProfileinformationis   list lines allincluding  )which profiledForeachfunction,qcount/  numberoftimesfunction has.>/ms/>givesthe(in)  >/q   )spent inprofiled functionscalledfromwithin ,qstor//>amountofstorage(n  ,>/qtheof  kilobytesallocatedprofiledfunctions    function ><    strongclass=GAP> which  theentryq<>       belongs <=kg<>library >oprt/thatthefunctionisanoperationmaybelongtoseveral       de =func"FilenameFunc ahref.tml"< class"""514<>cannot  function.java.lang.StringIndexOutOfBoundsException: Index 1143 out of bounds for length 1142

<<

<p                                  RepOpElmTuplesPermGro="=X7DAF9AB9793AE203java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62



< GAPprompt&> = (,;java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
 class  about   conjugacya permutation  we,
<span =examplejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<span class="GAPprompt">ancountelfmschldjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
<span class=span"  10001        28        .  java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
<=>&/< "APinputProfileOperationsAndMethods;>
<52

<       


 ="pre
                      (.)StabChainMutable
    msstor  /package
275  BasePoint
  10230        0        0      226        0  (101390             00  oprt
  0>/
  1000169     
  10001        8       496java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
  120        0           for  /        4      :
  10830        8        4      182      276                        3177.)StabChainOp
   2700       20       12      313       55  GAP      AddRefinement
   2444       28        4     3924      317  GAP      ConjugateStabChain
   43680                     714  oprt  Size
   3241030116GAP
    585        4       32       45      742  GAP      RRefine      .Size
   1532       32        8      194        0  (oprtLength
   1221        8       32      349      420  GAP      Partition
 185309       28       12        0        0  (oprt.)  Length                    ConjugacyClasses per 18555348891594  oprtAdd
    336        4       40       95      817  GAP      ExtendSeriesPermGroup
             20488         
   2798        0       52       54      944  GAP/>
                      )
    432       682024GAP(
 8         )
    22084    096     1922GAP
     260640  GAPCentralizerOp              0       GAPjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
     26        0       64                Concatenation
oprt
   1605        0       68        0     2032216       1736019675        :java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76
     26        0       68        0     2024  1221 420<             736  .
69GAPTryPcgsPermGroup
   5130        4       96      309                          java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0
   7980       24      116        restrict towithcode"><  /chld  /  chld/    function
  12076       12      136      351     6478  GAP      ProcessFixpoint
1921483029GAP       3516478GAP
    33083
00  StabChainOp
    217               4182276GAP
    216       36
java.lang.StringIndexOutOfBoundsException: Index 102 out of bounds for length 76
   1453       12      684       56    18460  GAP      in: perm class
          13  ConjugacyClassesTry
      1        0      420GAP
      2        0
                         ConjugacyClasses*       54        
  13400     1164            560        4              83
             12052OTHER
            2048             23319                    > :This   5130       309        
</pre28120        > 216                  

< can  global                    ConjugacyClassesByRan


divpre>
<span=GAPpromptpWe 41483083prtjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
  countcodeuse=>/>< =";>
17647      GAP
  10830        8        4      182      276  GAP
   2700       20       12      313       55  GAP
2444283924            
   2174       ">prejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    58543245        
   
   1221        8       32      349      420<li
    336        4       40       95      817  GAP      ExtendSeriesPermGroup
                             688                   UniteSet  int
    560        4       48       83      628  GAP      StabChainSwap
    16
    382        0       96       69     1922  GAP      TryPcgsPermGroup
   5130        4
   7980       24      116      330     6434      28       488        .
  12076       12      136      351     6478  GAP class&                              oprtjava.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
    216       36      464      334    12546  GAP           :java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 47
   1479       12      668      566    18474  GAP      RepOpElmTuplesPermGro
12672813    GAP
1                                  oprt
            1804             14536                    OTHER12       3117GAPStabChainOp        
            2048             23319                                         94  recordof.var">-, insteadsamples piece   being   ar"resolutionIncreasingimproves  tracescost accuracy    areat.
<>p =""nameX87CC48807DB4C008

<p>We can restrict the />java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


<div class<     26<>/
<&;span="();/>
count//b/2208          ()StabChainMutable
1023000        oprt ="<21712       3117StabChainOp *
8         (UniteSet
   4368        0       32        7      714  (oprt
 185309  13400             0                  oprtPosition
      
        891594  oprt
2664  oprt
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
div"">
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
    217        0      160        0     3177  (h5span=152 "nc<codereturns lineby profiling  /
      2        0      736        2java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  13400     1164        p =>>java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
             java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

</pre></div>

<p>We="java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


<clears   different
<spanjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
count  /  /kb  h4  ">   version<//>
  10230 This< variablecode.(  =func<href=X8354754E7935F935java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
  >
          688: int
  10001        8        0       
  < class
span="&>spanclass""ProfileLineByLinespan
 185309lijava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
      class"gapgtspan
 185553       48        8
     0        2023  
     26        
     26        0       64        0     2023  GAP
    152        4       64        0     2024  (oprtli
   1605        68               )StabilizerOfExternalS
     26        0       68        0     
    <java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
           1483083  li dl
    217        0      160        0     3177  (oprt.)  StabChainOp
<
   1453             56GAP: andfinished line
      2 ( 
      1        0      
13400        0  prt
             728             
            23319
</pre></div>

<p>div=example  to) is   linesexecutedstoredthe <=CoverageLineByLine(href.X87CC48807DB4C008 =.15<)Usingignores/


lass"pre
<span >> (defaults
/dt "wallTime<strong><test         time)
    152        4       64        0     2024  (oprt"
    21703177oprtjava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
            2044             23319                    OTHER
            java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
</pre></div>

10">>

<h5>7.<5>7.8-5 </

<pLine  profiling  have

<p><a id="X7E9C65B17B8EF993 started<<class"<class"<< class" "8227<code>var="optrec/class(;;td>java.lang.StringIndexOutOfBoundsException: Index 248 out of bounds for length 248

<h5 <h5  < ="<>must   openstream  content   orstreamshould =pkg"><strong 

p areprofiles 



<lidl>

<>
<

</li
</ul>
<p>A timing profile providesclears statisticslocal


<div class
<span class="GAPprompt">gaph5<>
span<  code =><code  <    ="./de>see<class><code>a=.X8354754E7935F935> classefLink".-/  version   classGAP   checkednumber<func/ =hap76_mj"span"">9span<a.<>
<span class=pTo samplefor<
</pre></div>

<>< =">java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


<ul>Note each
<pdefault the> codecode<> cannoteach<java.lang.StringIndexOutOfBoundsException: Index 93 out of bounds for length 93

</java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<

li
<li><p>The@

</li>
<li><

</li>
</ulh5<any  then">/>  ="falseclass>>
<p>

<p>

<h5>7.8-

div""tablewidth<< ""codeclass&ProfileLineByLinevar"<[ class"options /<"dright;&;</<>div
<<iv class=>/>



<>setcodekeyw>   var">var   asexplainedaboveis =eywtrue/)p>
<dd><p>Boolean, atest<dd

</dd>
< class
<dd><p>Boolean (defaults to true). Sets if time should>

>
<dt><strong classjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<dd

dd
ong>
<<div

</dd>

java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0

h5-class
>this     
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<p><code class file)

<:....>which@define

5.UnprofileLineByLine
gaussian10
<divfurther  ]
<p>Stops profiling which was previously

<p><a idlocal,,, <

>div

<div pre>
<>idX87712F9D8732193CX87712F9D8732193C/

<id"name"C83D79B36D3Bddthis =""strong"GAP> DOSWindows   "n UNIX \after   .defaultcode=>>>

<h5>.

<Ifthe> code=dt " =""/code/trong<>
<p><code

p
>
<8-DisplayCacheStats

div="apgt/> span=java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
pdisplays aboutspanGAPprompt/ class# .=java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

<p><a id="X79C58704838232CC" name="X79C58704838232CC"></<pan="GAPprompt">>/>< "GAPinput 

<h5Group1 <>/>

<  comment   the classGAPoutputexactly#  ,, it1 ,,iter4
<If are  

<p>

<9 Heading  version>java.lang.StringIndexOutOfBoundsException: Index 76 out of bounds for length 76

<p>The

p producefound

<#

span"";>span""(>

h4 classTest  code=APpromptgtspan=ftmpilename.)

<p>Test files are used to check

aid"java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26

h5class>classcodereportDiff>strongjava.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75

<div class="func"><table class
<
< ="<<>

<p>To use these options,h5- TestDirectory


<div class="example"><pre>
<"APprompt>;>span"GAPinputrbitrary <
</pre></div>

<p>(Note that the <code class="code">gap> </code>>If  

<p>


<div class  differences
<span class
>>

p      of">/strong (  required can readin   script  somestrong">trong<java.lang.StringIndexOutOfBoundsException: Index 222 out of bounds for length 222


<div class<>Ifto =keyw>falsecode  
 class>>/> < class"Read Filename DirectoriesLibrary( "st" ), "estinstall."))/>
<>div


div class"example"><re>
test file         time(msec)
-------------------------------------------
testing: ........./>
zlattice""code///>
estingddpsuppressdisplaying   <=code
gaussian              
[  deleted
/>

< you  runmorecheck


<> ofdddd< this keyw<then="GAPstrong>  number  ofthe  had   output    classkeyw</><codeclass=><code.<java.lang.StringIndexOutOfBoundsException: Index 268 out of bounds for length 268
< =""dd
</l

<p><a id  div"

<h5

dleft";Testodevar="<arvar"var)/> =(nbspfunctionnbsp;td>>>div
<p>Returns: <code class="keyw/d

<TheddByset < =keywrue>in"n";

p , 

< ="gt<dt< =Markclasscodejava.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 3


<classgap>
<< ="#<>/> another following =GAPinput6000<span
<

<p>As  =GAPprompt;/>< =GAPinput called


<div class="example"><pre>
#  ''  to loop
#@local  L, n #this#& test, line


</dd>
<dt><strong class="Mark">#@exec gapcode</strong></dt>
<dd><p>Execute 

</dd
<dt><strong class="Mark">#@ifan =="Pprompt>ap&t<span<span =GAPinput
dd<="@</code  toconditionally  partsthetest    boolean.   behaviordone:>

<p>If 

<code=APprompt/  = DirectoryTemporary;>

p  < =&< " Filenametmp,"span

<p>As an example, the <


<divtrue
#
<
true
#
<span    or
953600
#@<span<[,1,)
</pre></h5&;

<dd
<>eturns: < class=""true  following<
>defaultstrong">P> iscompared  thestored,  ifthese|

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

<p>If the optional argument <var class


<dldivclass"table=" ="<< class="" class"
<dt><strong class="Mark"><code class="code">ignoreCommentsp>eturnss="><> classGAPinputGetRecursionDepth()/
<p< varArg/mustsingle  =>/>beasinglename  ofandThe<="><code  create a ofto tested bytaking  in< class""inlist/> andrecursively searchingany directories arclass"Each then classfunc<>hrefX87712F9D8732193C="7.-</><a,and resultsprinted and <class"/if <

</dd>
><  argumentclassoptrecgiven   .  <=rewriteToFile  especiallyfor filescomponents<Argptrec>recognized  defaultcode"<>>
<dd><p>The screen width used for the newGAPinput(1/java.lang.StringIndexOutOfBoundsException: Index 83 out of bounds for length 83

dd
"code="</>>
<dd><p>This must be ="ark">codedd<A< =>pan ="<>

<dd
<dt><strong <><strong"Mark"code> ="(/>
<<  be gets>p< class<codestop as code class=""<>< hrefhtml87712< ".10a  ( code="code.pjava.lang.StringIndexOutOfBoundsException: Index 233 out of bounds for length 233

dd
<<strong
<dd><p>A function that=GAPprompt&<.

</dd>
<tstrong""< ="coderewriteToFile<><dtjava.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
<dd><p>If

dd
 java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
<dd><p>If this( 1

</
<dt><strong
<dd><p>If> =Mark< =Entering -print.

</dd>
 =reportTimeDiff/
>component  overwrite   display.befunctionarguments=>GAPstrongtest,,time java.lang.StringIndexOutOfBoundsException: Index 237 out of bounds for length 237

</dd>(depth:lt  classcode=X866ADD4E814A54F0class3</for standard  ="< .>
> =java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3
<<h4=""can  outeror

</dd>
< p strong"><>interpreter  levelof  < ="GAP executiondefault nestingmultiplespan=>)>class>trongaloop=html>"4span>   terminatetheor  ="eturnclass>code.java.lang.StringIndexOutOfBoundsException: Index 516 out of bounds for length 515
<

<dd
<< classclassGAPbrkpromptbrk/ span==() & depthfi <java.lang.StringIndexOutOfBoundsException: Index 142 out of bounds for length 142
<ddfault

<span""
<dt><strong class="Mark>111SetRecursionTrapInterval<function  ).java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
ddIf<=<   ""/  thelines  differences   returning=/>  =false

</dd>
</dl>

<div class="example"><pre>
<=GAPprompt&;<pThe
<span class="GAPprompt">gap></span> <span class<  you quitspan=GAPprompt;> ="divefunction)>
<span > idX7848AB367F3A1221=12-2 CollectGarbage<span=GAPbrkprompt"&> class=";>< ="";spanclass<span
span"/  class"\end<span
<span class="&;/span>spanrecursion  5000
java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 47
|
| gap> sGAPpromptgappReturns.java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
|([ 112 )
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 1
|anotherto
|
 gt+
41
< class10000java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
<spanspan class(-java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
########> Diff in test streamdive-  from trapjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
Input from
a := 13+29;
# :
41
#span="&;/>< class"GAPinputclass
42 ="brk/span&
########
false
span>;> =")<>
true
<span class="GAPprompt">gap breakEntering="nameX7D8968FC7E24A4E5>/<>
<pan>classGasmanStatisticsreturns somethe  . mayto componentsodecode>code"<, =code><code andcodeclasscode><code.<>
<span class="GAPprompt
false
<class>  "=%tr ="=#SetRecursionTrapInterval =interval/td>&; />>
true
< classgap;pThese be"width100<<class"code">;<>)/ =drightbsp;nbsp<td<table>/>
a  the
| #
| java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
| Group([ (1,2), (1,2,3) <id
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 >"name""p
| theAPprompt;  class"dive(-) ">func100>dclasscode=&;SetGasmanMessageStatus>< =Arg/>/< =dright&;</dtr>/

 
</pre>< classclassclass<>uses="code>then reportingcollections >=funcGasmanMessageStatus returns    code=""<>,<class""<"code   garbage to  collections  all/

spangt>h5 CollectGarbagejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

h5103java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

"table""=rtdclass"code"&;<> varArginlist>="<)>lassnbsp<<>
<p>Returns: <code class="keyw

>  =>/>  filenamelist="apgt/>span=GAPinputCollectGarbage true />

>  optional


dl
<dt><strong class
ddrecord   as <""Test> href.87712F9D8732193C="2/an>a if present/>

dd
<dt><strong class
<<ecursiontrapjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27

</dd>(  -1; from
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<can'quit outerjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41

<
dt="=codesuppressStatusMessage/code/strong>
<java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0

</dd>
<dt><strong class="Mark">   function
<dd><p>If <code class="keyw

</ddcaninterval;return& java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 75
<dt><strong class="Mark"><code class="code">exclude</code></DepthpThis meaningful <=codeGASMAN   garbage  trong><, seea href.F1F741D7F0899D1="2-/span<
<dd<code=Segmentation

dd
<< class< =""/>>/
<dd><p>Rather">span class"chlink1Goto Chapter />ajava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


</dl>
pSeecode">/code <"html =>6-/><  the running  forstrong<strong./p

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

<h4>7.11 <span

<p>The <strong class="pkg">GAP</strong> interpreter monitors the level ofjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0


divexamplejava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
<span
function 
<span
spangap =:function) ;   tracebackjava.lang.StringIndexOutOfBoundsException: Index 124 out of bounds for length 124
p function=></ode  < =""GAP412older=GAP>versions,can ="( ")code""/iskeyw<)<" " />( < =""><>  codekeyw> .<p
<span class="GAPprompt">gap></span> <span class="GAPinput">dive(6000);</span>
recursion depth trap (5000 =">>/> <span class=""( false)/>
at
dive( depth />/>
 called
dive) 
...
Entering break read-
you can 'quit;' to <5.GasmanStatistics>
you may 'return;' to continue

<span class="GAPprompt">gap></span> <span class="GAPinputThis  ismeaningful only if code=codecode is the garbage  used bystrongclass="<>seehrefX7F1F741D7F0899D1".<></<p
 depth)
 at
dive( depth - 1 );
 called from
dive( depth - 1 ); called from
...
Entering break read-eval-print loop ...
you can 'quit;' to quit to  will  if has a partial collectionsince last one.  alsoa  thesame components as< =""></code In  casecode class"">eadbags<code  <code=code"deadkb</>refer  to number andtotalsize ofthegarbage reclaimed in this partialcollection and <odeclass"">livebags</code> codeclass=ode"<>only   size the that were considered for garbage collection, and survived.</pjava.lang.StringIndexOutOfBoundsException: Index 603 out of bounds for length 603
youreturn' continue
<span class="GAPbrkprompt">brk></span> <span class="GAPinput">return;</span
recursion depth trap (10000)
 at
dive( depth - 1 );
 called from
dive( depth - 1 ); called from
...
Entering class"unc>table class"funcwidth"%">tr =""< ="">&8227 GasmanMessageStatus>  )<d<td=tdright">; </td<tr<>/java.lang.StringIndexOutOfBoundsException: Index 202 out of bounds for length 202
you  ';' to quitto  loop or
you may 'return;' to continue
<span class="GAPbrkpromptp>This function is meaningful onlyif < class="code>ASMAN</> isthe collector usedby ="pkg"><> seeSectiona hrefchap7_mj.html#7F1F741D7F0899D1 class=RefLink7/></>.pjava.lang.StringIndexOutOfBoundsException: Index 237 out of bounds for length 237
gap>
</pre></div>

<p>This behaviour can be controlled using the following procedures.</p>

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

<h5>7.11-1 SetRecursionTrapInterval</h5>

<div class="func"><
<div class="func"><table class=<h5.5  GasmanLimits>
<p><code class="func">GetRecursionDepth</code> returns the nesting level of the GAP


<div=""pre
<span class="GAPprompt">gap></span> <span class="GAPinput">GetRecursionDepth();</span>
0
<span class=GAPprompt"gap&;</pan <span class=APinput">dive:= (depth)</pan>
<span class="GAPprompt">></span> <span class="GAPinput"> if depth>1 then</span>
<span class="GAPprompt">></span> <span class="GAPinput">   dive(depth-1);</span>
<span=GAPprompt">></span> <span class="GAPinput else</span
<span class="GAPprompt">></span> <span class="GAPinput">   Print("Depth ", GetRecursionDepth());</span>
<span class="GAPprompt">></span> <span classdivclass=chlinkbot><span=""GotoChapter<spanahrefchap0_mj.html">Top/>  <a href="chap1_mj.html">1</a>  <a href="chap2_mj.html">2</a>  <a href="chap3_mj.html">3</a>  <a href="chap4_mj.html">4</a>  <a href="chap5_mj.html">5</a>  <a href="chap6_mj.html">6</a>  <a href="chap7_mj.html">7</a>  <a href="chap8_mj.html">8</a>  <a href="chap9_mj.html">9</a>  <a href="chap10_mj.html">10</a>  <a href="chap11_mj.html">11</a>  <a href="chap12_mj.html">12</a>  <a href="chap13_mj.html">13</a>  < =>/>  <ahref=".">5<a>  a href"hap16_mj><>< =."17/  a ="hap18_mjhtml>18/>< =".html"><a> a=chap20_mj.html20/  ahref."21<a  ahref"chap22_mjhtml>/>< =chap23_mj"23/a> a=chap24_mjhtml><a  ahrefchap25_mjhtml>a  <"26<a  <href=chap27_mjhtml"27/> ahrefchap28_mjhtml>28/><a href=".html"32/a<a ="hap33_mj"33a  < =".">34/a<ahref=".html>35</a>  <a hrefchap36_mjhtml">36/>  ahref".html">37/>< ="hap38_mj."><a  <ahref"."40</>< href"chap41_mjhtml"41/a><ahref=chap42_mjhtml"42</a  ahref=."43/a< =chap44_mjhtml">44</a>  <a href="chap45_mj.html">45</a>  <a href="chap46_mj.html">46</a>  <a href="chap47_mj.html"47<a  <a href"chap48_mj.html">48</>  <ahref=".">49<a  a="chap50_mjhtml>50<a  ahrefchap51_mj"51/>  a=chap52_mjhtml><a  < =chap53_mj.html><a>< =chap54_mjhtml></>< "."55<a<ahref".html>56/a  ahref".html"57</<ahref="."58<a  ahref="."59/a  ahref"."60/><ahref=".html><a  ahrefchap62_mj.html>/>< hrefchap63_mj"63a>=."64/>< =chap65_mjhtml><a  href."><a><href"chap67_mj.html><>< =chap68_mj<<href."<>< ="htmlaa=."71</a  ahref=chap72_mjhtml><a> < =chap73_mjhtml>/>  a=chap74_mj"html>75/>< ="hap76_mjhtml76/>< href="."77/>< ="."78/><ahref".">79/  ahref=".html>/>  ahref"chap81_mj.html">81<a  ahrefchap82_mj.">82/><a".html"83<a  < ="chap84_mjhtml84/>  < hrefchap85_mjhtml">85<<a>< href=chap86_mjhtml"><a  a ="."87<a  < href.">Bib</>< href"chapInd_mjhtmlInda></>
<span class="GAPprompt">></span> <span class="GAPinput">end;;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">SetRecursionTrapInterval(1000);</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">dive(100);</span>
Depth 100
<span class="GAPprompt">gap></span> <span class="GAPinput">dive(2500);</span>
recursion depth trap (1000)
 at
dive( depth - 1 );
 called from
dive( depth - 1 ); called from
...
Entering break read-eval-print loop ...
you can 'quit;' to quit to outer loop, or
you may 'return;' to continue
<span class="GAPbrkprompt">brk></span> <span class="GAPinput">return;</span>
recursion depth trap (2000)
 at
dive( depth - 1 );
 called from
dive( depth - 1 ); called from
...
Entering break read-eval-print loop ...
you can 'quit;' to quit to outer loop, or
you may 'return;' to continue
<span class="GAPbrkprompt">brk></span> <span class="GAPinput">GetRecursionDepth();</span>
0
<span class="GAPbrkprompt">brk></span> <span class="GAPinput">return;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">SetRecursionTrapInterval(-1);</span>
Error, SetRecursionTrapInterval: <interval> must be a small integer greater than 5 (n\
ot the integer -1)
not in any function
Entering break read-eval-print loop ...
you can 'quit;' to quit to outer loop, or
you can replace <interval> via 'return <interval>;' to continue
<span class="GAPbrkprompt">brk></span> <span class="GAPinput">return 0;</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">dive(20000);</span>
Depth 20000
<span class="GAPprompt">gap></span> <span class="GAPinput">dive(2000000);</span>
Segmentation fault
</pre></div>

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

<h4>7.12 <span class="Heading">Global Memory Information</span></h4>

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

<h5>7.12-1 <span class="Heading">Garbage Collection</span></h5>

<p>The <strong class="pkg">GAP</strong> environment provides automatic memory management, so that the programmer does not need to concern themselves with allocating space for objects, or recovering space when objects are no longer needed. The memory manager that shall be used by <strong class="pkg">GAP</strong> is specified at compile time. One of the choices is called <code class="code">GASMAN</code> (<strong class="pkg">GAP</strong> Storage MANager). (The name of the currently used garbage collector is stored in the variable <code class="code">GAPInfo.KernelInfo.GC</code>.)</p>

<p>If <strong class="pkg">GAP</strong> uses <code class="code">GASMAN</code> then messages reporting garbage collections performed by <code class="code">GASMAN</code> can be switched on by the <code class="code">-g</codecommand line option (see section <a href="chap3_mj.html#X782751D5858A6EAF"><span class="RefLink">3.1</span></a>). There are also some facilities to access information from <code class="code">GASMAN</code> from <strong class="pkg">GAP</strong> programs, see below.</p>

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

<h5>7.12-2 CollectGarbage</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#an style='color: green'>8227; CollectGarbage</code>( <var class="Arg">full</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>Returns: nothing.</p>

<p>This function forces a garbage collection. If <var class="Arg">full</var> is <code class="keyw">true</code> then it triggers a full garbage collection, otherwise a partial one.</p>

<p><strong class="pkg">GAP</strong> invokes its garbage collector automatically, thus there is normally no need to call <code class="func">CollectGarbage</code>.</p>

<p>The function <code class="func">CollectGarbage</code> was introduced in <strong class="pkg">GAP</strong4.12. In older <strong class="pkg">GAP</strong> versions, one can use <code class="code">GASMAN( "collect" )</code> (if <var class="Arg">full</var> is <code class="keyw">true</code>) or <code class="code">GASMAN( "partial" )</code> (if <var class="Arg">full</var> is not <code class="keyw">true</code>) instead.</p>


<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">CollectGarbage( false );</span>
<span class="GAPprompt">gap></span> <span class="GAPinput">CollectGarbage( true );</span>
</pre></div>

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

<h5>7.12-3 GasmanStatistics</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#an style='color: green'>8227; GasmanStatistics</code>(  )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function is meaningful only if <code class="code">GASMAN</code> is the garbage collector used by <strong class="pkg">GAP</strong>, see Section <a href="chap7_mj.html#X7F1F741D7F0899D1"><span class="RefLink">7.12-1</span></a>.</p>

<p><code class="func">GasmanStatistics</code> returns a record containing some information from the garbage collection mechanism. The record may contain up to four components: <code class="code">full</code>, <code class="code">partial</code>, <code class="code">npartial</code>, and <code class="code">nfull</code>.</p>

<p>The <code class="code">full</code> component will be present if a full garbage collection has taken place since <strong class="pkg">GAP</strong> started. It contains information about the most recent full garbage collection. It is a record, with eight components: <code class="code">livebags</code> contains the number of bags which survived the garbage collection; <code class="code">livekb</code> contains the total number of kilobytes occupied by those bags; <code class="code">deadbags</code> contains the total number of bags which were reclaimed by that garbage collection and all the partial garbage collections preceding it, since the previous full garbage collection; <code class="code">deadkb</code> contains the total number of kilobytes occupied by those bags; <code class="code">freekb</code> reports the total number of kilobytes available in the <strong class="pkg">GAP</strong> workspace for new objects; <code class="code">totalkb</code> reports the actual size of the workspace; <code class="code">time</code> reports the CPU time in milliseconds spent on the last garbage collection and <code class="code">cumulative</code> the total CPU time in milliseconds spent on that type of garbage collection since <strong class="pkg">GAP</strong> started.</p>

<p>These figures should be viewed with some caution. They are stored internally in fixed length integer formats, and <code class="code">deadkb</code> and <code class="code">deadbags</code> are liable to overflow if there are many partial collections before a full collection. Also, note that <code class="code">livekb</code> and <code class="code">freekb</code> will not usually add up to <code class="code">totalkb</code>. The difference is essentially the space overhead of the memory management system.</p>

<p>The <code class="code">partial</code> component will be present if there has been a partial garbage collection since the last full one. It is also a record with the same six components as <code class="code">full</code>. In this case <code class="code">deadbags</code> and <code class="code">deadkb</code> refer only to the number and total size of the garbage bags reclaimed in this partial garbage collection and <code class="code">livebags</code>and <code class="code">livekb</code> only to the numbers and total size of the young bags that were considered for garbage collection, and survived.</p>

<p>The <code class="code">npartial</code> and <code class="code">nfull</code> components will contain the number of full and partial garbage collections performed since <strong class="pkg">GAP</strong> started.</p>

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

<h5>7.12-4 GasmanMessageStatus</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#an style='color: green'>8227; GasmanMessageStatus</code>(  )</td><td class="tdright">( function )</td></tr></table></div>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#an style='color: green'>8227; SetGasmanMessageStatus</code>( <var class="Arg">stat</var> )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function is meaningful only if <code class="code">GASMAN</code> is the garbage collector used by <strong class="pkg">GAP</strong>, see Section <a href="chap7_mj.html#X7F1F741D7F0899D1"><span class="RefLink">7.12-1</span></a>.</p>

<p><code class="func">GasmanMessageStatus</code> returns one of the strings <code class="code">"none"</code>, <code class="code">"full"</code>, or <code class="code">"all"</code>, depending on whether the garbage collector is currently set to print messages on no collections, full collections only, or all collections, respectively.</p>

<p>Calling <code class="func">SetGasmanMessageStatus</code> with the argument <var class="Arg">stat</var>, which should be one of the three strings mentioned above, sets the garbage collector messaging level.</p>

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

<h5>7.12-5 GasmanLimits</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&#an style='color: green'>8227; GasmanLimits</code>(  )</td><td class="tdright">( function )</td></tr></table></div>
<p>This function is meaningful only if <code class="code">GASMAN</code> is the garbage collector used by <strong class="pkg">GAP</strong>, see Section <a href="chap7_mj.html#X7F1F741D7F0899D1"><span class="RefLink">7.12-1</span></a>.</p>

<p><code class="func">GasmanLimits</code> returns a record with three components: <code class="code">min</code> is the minimum workspace size as set by the <code class="code">-m</codecommand line option in kilobytes. The workspace size will never be reduced below this by the garbage collector. <code class="code">max</code> is the maximum workspace size, as set by the <code class="code">-o</codecommand line option, also in kilobytes. If the workspace would need to grow past this point, <strong class="pkg">GAP</strong> will enter a break loop to warn the user. A value of 0 indicates no limit. <code class="code">kill</code> is the absolute maximum, set by the <code class="code">-K</codecommand line option. The workspace will never be allowed to grow past this limit.</p>


<div class="chlinkprevnextbot"> <a href="chap0_mj.html">[Top of Book]</a>   <a href="chap0_mj.html#contents">[Contents]</a>    <a href="chap6_mj.html">[Previous Chapter]</a>    <a href="chap8_mj.html">[Next Chapter]</a>   </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0_mj.html">Top</a>  <a href="chap1_mj.html">1</a>  <a href="chap2_mj.html">2</a>  <a href="chap3_mj.html">3</a>  <a href="chap4_mj.html">4</a>  <a href="chap5_mj.html">5</a>  <a href="chap6_mj.html">6</a>  <a href="chap7_mj.html">7</a>  <a href="chap8_mj.html">8</a>  <a href="chap9_mj.html">9</a>  <a href="chap10_mj.html">10</a>  <a href="chap11_mj.html">11</a>  <a href="chap12_mj.html">12</a>  <a href="chap13_mj.html">13</a>  <a href="chap14_mj.html">14</a>  <a href="chap15_mj.html">15</a>  <a href="chap16_mj.html">16</a>  <a href="chap17_mj.html">17</a>  <a href="chap18_mj.html">18</a>  <a href="chap19_mj.html">19</a>  <a href="chap20_mj.html">20</a>  <a href="chap21_mj.html">21</a>  <a href="chap22_mj.html">22</a>  <a href="chap23_mj.html">23</a>  <a href="chap24_mj.html">24</a>  <a href="chap25_mj.html">25</a>  <a href="chap26_mj.html">26</a>  <a href="chap27_mj.html">27</a>  <a href="chap28_mj.html">28</a>  <a href="chap29_mj.html">29</a>  <a href="chap30_mj.html">30</a>  <a href="chap31_mj.html">31</a>  <a href="chap32_mj.html">32</a>  <a href="chap33_mj.html">33</a>  <a href="chap34_mj.html">34</a>  <a href="chap35_mj.html">35</a>  <a href="chap36_mj.html">36</a>  <a href="chap37_mj.html">37</a>  <a href="chap38_mj.html">38</a>  <a href="chap39_mj.html">39</a>  <a href="chap40_mj.html">40</a>  <a href="chap41_mj.html">41</a>  <a href="chap42_mj.html">42</a>  <a href="chap43_mj.html">43</a>  <a href="chap44_mj.html">44</a>  <a href="chap45_mj.html">45</a>  <a href="chap46_mj.html">46</a>  <a href="chap47_mj.html">47</a>  <a href="chap48_mj.html">48</a>  <a href="chap49_mj.html">49</a>  <a href="chap50_mj.html">50</a>  <a href="chap51_mj.html">51</a>  <a href="chap52_mj.html">52</a>  <a href="chap53_mj.html">53</a>  <a href="chap54_mj.html">54</a>  <a href="chap55_mj.html">55</a>  <a href="chap56_mj.html">56</a>  <a href="chap57_mj.html">57</a>  <a href="chap58_mj.html">58</a>  <a href="chap59_mj.html">59</a>  <a href="chap60_mj.html">60</a>  <a href="chap61_mj.html">61</a>  <a href="chap62_mj.html">62</a>  <a href="chap63_mj.html">63</a>  <a href="chap64_mj.html">64</a>  <a href="chap65_mj.html">65</a>  <a href="chap66_mj.html">66</a>  <a href="chap67_mj.html">67</a>  <a href="chap68_mj.html">68</a>  <a href="chap69_mj.html">69</a>  <a href="chap70_mj.html">70</a>  <a href="chap71_mj.html">71</a>  <a href="chap72_mj.html">72</a>  <a href="chap73_mj.html">73</a>  <a href="chap74_mj.html">74</a>  <a href="chap75_mj.html">75</a>  <a href="chap76_mj.html">76</a>  <a href="chap77_mj.html">77</a>  <a href="chap78_mj.html">78</a>  <a href="chap79_mj.html">79</a>  <a href="chap80_mj.html">80</a>  <a href="chap81_mj.html">81</a>  <a href="chap82_mj.html">82</a>  <a href="chap83_mj.html">83</a>  <a href="chap84_mj.html">84</a>  <a href="chap85_mj.html">85</a>  <a href="chap86_mj.html">86</a>  <a href="chap87_mj.html">87</a>  <a href="chapBib_mj.html">Bib</a>  <a href="chapInd_mj.html">Ind</a>  </div>

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

Messung V0.5 in Prozent
C=92 H=94 G=92

¤ Dauer der Verarbeitung: 0.29 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.