File: nc.doc

package info (click to toggle)
symmetrica 2.0+ds-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 9,456 kB
  • sloc: ansic: 97,289; makefile: 170; sh: 70
file content (342 lines) | stat: -rw-r--r-- 8,832 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
COMMENT:
NEW CHARACTER


This is the datastructure to implement arbitrary group characters.
For this datastructure  we have a label which contains information
on the group, this is called group label.  (gl for short)
The second part of the data structure is the information for the
character, this is a VECTOR object whose i-th entry is the value
of the charcter on the i-th class of the group.
The same datastructure is used for the decomposition of a arbitray
character into irreducibls, then the i-th entry gives the multiplicity
of the i-th irreducible character.

Group labels
------------

NAME:			
	m_gl_sym
SYNOPSIS:		
	INT m_gl_sym(OP degree, kl)
DESCRIPTION:    	
	you input the degree of a symmetric group, this should
	be a INTEGER object, the output is the object, which represents
	the group label of the symmetric group of the given degree.

NAME:		
	m_gl_alt
SYNOPSIS:	
	INT m_gl_alt(OP degree, kl)
DESCRIPTION:    
	you input the degree of a alternating group, this should
	be a INTEGER object, the output is the object, which represents
	the group label of the alternating group of the given degree.

NAME:		
	m_gl_cyclic
SYNOPSIS:	
	INT m_gl_cyclic(OP degree, kl)
DESCRIPTION:    
	you input the degree of a cyclic group, this should
	be a INTEGER object, the output is the object, which represents
	the group label of the cyclic group of the given degree.


NAME:		
	m_gl_hyp
SYNOPSIS:	
	INT m_gl_hyp(OP degree, kl)
DESCRIPTION:    
	you input the degree of a hyperoctaeder group, this should
	be a INTEGER object, the output is the object, which represents
	the group label of the hyperoctaeder group of the given degree.
	This is a special case of the routine m_gl_symkranz

NAME:		
	m_gl_symkranz
SYNOPSIS:	
	INT m_gl_symkranz(OP a,b, kl)
DESCRIPTION:    
	you input the degree of two symmetric groups, these should
	be a INTEGER object, the output is the object, which represents
	the group label of the wreath product s_a wr s_b of the
	two symmetric groups of the given degree a and b.


COMMENT:
If we have a group label there are many routines which use the group label
as input

NAME:		
	m_gl_go
SYNOPSIS:	
	INT m_gl_go(OP gl, order)
DESCRIPTION:	
	you input a group label, and the output is the orderof
	the corresponding group.
EXAMPLE:	
	computes the order of the alternating group
	....
	scan(INTEGER,a);
	m_gl_alt(a,b);
	m_gl_go(b,c); println(c);
	....

COMMENT:
It is also possible to run through the group:

NAME:		
	m_gl_first
SYNOPSIS:	
	INT m_gl_first(OP a,b)
DESCRIPTION:	
	computes the first element in the corresponding group
	The first element is in most cases the identity.

COMMENT:
using this first element you can compute the next one:

NAME:		
	m_gl_next
SYNOPSIS:	
	INT m_gl_next(OP a,b,c)
DESCRIPTION:	
	computes the next element in the corresponding group
	a ist the group label, b is a element, and c becomes the next one.
	If b is already the last one the return value is FALSE, else it
	is TRUE.  b and c may be the same object.

EXAMPLE: 
	computes the number of elements in a alternating group, using the
	above routines:
	#include "def.h"
	#include "macro.h"
	main()
	{
	OP a,b,c,d;
	anfang();
	a=callocobject(); b=callocobject(); c=callocobject(); d=callocobject(); 
	scan(INTEGER,a); m_gl_alt(a,b);
	m_gl_first(b,c); println(c);
	m_i_i(1L,d);
	while( m_gl_next(b,c,c) )  inc(d);
	println(d); println(c);

	freeall(a); freeall(b); freeall(c); freeall(d); 
	ende();
	}

COMMENT:
Table of irreducible characters
-------------------------------

NAME:		
	m_gl_chartafel
SYNOPSIS:	
	INT m_gl_chartafel(OP gl,t)
DESCRIPTION:	
	you enter an object gl, which you got using a routine
	to construct a group label (see above), the output is the
	table of irreducible characters of the group, represented by
	the group label.
EXAMPLE:

	#include "def.h"
	#include "macro.h"

	main()
	{
	OP a,b,c,d;
	anfang();
	a=callocobject(); b=callocobject(); 
	c=callocobject(); d=callocobject(); 

	scan(INTEGER,a);
	m_gl_sym(a,b); m_gl_chartafel(b,c); println(c);
	m_gl_alt(a,b); m_gl_chartafel(b,c); println(c);
	scan(INTEGER,d);
	m_gl_symkranz(a,d,b); m_gl_chartafel(b,c); println(c);

	freeall(a); freeall(b); freeall(c); freeall(d);
	ende();
	}

COMMENT:
Class labels
------------

If you have computed the character table, you also need information
about the labelings of the classes, to know what is the charactervalue
for what class.

NAME:		
	m_gl_cl
SYNOPSIS:	
	INT m_gl_cl(OP gl,cl)
