the <em >first</em > item specified, and then the item at every <em >step</em
p,given , with parameterlist class"Lcode ,only itemsat positionsin< =" <> .p
<div class="example" ><pre >
<span ="GAPprompt" >gap;</span <span class"GAPinput = List( [1..20], n -> n^5 );;
<span class="GAPprompt" >gap></span > <span class="GAPinput" >PrintSelection( L, [18..20] );</span >
18 : 1889568
19 : 2476099
20 : 3200000
<span class="GAPprompt" >gap></span > <span class="GAPinput" >PrintSelection
2 : 32
1<iv="func" <table class="func" width10%"><> tdleft< "" >#27 PrintSelectioncode (<class">obj,< class=" ">first [, < class=" ">last>] ) tdright>&function</td ><tr /able>
20 : 3200000
<span class="GAPprompt" >gap></span > <span class="GAPinput" >PrintSelection( L, 2, 3, 11 );</span four operations class></>or ="code>rintSelectionFromIterator itemspecifiedand then the atevery <>
2:3java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
5 :3125
8 : 32768
11 : 161051
<span class="GAPprompt" >gap></span > <span class="GAPinput" >s5 := SymmetricGroup( 5 );;</span >
<pan>
30 : (1,5)(3,4)
31 : (1,5,2java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
100 : (1,4,3)
101 : (1,4)(3,5)
<span class="GAPprompt" >gap></span > <span class="GAPinput" >PrintSelection( s5, 1, 30 );</span >
31 : (1,5,2)
61 : (1,2,3)
91 : (1,3,5,2,4)
< classgap</span span =">rintSelection( s5,9 1,3)
9 : (2,5,3)
20 : (2,4)
30:3200java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
42 : (1,5,2,3,4)
p>d>
< 7
<div class="chlinkbot" ><span class="chlink1" >Goto Chapter: </span ><a href="gap> s5 := SymmetricGroup(5);/>
<hr />
<p class=0: 15(,)
</body >
<h>
quality 99%
<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 >
quality 99%
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet)
¤
*© Formatika GbR, Deutschland