Debian Codegraph @

dwtools/manual_Permutation.cpp

raw symbols SCIP
1 /* manual_Permutation.cpp
2 *
3 * Copyright (C) 2005-2025 David Weenink
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 /*
20 20050709 djmw
21 */
22
23 #include "ManPagesM.h"cxx . . $ `<file>/sys/ManPagesM.h`/
24
25 void manual_Permutation_initcxx . . $ manual_Permutation_init(e57bd08652fa63a5). (ManPagescxx . . $ ManPages# me);
26 void manual_Permutation_initcxx . . $ manual_Permutation_init(e57bd08652fa63a5). (ManPagescxx . . $ ManPages# me)
27 {
28 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"natural sort order", U"djmw", 20221023)
29 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Natural sort order uses the following rules to sort strings: ")
30 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"1. The space character sorts before numbers; numbers sort before non-numbers. Example: \n"
31 "' 5' < '5' < 'a'")
32 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"2. Numbers sort in numerical order; leading zeroes and spaces on numbers are ignored, except as a tie-breaker "
33 "for numbers that have the same numerical value like ' 5' < ' 5 ' < '5' < '05' < '005'")
34 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"3. Non-numbers sort in the asciibetical order ('Z' before 'a'), like "
35 "'A' < 'B' ... < 'Z' < 'a' ... 'z'")
36 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"##Examples#")
37 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U" 1. The alphabetically sorted 'd1', 'd10', 'd11', 'd2' in natural sort order: 'd1', 'd2', 'd10', 'd11'.")
38 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U" 2. Example from https://github.com/sourcefrog/natsort/blob/master/example-out.txt. The alphabetically "
39 "sorted list of the following 29 strings '1-02', '1-2', '1-20', '10-20', 'fred', 'jane', 'pic 7', 'pic 4 else', "
40 "'pic 5', 'pic 5 ', 'pic 5 something', 'pic 6', 'pic01', 'pic02', 'pic02000', 'pic02a', 'pic05', 'pic100', "
41 "'pic100a', 'pic120', 'pic121', 'pic2', 'pic3', 'pic4', 'tom', 'x2-g8', 'x2-y08', 'x2-y7', 'x8-y8' "
42 "will appear in natural sort order as: ")
43 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"'1-2', '1-02', '1-20', '10-20', 'fred', 'jane', 'pic01', 'pic2', 'pic02', 'pic02a', 'pic3', 'pic4', 'pic 4 else', "
44 "'pic 5', 'pic05', 'pic 5 ', 'pic 5 something', 'pic 6', 'pic 7', 'pic100', 'pic100a', 'pic120', 'pic121', 'pic02000', "
45 "'tom', 'x2-g8', 'x2-y7', 'x2-y08', 'x8-y8'.")
46 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
47
48 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation", U"djmw", 20250120)
49 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"One of the @@types of objects@ in Praat. A Permutation object with %n elements consists of some ordering of "
50 "the numbers 1,2...%n.")
51 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Interpretation")
52 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"A permutation like for example (2,3,5,4,1) is an %arrangement of the five objects 1, 2, 3, 4, and 5. "
53 "It tells us that the second object is in the first position, the third object is in the second position, "
54 "the fifth object in the third position and so on.")
55 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If we combine a Permutation together with an other object, like a Strings for example, we may force a "
56 "new arrangement of the strings, according to the specification in the Permutation (see @@Strings & Permutation: Permute strings@)." )
57 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Commands")
58 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Creation:")
59 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Create Permutation...@")
60 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Query:")
61 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu ##Get number of elements#")
62 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Get value...|Get value...@")
63 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Get index...|Get index...@")
64 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Get number of inversions|Get number of inversions...@")
65 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Modification:")
66 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Sort|Sort@")
67 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Swap blocks...|Swap blocks...@")
68 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Swap positions...|Swap positions...@")
69 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Swap numbers...|Swap numbers...@")
70 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Swap one from range...|Swap one from range...@")
71 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Permutations:")
72 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Permute randomly...|Permute randomly...@")
73 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Permute randomly (blocks)...|Permute randomly (blocks)...@")
74 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Interleave...|Interleave...@")
75 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Rotate...|Rotate...@")
76 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Reverse...|Reverse...@")
77 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutation: Invert|Invert@")
78 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Successive permutations:")
79 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"\\bu @@Permutations: Multiply|Multiply@")
80 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Usage")
81 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@Strings & Permutation: Permute strings@ to rearrange the strings in a Strings object.")
82 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"@@TableOfReal & Permutation: Permute rows@ to rearrange the rows in a TableOfReal object.")
83 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
84
85 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Create Permutation...", U"djmw", 20050709)
86 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to create a @Permutation of the numbers 1,2, ..., %numberOfElements.")
87 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
88 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Name")
89 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the name of the new permutation.")
90 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Number of elements%")
91 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the number of elements in the permutation.")
92 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Identity permutation")
93 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines whether the permutation will be a randomly chosen one, or the @@identity permutation@.")
94 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
95
96 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"identity permutation", U"djmw", 20050713)
97 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"The identity permutation is (1,2,3,...,%numberOfElements), i.e. the numbers 1 to "
98 "%numberOfElements in their natural order. ")
99 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
100
101 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Get value...", U"djmw", 20050709)
102 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Get the value at the index position.")
103 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
104 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The query for the value at index 3 for the permutation (3,2,4,5,1) gives 4.")
105 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
106
107 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Get index...", U"djmw", 20050714)
108 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Get the index position of the value. ")
109 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
110 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The query for the index of value 3 for the permutation (3,2,4,5,1) gives 1.")
111 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
112
113 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Get number of inversions", U"djmw", 20250120)
114 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Get the number of %inversions in a Permutation object. An inversion is defined as: if i < j then p(i) > p(j).")
115 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
116 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The query for the number of inversions in the permutation (3,2,4,5,1) gives 3 because 3>2, 3>1 and 2>1.")
117 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The permutation (1,2,3,4) has 0 inversions.")
118 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The permutation (4,3,2,1) has 6 inversions.")
119 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The number of inversions of a permutation with %n elements is always in the closed interval [0, %n(%n-1)/2].")
120 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
121
122 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Table jump...", U"djmw", 20191211)
123 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Reorder by jumping columnwise to next row over the permutation indices layed out like a table with "
124 "%%jumpSize% columns. ")
125 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
126 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Jump size#")
127 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"defines how many indices to jump over, i.e. the number of columns in the \"table\".")
128 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##First#")
129 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"The first new position.")
130 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example 1")
131 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Consider the identity permutation of 14 elements layed out like a table with %%jumpSize% = 4 columns.")
132 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U" 1 2 3 4")
133 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U" 5 6 7 8")
134 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U" 9 10 11 12")
135 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"13 14")
136 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. ##Table jump: 4, 1# will result in the permutation (1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 4, 8, 12)")
137 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. ##Table jump: 4, 2# will result in the permutation (2, 6, 10, 14, 3, 7, 11, 4, 8, 12, 1, 5. 9, 13)")
138 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"3. ##Table jump: 4, 5# will result in the permutation (5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 4, 8, 12, 1)")
139 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"4. ##Table jump: 4, 12# will result in the permutation (12, 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 4, 8)")
140 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example 2")
141 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Consider the identity permutation of 14 elements layed out like a table with %%jumpSize% = 7 columns.")
142 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U" 1 2 3 4 5 6 7")
143 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U" 8 9 10 11 12 13 14")
144 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. ##Table jump: 7, 1# will result in the permutation (1, 8, 2, 9, 3, 10, 4, 11, 5, 12, 6, 13, 7, 14)")
145 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
146
147 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Reverse...", U"djmw", 20110105)
148 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Reverse the elements in the given range.")
149 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Setting")
150 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index range#")
151 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"defines the range of indices that will be reversed.")
152 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
153 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. With ##Index range# = [0,0], the permutation (1,2,3,4,5) is turned into (5,4,3,2,1). ")
154 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. With ##Index range# = [3,0], the permutation (1,2,3,4,5) is turned into (1,2,5,4,3). ")
155 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
156
157 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Swap one from range...", U"djmw", 20110105)
158 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"An element at an index, randomly chosen from a range, will be permuted with an element at a prescribed index position.")
159 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
160 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index range#")
161 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"defines the range of indices from which one will be randomly chosen.")
162 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index#")
163 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"defines the special index position whose element will be interchanged with the one chosen from the range.")
164 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Forbid same")
165 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"when %on, forbids the randomly chosen position and the index position to be the same. "
166 "This switch is only of relevance when the chosen range happens to overlap the index position.")
167 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
168 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"With ##Index range# = [0,0], ##Index# = 3, ##Forbid same# is %off and (1,2,3,4,5) as the starting permutation, the outcome might be one of "
169 "the five permutations (3,2,1,4,5), (1,3,2,4,5), (1,2,3,4,5), (1,2,4,3,5), (1,2,5,4,3). If ##Forbid same# were chosen as %on, the "
170 "(1,2,3,4,5) permutation is forbidden and the outcome could only be one of the four remaining permutations.")
171 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
172
173 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Permute randomly...", U"djmw", 20111123)
174 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates a new @@Permutation@ by randomly permuting a range of elements in the selected Permutation object.")
175 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Setting")
176 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index range#")
177 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"defines the range of elements that will be permuted. The elements outside this range will be kept intact.")
178 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
179 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If we start with the permutation (4,6,3,1,5,2,7) and a chosen ##Index range# that runs from 3 to 6, a new permutation will be generated as follows:")
180 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"1. A new permutation of the same dimension as the selected one will be created. ")
181 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"2. Because the index range starts at 3, the first two elements of the selected permutation will be copied "
182 "to the first two locations in the newly created permutation. The new permutation is now (4,6,.,.,.,.,.), where a "
183 "dot (.) means that the element is unspecified.")
184 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"3. The elements 3 to 6 of the selected permutation, i.e. the numbers (3,1,5,2) will be randomly permuted. "
185 "There are 24 possible permutations of these 4 numbers. Say the outcome happens to be (5,1,3,2). The new permutation is now (4,6,5,1,3,2,.).")
186 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"4. The remaining element (7) is copied to the new permutation. Finally, this results "
187 "in the new permutation being (4,6,5,1,3,2,7).")
188 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
189
190 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Permute randomly (blocks)...", U"djmw", 20110105)
191 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates a new @Permutation by randomly permuting blocks of size %blocksize.")
192 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
193 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index range#")
194 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the range of elements whose blocks will be permuted.")
195 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Block size#")
196 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the size of the blocks that will be permuted. There must fit an integer number of blocks "
197 "in the chosen range.")
198 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Permute within blocks#")
199 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"when %on, the elements in each block are also randomly permuted.")
200 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##No doublets#")
201 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"guarantees that the first element in each block does not equal the last element of the previous block modulo "
202 "the block size. E.g. the numbers 3, 6, 9 are all equal modulo 3. "
203 "This parameter only has effect when ##Permute within blocks# is %on.")
204 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
205 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. With ##Index range# = [0,0], ##Block size# = 3 and ##Permute within blocks# is %off, the permutation ((1,2,3),(4,5,6),(7,8,9)) "
206 "is turned into one of six possible permutations, for example into ((4,5,6),(7,8,9),(1,2,3)). (The option ##No doublets# will be ignored and the parentheses are only there to indicate the blocks.)")
207 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. With ##Index range# = [0,0], ##Block size# = 3, ##Permute within blocks# is %on and ##No doublets# is %off, "
208 "the permutation ((1,2,3),(4,5,6),(7,8,9)) might turn into ((5,4,6),(9,8,7),(3,1,2)).")
209 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"3. With the same options as 2 but ##No doublets# is %on, the previously given outcome is forbidden because "
210 "the last element of the first block (6) and the first element of the next block (9) are equal modulo 3 (the "
211 "blocksize). A valid outcome might then be ((5,4,6),(8,9,7),(3,1,2)).")
212 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
213
214 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Permute part...", U"djmw", 20220929)
215 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to create a new @Permutation which is a copy of the first selected Permutation but with a part "
216 "that has been permuted according to a specification given by the second one.")
217 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
218 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Start index#")
219 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the position in the first selected Permutation where the modification by the second one should start.")
220 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
221 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Suppose the first permutation p1 is (1,2,3,4,5,6,7,8,9,10,11) and the second one p2 is (2,3,5,1,4).")
222 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. With ##Start index# set to 1, the newly generated permutation p3 will be ((2,3,5,1,4), 6,7,8,9,10,11). "
223 "The new p3 will have the same number of elements as p1. The permutation p2 which has 5 elements starts to operate at "
224 "the first element and will stop after the fifth element. The first five elements in p3 will therefore equal "
225 "the permuted first five elements of p1, while the last 6 elements of p3 will be a copy of those in p1.")
226 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. With ##Start index# set to 6, the newly generated permutation will be (1,2,3,4,5, (7,8,10,6,9), 11).")
227 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
228
229 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Swap blocks...", U"djmw", 20110105)
230 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A command to swap the contents of two index ranges in the selected @Permutation.")
231 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
232 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##From index#, ##To index#")
233 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the two starting positions from where elements are to be swapped. The blocks may overlap.")
234 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Block size#")
235 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines the number of pairs to swap. ")
236 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Behaviour")
237 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If the ##Block size# equals one, only the elements at the ##From index# and ##To index# position are swapped. If blocksize is greater than one, the two elements at ##From index#+1 and ##To index#+1 will be swapped too. This goes on until the last two elements in each block have been swapped.")
238 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
239 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. Swap two blocks: with ##From index# = 1, ##To index# = 4, and ##Block size# = 2, the permutation (1,2,3,4,5) is turned into (4,5,3,1,2).")
240 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. Swap two elements: with ##From index# = 1, ##To index# = 4, and ##Block size# = 1, the permutation (1,2,3,4,5) is turned into (4,2,3,1,5).")
241 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"3. Swap two overlapping blocks: with ##From index# = 1, ##To index# = 3, and ##Block size# = 3, the permutation (1,2,3,4,5) is turned into "
242 "(3,4,5,2,1).")
243 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
244
245 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Swap positions...", U"djmw", 20110105)
246 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Swaps the contents at two indices in the selected @@Permutation@.")
247 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
248 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##First index#, ##Second index#")
249 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the two indices from where elements have to be swapped. The order of these indices is not important.")
250 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
251 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"With ##First index# = 1 and ##Second index# = 3, the permutation (1,3,4,2,5) is turned into (4,3,1,2,5).")
252 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
253
254 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Swap numbers...", U"djmw", 20110105)
255 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Swaps two numbers in the selected @@Permutation@.")
256 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
257 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##First number#, ##Second number#")
258 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the two numbers that have to be swapped. The order of these numbers is not important.")
259 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
260 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"With ##First number# = 1 and ##Second number# = 3, the permutation (1,3,4,2,5) is turned into (3,1,4,2,5).")
261 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
262
263 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Interleave...", U"djmw", 20110105)
264 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates a new @Permutation by interleaving elements from successive blocks. ")
265 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"We always start with the first element in the first block. When the offset is zero, the next element will be the first "
266 "element of the second block, then the first element of the third block. After the first element of the last block, we start again "
267 "with the second elements in each block. And so on. (In card playing, with two blocks of 26 cards each, this is called a faro "
268 "shuffle and eight successive faro shuffles will return the deck to precisely the order in which you began.)")
269 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If the offset differs from zero and equals 1 for example, we start with the first element in the first block, then the "
270 "second element in the second block, the third element in the third block and so on. When the last element of a block is reached "
271 "and the number of blocks is not exhausted the next element will be the first from the next block. When the last block is reached, "
272 "we start the same cycle again with the next lower element in the first block (which by the way need not be the second element, "
273 "see also example 4).")
274 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
275 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index range#")
276 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the range of elements that will be permuted.")
277 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Block size#")
278 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the size of a block. An integer number of blocks must fit "
279 "in the chosen ##Index range#.")
280 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Offset#")
281 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines the relative positions of selected elements in successive blocks.")
282 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
283 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. With ##Index range# = [0,0], ##Block size# = 3, and ##Offset# = 0, the permutation ((1,2,3),(4,5,6),(7,8,9)) is turned into (1,4,7,2,5,8,3,6,9).")
284 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. With ##Index range# = [0,0], ##Block size# = 3, and ##Offset# = 1, the permutation ((1,2,3),(4,5,6),(7,8,9)) is turned into (1,5,9,2,6,7,3,4,8).")
285 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"3. With ##Index range# = [0,0], ##Block size# = 3, and ##Offset# = 2, the permutation ((1,2,3),(4,5,6),(7,8,9)) is turned into (1,6,8,2,4,9,3,5,7).")
286 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"4. With ##Index range# = [0,0], ##Block size# = 4, and ##Offset# = 1, the permutation ((1,2,3,4),(5,6,7,8)) is turned into (1,6,3,8,2,7,4,5).")
287 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
288
289 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"lexicographic permutation order", U"djmw", 20140131)
290 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"We can order the %n numbers 1, 2, 3,..., n in %n! different ways. Each of these n! orderings represents a different permutation of "
291 "the numbers 1, 2, 3,..., n. For example, if %n equals 3 we have 6 (=3\\.c2\\.c1) possible orderings: (1,2,3), (1,3,2), (2,1,3), (2,3,1), (3,1,2) and (3,2,1). "
292 "The %%lexicographic permutation order% starts from the identity permutation (1,2,..., n). By successively swapping only two numbers one "
293 "obtains all possible permutations. The last permutation in lexicographic order will be the permutation with all numbers in reversed order, "
294 "i.e. (n,n-1,...,2,1). The example given above has all 6 permutations in lexicographic permutation order.")
295 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
296
297 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Next", U"djmw", 20140131)
298 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Get the next @@Permutation|permutation@ in @@lexicographic permutation order@. ")
299 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The next permutation is obtained from the selected permutation "
300 "by swapping values %%at only two positions%. Starting with the identity permutation and "
301 "repeatedly applying this function will iterate through all possible permutations. If no further permutation "
302 "is available, i.e. the selected permutation is at the lexicographic end position (n, n-1, ..., 3, 2, 1), the current permutation will not change anymore. ")
303 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
304 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If we start with (1,2,3,4) successively applying ##Next# will generate the following sequence (1,2,4,3), (1,3,2,4), (1,3,4,2), (1,4,2,3), (1,4,3,2), etc.")
305 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
306
307 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Previous", U"djmw", 20140131)
308 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Get the previous @@Permutation|permutation@ in @@lexicographic permutation order@. The previous permutation is obtained "
309 "from the selected permutation by swapping values %%at only two positions%. If no further permutation "
310 "is available, i.e. the current permutation is at the lexicographic start position (1, 2, 3, ..., n-1, n), the current permutation will not change anymore. ")
311 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The ##Previous# operation follows the opposite order of @@Permutation: Next@.")
312 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
313
314 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Rotate...", U"djmw", 20110105)
315 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"A circular shift of all elements within the given range.")
316 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Settings")
317 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Index range#")
318 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"the range of elements that will be circularly permuted.") // ambiguous; are these the positions or the numbers?
319 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Step size#")
320 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"define how many positions each element will be shifted.")
321 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
322 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. With ##Step size# = 2 and ##Index range# = [1,5], the permutation (1,2,3,4,5) is turned into (4,5,1,2,3). ")
323 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. With ##Step size# = 2 and ##Index range# = [2,5], the permutation ((1),(2,3,4,5)) is turned into ((1),(4,5,2,3))")
324 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"3. With ##Step size# = -1 and ##Index range# = [0,0], the permutation (1,2,3,4,5) is turned into (2,3,4,5,1).")
325 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
326
327 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Invert", U"djmw", 20050709)
328 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates the inverse of the selected @Permutation.")
329 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
330 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If the permutation is (1,5,3,2,4) the inverse will be (1,4,3,5,2). If we @@Permutations: Multiply|multiply@ these two permutations the result will be the identity permutation (1,2,3,4,5).")
331 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
332
333 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutations: Multiply", U"djmw", 20050717)
334 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Apply the selected @@Permutation@s one after the other. ")
335 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Permutations are %not commutative, i.e. applying permutation %p__1_ after %p__2_ might not give the same outcome as applying "
336 "%p__2_ after %p__1_.")
337 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
338
339 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Permutation: Sort", U"djmw", 20050709)
340 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Sorts the elements ascending, i.e. set the selected @@Permutation@ to the @@identity permutation@.")
341 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
342
343 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"TableOfReal & Permutation: Permute rows", U"djmw", 20050709)
344 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generate a new @TableOfReal with a row ordering determined by the @Permutation.")
345 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
346 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If the selected TableOfReal has 5 rows and the permutation is (5,4,3,2,1) the first row of the new TableOfReal equals the fifth row of the selected, the second row of new equals the fourth row of the selected and so on.")
347 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
348
349 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Strings & Permutation: Permute strings", U"djmw", 20140130)
350 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generate a new @Strings with a strings ordering determined by the @Permutation.")
351 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The number of strings in the #Strings and the number of elements in the #Permutation have to be equal.")
352 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Examples")
353 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"1. If the selected Strings has the 4 strings ordered as \"heed\", \"hid\", \"hood\", \"hud\", and the permutation is "
354 "(4,3,2,1), the new Strings has the ordering \"hud\", \"hood\", \"hid\", \"heed\".")
355 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"2. In the example that is discussed in the @@ExperimentMFC|listening experiment@ section, we have four stimuli \"heed.wav\", "
356 "\"hid.wav\", \"hood.wav\", \"hud.wav\" that we want to present three times to each subject with a <PermuteBalancedNoDoublets> "
357 "randomization strategy, i.e. stimuli presented in blocks of four, randomized, and no two successive stimuli equal. "
358 "This type of randomization can easily be accomplished with a Permutation object and a Strings." )
359 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"1. Fill the Strings object with 12 strings, i.e. three repetitions of the four stimuli. ")
360 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"2. Create a Permutation object with 12 elements and perform ##@@Permutation: Permute randomly (blocks)...|Permute randomly (blocks):@ 0, 0, 4, \"yes\", \"yes\"#. We randomly permute blocks of size 4 and permute randomly within these blocks and make sure that on the transition from on block to the other no two stimuli are equal. (Of course, the random permutation of the blocks makes no difference here since all the blocks have the same content.)")
361 LIST_ITEMcxx . . $ `sys/ManPagesM.h:38:9`! (U"3. Select the Strings and the Permutation together and choose ##Permute strings#. "
362 "Now the new Strings will contain the new ordering of the stimuli.")
363 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
364
365 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Strings: To Permutation...", U"djmw", 20050721)
366 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates a @Permutation with the same number of elements as the @Strings.")
367 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Setting")
368 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Sort")
369 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines whether the Permutation will have an element ordering that can be used to sort the Strings alphabetically.")
370 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
371 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"If \"Sort\" is %on, and the selected Strings contains 4 strings ordered as \"hud\", \"hid\", \"hood\", "
372 "\"heed\", the generated Permutation will be (4,2,3,1). If you now select the String and the Permutation "
373 "together and choose @@Strings & Permutation: Permute strings|Permute strings@, the new Strings will have "
374 "the strings ordered alphabetically as \"heed\", \"hid\", \"hood\", \"hud\". "
375 "You can also sort the Strings alphabetically descending, by first @@Permutation: Reverse...|reversing@ "
376 "the elements in the Permutation before you select the Permutation and the Strings together. ")
377 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
378
379 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Index", U"djmw", 20050725)
380 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"One of the @@Types of objects|types of objects@ in the Praat program.")
381 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
382
383 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Strings: To Index", U"djmw", 20050721)
384 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates an @Index from the selected @Strings.")
385 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
386 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"We start from the following #Strings:")
387 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"6 (number of strings)")
388 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
389 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
390 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
391 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
392 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
393 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
394 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"This will give us the following #Index:")
395 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1 (number of columns) \"\" (no column name)")
396 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
397 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
398 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
399 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"6 (number of elements)")
400 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
401 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1")
402 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
403 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3")
404 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
405 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3")
406 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
407
408 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Index: To Permutation...", U"djmw", 20050725)
409 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Generates a @Permutation from the selected @Index by randomly permuting blocks of equivalent elements.")
410 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Suppose your data consists of groups of equivalent elements and the number of elements in the groups are not equal. You want to make random ordering of your data such that the elements in a group stay together. The following example shows you how.")
411 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Setting")
412 TERMcxx . . $ `sys/ManPagesM.h:42:9`! (U"##Permute within classes")
413 DEFINITIONcxx . . $ `sys/ManPagesM.h:46:9`! (U"determines whether the elements within a class will be randomly permuted.")
414 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
415 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Suppose your data, for example a @Strings, consists of groups of equivalent elements and the number of elements in the groups are not equal. You want to make a random ordering of your data such that the elements in a group stay together. The following example shows you how.")
416 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"We start from the following Strings:")
417 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"6 (number of strings)")
418 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
419 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
420 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
421 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
422 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
423 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
424 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"We choose @@Strings: To Index|To Index@ which will give us the following #Index:")
425 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1 (number of columns) \"\" (no column name)")
426 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
427 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
428 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
429 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"6 (number of elements)")
430 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
431 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1")
432 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
433 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3")
434 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
435 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3")
436 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"We choose ##To Permutation# and with ##Permute within classes# %off, this might generate the permutation (2,4,6,1,3,5).")
437 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Selecting the Permutation and the Strings together and choosing @@Strings & Permutation: "
438 "Permute strings|Permute strings@ will generate the following Strings:")
439 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
440 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
441 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
442 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
443 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
444 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
445 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"We see that the permutation always keeps identical strings together.")
446 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
447
448 MAN_BEGINcxx . . $ `sys/ManPagesM.h:33:9`! (U"Index: Extract part...", U"djmw", 20221015)
449 INTROcxx . . $ `sys/ManPagesM.h:35:9`! (U"Creates a new @Index by copying a part of selected Index.")
450 ENTRYcxx . . $ `sys/ManPagesM.h:36:9`! (U"Example")
451 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Given the following Index:")
452 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1 (number of columns) \"\" (no column name)")
453 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
454 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
455 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
456 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"6 (number of elements)")
457 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
458 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1")
459 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
460 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3")
461 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
462 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"3")
463 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"The command ##Extract part... 1 2# gives you the new Index:")
464 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1 (number of columns) \"\" (no column name)")
465 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"dag allemaal\"")
466 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"hallo\"")
467 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"\"tot morgen\"")
468 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2 (number of elements)")
469 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"2")
470 CODEcxx . . $ `sys/ManPagesM.h:50:9`! (U"1")
471 NORMALcxx . . $ `sys/ManPagesM.h:37:9`! (U"Note that all classes stay intact and may have zero references like for example the \"tot morgen\" class. ")
472 MAN_ENDcxx . . $ `sys/ManPagesM.h:61:9`!
473 }
474
475 /* End of file manual_Permutation.cpp */
476