1 diff -r 5cd656a07aa5 src/bar.c
2 --- a/bar.c Thu May 14 06:01:00 2009 -0400
3 +++ b/bar.c Thu May 14 07:38:17 2009 -0400
11 for (i=0L;i<S_V_LI(e);i++)
12 j += S_V_II(e,i)*(i+1L);
14 for (i=0L;i<S_V_LI(b);i++)
15 erg += kranztypus_to_matrix(S_V_I(c,i),S_V_I(b,i));
17 - erg += sort(b); /* AK 130592 */
18 + erg += sym_sort(b); /* AK 130592 */
19 ENDR("makevectorof_class_bar");
25 erg += lehmercode_bar(a,c);
26 - erg += sum(S_V_I(c,1L),b);
27 + erg += sym_sum(S_V_I(c,1L),b);
28 for(i=0L;i<S_P_LI(a);i++)
30 if (S_V_II(S_V_I(c,0L),i) == 1L)
31 diff -r 5cd656a07aa5 src/def.h
32 --- a/def.h Thu May 14 06:01:00 2009 -0400
33 +++ b/def.h Thu May 14 07:38:17 2009 -0400
35 extern INT so_character ();
36 extern INT so_dimension ();
37 extern OBJECTKIND s_o_k();
39 +extern INT sym_sort();
40 extern INT sort_rows_tableaux_apply();
41 extern INT sort_vector();
42 extern OBJECTSELF s_o_s();
44 extern INT sub_part_part();
45 extern INT substitute_one_matrix ();
46 extern INT substitute_one_monopoly ();
48 +extern INT sym_sum();
49 extern INT sum_integervector();
50 extern INT sum_matrix();
51 extern INT sum_vector();
52 diff -r 5cd656a07aa5 src/di.c
53 --- a/di.c Thu May 14 06:01:00 2009 -0400
54 +++ b/di.c Thu May 14 07:38:17 2009 -0400
56 m_il_nv(0L,weight_watcher);
58 copy(S_V_I(FP,0L),fix);
62 get_perm(hweight,p,b,S_I_I(n),S_I_I(m),0L,
63 perm_vec,weight_watcher,fix);
67 mult_perm_fix(p,fix,hfix);
70 if(!hfix_in_ww(hfix,ww))
73 diff -r 5cd656a07aa5 src/ga.c
74 --- a/ga.c Thu May 14 06:01:00 2009 -0400
75 +++ b/ga.c Thu May 14 07:38:17 2009 -0400
78 erg += vertikal_sum(S_V_L(a),c);
82 erg += m_il_p(S_V_II(d,S_V_LI(d)-1L),e); /* identitaet */
83 for (i=0L,k=0L,j=S_V_LI(d);i<S_P_LI(e);i++)
84 if (i+1L == S_V_II(d,k) )
88 erg += append(h,g,h2);
90 + erg += sym_sort(h2);
91 for (i=0L;i<S_V_LI(g);i++)
93 erg += m_i_i(S_V_II(g,i),S_P_I(a,j));
94 diff -r 5cd656a07aa5 src/galois.c
95 --- a/galois.c Thu May 14 06:01:00 2009 -0400
96 +++ b/galois.c Thu May 14 07:38:17 2009 -0400
104 S3R(k,phg_c,phg_d,"all_points_phg_store",res);
106 diff -r 5cd656a07aa5 src/macro.h
107 --- a/macro.h Thu May 14 06:01:00 2009 -0400
108 +++ b/macro.h Thu May 14 07:38:17 2009 -0400
110 /* file: macro.h symmetrica source code */
116 #define SYM_MALLOC(a) mem_malloc(a)
118 #define C_O_K(a,b) ((a)->ob_kind = (OBJECTKIND)(b))
119 --- a/nc.c Thu May 14 06:01:00 2009 -0400
120 +++ b/nc.c Thu May 14 07:38:17 2009 -0400
122 erg += mult(S_NC_C(a),S_NC_C(b),d);
123 erg += m_gl_co(S_NC_GL(a),e);
124 erg += mult_apply(e,d);
126 + erg += sym_sum(d,e);
127 erg += m_gl_go(S_NC_GL(a),d);
131 erg += mult_nc_kranz(c,a,e);
132 erg += mult(S_V_I(e,1L),f,c);
134 - erg += sum(c,S_V_I(S_NC_C(b),S_I_I(d)));
135 + erg += sym_sum(c,S_V_I(S_NC_C(b),S_I_I(d)));
140 for(j = 0L; j<S_V_LI(c);j++) {
141 kranztypus_to_matrix(S_V_I(c,j),S_V_I(a,j));
145 freeall(f); freeall(h); freeall(c);
149 kranztypus_to_matrix(S_V_I(c,j),S_V_I(h,j));
155 for(j = 0L; j<S_V_LI(c);j++) {
156 typusorder(S_V_I(h,j), zb, za, S_V_I(a,j), f);
158 erg += kranztypus_to_matrix(S_V_I(c,j),S_V_I(h,j));
162 + erg += sym_sort(h);
163 erg += typusorder(S_V_I(h,S_I_I(i)), zb, za, a, f);
166 diff -r 5cd656a07aa5 src/nu.c
167 --- a/nu.c Thu May 14 06:01:00 2009 -0400
168 +++ b/nu.c Thu May 14 07:38:17 2009 -0400
169 @@ -531,13 +531,13 @@
174 +INT sym_sort(a) OP a;
175 /* sortiert das object in aufsteigender reihenfolge AK 270787 */
176 /* AK 160986 */ /* AK 280689 V1.0 */ /* AK 050390 V1.1 */
181 + EOP("sym_sort(1)",a);
186 erg += sort_vector(a);break;
187 #endif /* VECTORTRUE */
189 - erg += WTO("sort",a); break;
190 + erg += WTO("sym_sort",a); break;
196 INT length(a,d) OP a,d;
201 -INT sum(a,res) OP a,res;
202 +INT sym_sum(a,res) OP a,res;
203 /* AK 280689 V1.0 */ /* AK 050390 V1.1 */ /* AK 120391 V1.2 */
211 + CE2(a,res,sym_sum);
216 erg += WTO("sum",a); break;
224 diff -r 5cd656a07aa5 src/part.c
225 --- a/part.c Thu May 14 06:01:00 2009 -0400
226 +++ b/part.c Thu May 14 07:38:17 2009 -0400
228 if (a == b) { /* a := a+a */
229 if (S_PA_K(a) == VECTOR) {
230 erg += append_apply_vector(S_PA_S(a),S_PA_S(b));
231 - erg += sort(S_PA_S(a));
232 + erg += sym_sort(S_PA_S(a));
235 else if (S_PA_K(a) == EXPONENT) {
239 erg += append_apply_vector(S_PA_S(a),S_PA_S(b));
240 - erg += sort(S_PA_S(a));
241 + erg += sym_sort(S_PA_S(a));
243 inc_vector_co(S_PA_S(a),S_PA_LI(b));
244 for (j=S_PA_LI(a)-1;j>=0;j--)
245 diff -r 5cd656a07aa5 src/perm.c
246 --- a/perm.c Thu May 14 06:01:00 2009 -0400
247 +++ b/perm.c Thu May 14 07:38:17 2009 -0400
249 /* s = Anzahl der spalten */
251 s = S_V_LI(S_V_I(a,0L));
252 - sum(S_V_I(a,0L),summe);/* composition ist vector */
253 + sym_sum(S_V_I(a,0L),summe);/* composition ist vector */
260 @@ -1114,7 +1114,7 @@
261 erg += kranztypus_to_matrix(S_V_I(c,i),S_V_I(h,i));
265 + erg += sym_sort(h);
267 erg += chartafel(b,ct);
269 @@ -1926,7 +1926,7 @@
272 erg += lehmercode_permutation(a,c); /*result is a vector */
274 + erg += sym_sum(c,b);
277 ENDR("numberof_inversionen");
278 @@ -2364,7 +2364,7 @@
279 COP("rz_lehmercode(2)",b);
283 + erg += sym_sum(lc,zw);
286 erg += m_il_integervector((INT)0,b);
287 diff -r 5cd656a07aa5 src/rest.c
288 --- a/rest.c Thu May 14 06:01:00 2009 -0400
289 +++ b/rest.c Thu May 14 07:38:17 2009 -0400
290 @@ -3998,7 +3998,7 @@
295 + erg += sym_sum(c,b);
299 diff -r 5cd656a07aa5 src/ta.c
300 --- a/ta.c Thu May 14 06:01:00 2009 -0400
301 +++ b/ta.c Thu May 14 07:38:17 2009 -0400
302 @@ -1596,7 +1596,7 @@
306 - erg += sum(content,e); /* AK 271098 */
307 + erg += sym_sum(content,e); /* AK 271098 */
309 erg += weight(shape,d);
311 @@ -1821,7 +1821,7 @@
312 CE3(matrix, column_index, row_index,matrix_twoword);
314 erg += zeilen_summe(matrix,c);
316 + erg += sym_sum(c,c);
317 erg += m_l_v(c,column_index);
318 erg += m_l_v(c,row_index);
319 for(i=0,l=0;i<S_M_HI(matrix);i++)
320 diff -r 5cd656a07aa5 src/zyk.c
321 --- a/zyk.c Thu May 14 06:01:00 2009 -0400
322 +++ b/zyk.c Thu May 14 07:38:17 2009 -0400
324 zykeltypvec = CALLOCOBJECT();
325 ak_order = CALLOCOBJECT();
327 - sum(numztvec,ak_order); /* AK 060295 */
328 + sym_sum(numztvec,ak_order); /* AK 060295 */
332 @@ -1176,7 +1176,7 @@
336 - erg += sum(S_PO_S(z),e);
337 + erg += sym_sum(S_PO_S(z),e);
339 erg += mult_apply(S_PO_K(z),e);
340 erg += add_apply(e,c);