DESCRIPTION:	
	you input a group label gl, and the output is a
	VECTOR object of the length "number of classes", and the 
	entries are objects which allows a labeling of classes, e.g
	PARTITION objects in the case of the symmetric group.'
EXAMPLE:

	#include "def.h"
	#include "macro.h"

	main()
	{
	OP a,b,c,d;
	anfang();
	a=callocobject(); b=callocobject(); 
	c=callocobject(); d=callocobject(); 

	scan(INTEGER,a);
	m_gl_sym(a,b); m_gl_cl(b,c); println(c);
	m_gl_alt(a,b); m_gl_cl(b,c); println(c);
	m_gl_hyp(a,b); m_gl_cl(b,c); println(c);
	scan(INTEGER,d);
	m_gl_symkranz(a,d,b); m_gl_cl(b,c); println(c);

	freeall(a); freeall(b); freeall(c); freeall(d);
	ende();
	}

COMMENT:
Class reps
----------
simliar to the above routine, we comput now representing
elements for the classes and not a labeling

NAME:		
	m_gl_cr      
SYNOPSIS:	
	INT m_gl_cr(OP gl,cr)
DESCRIPTION:	
	you input a group label gl, and the output is a
	VECTOR object of the length "number of classes", and the 
	entries are objects which are representing elements of the
	classes, in our examples up to now always permutations.
	The sequence of the classes is the same as in the routine
	m_gl_cl.

COMMENT:
Class order
-----------

NAME:		
	m_gl_co
SYNOPSIS:	
	INT m_gl_co(OP gl,co)
DESCRIPTION:	
	you input the group label gl, and the output is a
	VECTOR object of the length "number of classes", and the
	entries give the order of the classes.
	The sequence of the classes is the same as in the routine
	m_gl_cl.



COMMENT:
Irreducible Character labels
----------------------------
If you have computed the character table, you also need information
about the labelings of the classes, to know what is the charactervalue
for what class.

NAME:		
	m_gl_il
SYNOPSIS:	
	INT m_gl_il(OP gl,il)
DESCRIPTION:	
	you input a group label gl, and the output is a
	VECTOR object of the length "number of classes", and the 
	entries are objects which allows a labeling of the 
	irreducible characters, e.g
	PARTITION objects in the case of the symmetric group.

COMMENT:
Irreducible Characters
----------------------

If you have a valid group label you can get a irreducible character
of the given group.

NAME:		
	m_gl_nc
SYNOPSIS:	
	INT m_gl_nc(OP gl,il,nc)
DESCRIPTION:	
	you input the group label gl to specify the group, then
	an object il which may be an INTEGER object, to say that you want
	the i-th character, and the output will be in nc.
	If the object il is not an INTEGER object it may be an 
	object which labels characters in the entered group, e.g.
	partitions for the symmetric group. You get these objects
	with a previous call of m_gl_il.
	You will get an error for example if the INTEGER object label
	is to big , this means you entered a number which is bigger
	then the number of classes.
EXAMPLE: 
	computes all irreducible characters of A_n
	.....
	scan(INTEGER,a);
	m_gl_alt(a,b);
	m_gl_il(b,c); println(c);
	for (i=0L;i<S_V_LI(c);i++)
		{
		m_gl_nc(b,S_V_I(c,i),d);println(d);
		}
	.....

NAME:		
	scalarproduct_nc
SYNOPSIS:	
	INT scalarproduct_nc(OP nca,ncb,res)
DESCRIPTION:	
	you enter two characters of the same group, nca and ncb
	the output is the result of the scalarproduct. To get the
	characters you may use m_gl_nc or scan_gl_nc
EXAMPLE:	
	here we compute first all irreducible characters of A_n
	afterwards we compute two scalarproducts, the first giving
	0 and the second giving 1.

	....
	scan(INTEGER,a);
	m_gl_alt(a,b);
	m_gl_il(b,c); println(c);
	m_il_v(S_V_LI(c),e);
	for (i=0L;i<S_V_LI(c);i++)
		m_gl_nc(b,S_V_I(c,i),S_V_I(e,i));println(S_V_I(e,i));

	scalarproduct_nc(S_V_I(e,1L),S_V_I(e,0L),d); println(d);
	scalarproduct_nc(S_V_I(e,0L),S_V_I(e,0L),d); println(d);
	....

NAME:		
	reduce_nc
SYNOPSIS:	
	INT reduce_nc(OP ch, dec)
DESCRIPTION:	
	input is a character ch, and the output is a decomposition
	into irrdeucible characters, the format of the input and output is
	the same, as input you have at the i-th component the value on the
	i-th class, in the output you have at the i-th component the 
	multiplicity of the i-th irreducible character.

NAME:		
	scan_gl_nc
SYNOPSIS:	
	INT scan_gl_nc(OP gl,nc)
DESCRIPTION:	
	here we interactivly ask for a character of the group
	specified by the grouplabel. The routine outputs the label of the
	class, and reads the value on the class.
EXAMPLE:
	....
	scan(INTEGER,a);
	m_gl_alt(a,b);
	scan_gl_nc(b,c);
	reduce_nc(c,d); println(d);
	....