source: git/Singular/iparith.inc

spielwiese
Last change on this file was 79dfb9, checked in by Hans Schoenemann <hannes@…>, 13 days ago
allow LRING for std
  • Property mode set to 100644
File size: 69.3 KB
Line 
1/****************************************
2*  Computer Algebra System SINGULAR     *
3****************************************/
4
5// syntax table for Singular
6//
7// - search for an exact match of the argument types
8// - otherwise search for the first possibility
9//   with converted types of the arguments
10// - otherwise report an error
11//
12// --------------------------------------------------
13// depends on Singular/table.h and kernel/mod2.h
14
15// operation: ++ (identifier)  ->  nothing
16// operation: -- (identifier)  ->  nothing
17// operation: - (int)  ->  int
18// operation: - (bigint)  ->  bigint
19// operation: - (number)  ->  number
20// operation: - (poly)  ->  poly
21// operation: - (vector)  ->  vector
22// operation: - (matrix)  ->  matrix
23// operation: - (intvec)  ->  intvec
24// operation: - (intmat)  ->  intmat
25// operation: - (bigintmat)  ->  bigintmat
26// operation: ( (proc)  ->  any_type
27// operation: attrib (def)  ->  nothing
28// operation: bareiss (bigintmat)  ->  bigintmat
29// operation: bareiss (module)  ->  list, only commutative rings, domain coeffs
30// operation: betti (list)  ->  intmat, field coeffs
31// operation: betti (resolution)  ->  intmat, field coeffs
32// operation: betti (ideal)  ->  intmat, field coeffs
33// operation: betti (module)  ->  intmat, field coeffs
34// operation: bigint (bigint)  ->  bigint
35// operation: bigint (number)  ->  bigint
36// operation: bigint (poly)  ->  bigint
37// operation: bigintmat (bigintmat)  ->  bigintmat
38// operation: bigintvec (bigintvec)  ->  bigintvec
39// operation: char (ring)  ->  int
40// operation: char_series (ideal)  ->  matrix, only commutative rings, field coeffs
41// operation: charstr (ring)  ->  string
42// operation: close (link)  ->  nothing
43// operation: coeffs (ring)  ->  cring
44// operation: ncols (matrix)  ->  int
45// operation: ncols (smatrix)  ->  int
46// operation: ncols (ideal)  ->  int
47// operation: ncols (module)  ->  int
48// operation: ncols (intmat)  ->  int
49// operation: ncols (bigintmat)  ->  int
50// operation: cleardenom (poly)  ->  poly
51// operation: cleardenom (vector)  ->  vector
52// operation: size (bigint)  ->  int
53// operation: size (number)  ->  int
54// operation: size (resolution)  ->  int
55// operation: size (string)  ->  int
56// operation: size (poly)  ->  int
57// operation: size (vector)  ->  int
58// operation: size (ideal)  ->  int
59// operation: size (module)  ->  int
60// operation: size (matrix)  ->  int
61// operation: size (intvec)  ->  int
62// operation: size (intmat)  ->  int
63// operation: size (bigintmat)  ->  int
64// operation: size (bigintvec)  ->  int
65// operation: size (list)  ->  int
66// operation: size (ring)  ->  int
67// operation: cring (ring)  ->  cring
68// operation: def (int)  ->  def
69// DUMMY // operation: def (any_type)  ->  $INVALID$
70// operation: deg (poly)  ->  int
71// operation: deg (vector)  ->  int
72// operation: deg (matrix)  ->  int
73// operation: degree (ideal)  ->  string, only commutative rings, domain coeffs
74// operation: degree (module)  ->  string, only commutative rings, domain coeffs
75// operation: defined (def)  ->  int
76// operation: denominator (number)  ->  number
77// operation: numerator (number)  ->  number
78// operation: det (bigintmat)  ->  bigint
79// operation: det (intmat)  ->  int
80// operation: det (smatrix)  ->  poly, only commutative rings, field coeffs
81// operation: det (matrix)  ->  poly, only commutative rings
82// operation: dim (ideal)  ->  int
83// operation: dim (module)  ->  int
84// operation: dim (resolution)  ->  int
85// operation: dump (link)  ->  nothing
86// operation: gen (int)  ->  vector requires currRing
87// operation: execute (string)  ->  nothing
88// operation: ERROR (string)  ->  nothing
89// operation: factorize (poly)  ->  list, only commutative rings, domain coeffs
90// operation: finduni (ideal)  ->  ideal, only commutative rings, field coeffs
91// operation: freemodule (int)  ->  module requires currRing
92// operation: facstd (ideal)  ->  list, only commutative rings, field coeffs
93// operation: getdump (link)  ->  nothing
94// operation: highcorner (ideal)  ->  poly, only commutative rings
95// operation: highcorner (module)  ->  vector, only commutative rings
96// operation: hilb (ideal)  ->  nothing, domain coeffs
97// operation: hilb (module)  ->  nothing, domain coeffs
98// operation: hilb (intvec)  ->  intvec, domain coeffs
99// operation: homog (ideal)  ->  int
100// operation: homog (module)  ->  int
101// operation: ideal (ideal)  ->  ideal
102// operation: ideal (vector)  ->  ideal
103// operation: ideal (matrix)  ->  ideal
104// operation: ideal (ring)  ->  ideal requires currRing
105// operation: ideal (map)  ->  ideal
106// operation: impart (number)  ->  number
107// operation: indepSet (ideal)  ->  intvec, only commutative rings, field coeffs
108// operation: int (int)  ->  int
109// operation: int (bigint)  ->  int
110// operation: int (number)  ->  int
111// operation: int (poly)  ->  int
112// operation: int (string)  ->  int
113// operation: interred (ideal)  ->  ideal
114// operation: interred (module)  ->  module
115// operation: intmat (bigintmat)  ->  intmat
116// operation: intmat (intmat)  ->  intmat
117// operation: intvec (intmat)  ->  intvec
118// operation: intvec (intvec)  ->  intvec
119// operation: intvec (bigintvec)  ->  intvec
120// operation: rvar (poly)  ->  int
121// operation: rvar (string)  ->  int
122// operation: rvar (any_type)  ->  int
123// operation: jacob (poly)  ->  ideal
124// operation: jacob (ideal)  ->  matrix
125// operation: jacob (module)  ->  module
126// operation: janet (ideal)  ->  ideal, field coeffs
127// operation: kbase (ideal)  ->  ideal, QQ coeffs
128// operation: kbase (module)  ->  module, QQ coeffs
129// operation: kernel (matrix)  ->  matrix
130// operation: kernel (smatrix)  ->  smatrix
131// operation: laguerre (poly)  ->  list, only commutative rings, field coeffs
132// operation: ludecomp (matrix)  ->  list, only commutative rings, field coeffs
133// operation: primefactors (bigint)  ->  list
134// operation: primefactors (number)  ->  list
135// operation: killattrib (identifier)  ->  nothing
136// operation: lead (poly)  ->  poly
137// operation: lead (ideal)  ->  ideal
138// operation: lead (vector)  ->  vector
139// operation: lead (module)  ->  module
140// operation: leadcoef (poly)  ->  number
141// operation: leadcoef (vector)  ->  number
142// operation: leadexp (poly)  ->  intvec
143// operation: leadexp (vector)  ->  intvec
144// operation: leadmonom (poly)  ->  poly
145// operation: leadmonom (vector)  ->  vector
146// operation: link (link)  ->  link
147// operation: list (def)  ->  list
148// DUMMY // operation: map (any_type)  ->  $INVALID$
149// operation: matrix (matrix)  ->  matrix
150// operation: maxideal (int)  ->  ideal requires currRing
151// operation: memory (int)  ->  bigint
152// operation: minbase (ideal)  ->  ideal, only commutative rings, field coeffs
153// operation: minbase (module)  ->  module, only commutative rings, field coeffs
154// operation: minres (list)  ->  list, field coeffs
155// operation: minres (resolution)  ->  resolution, field coeffs
156// operation: module (module)  ->  module
157// operation: monitor (link)  ->  nothing
158// operation: monomial (intvec)  ->  poly requires currRing
159// operation: mult (ideal)  ->  int, only commutative rings
160// operation: mult (module)  ->  int, only commutative rings
161// operation: mstd (ideal)  ->  list, only commutative rings
162// operation: mstd (module)  ->  list, only commutative rings
163// operation: nameof (any_type)  ->  string
164// operation: names (int)  ->  list
165// operation: names (package)  ->  list
166// operation: names (ring)  ->  list
167// operation: not (int)  ->  int
168// operation: number (number)  ->  number
169// operation: number (poly)  ->  number
170// operation: number (bigint)  ->  number requires currRing
171// operation: $INVALID$ ($INVALID$)  ->  $INVALID$
172// operation: npars (ring)  ->  int
173// operation: nvars (ring)  ->  int
174// operation: open (link)  ->  nothing
175// operation: option (def)  ->  nothing
176// operation: ord (poly)  ->  int
177// operation: ord (vector)  ->  int
178// operation: ordstr (ring)  ->  string
179// operation: par (int)  ->  number requires currRing
180// operation: pardeg (number)  ->  int
181// operation: parstr (int)  ->  string
182// operation: parstr (ring)  ->  string
183// operation: poly (poly)  ->  poly
184// operation: poly (bigint)  ->  poly requires currRing
185// operation: preimage (map)  ->  ring, letterplace rings
186// operation: prime (int)  ->  int
187// operation: print (list)  ->  string
188// operation: print (def)  ->  string
189// operation: proc (proc)  ->  proc
190// operation: prune (module)  ->  module, field coeffs
191// operation: qhweight (ideal)  ->  intvec
192// operation: qhweight (module)  ->  intvec
193// operation: rank (matrix)  ->  int, field coeffs
194// operation: read (link)  ->  string
195// operation: regularity (list)  ->  int, only commutative rings
196// operation: repart (number)  ->  number
197// operation: reservedName (string)  ->  int
198// operation: resolution (list)  ->  resolution requires currRing
199// operation: resolution (resolution)  ->  resolution
200// operation: restart (int)  ->  nothing
201// operation: rightstd (ideal)  ->  ideal, field coeffs
202// operation: ringlist (ring)  ->  list
203// operation: ring_list (cring)  ->  list
204// operation: ring_list (ring)  ->  list
205// operation: ring (ring)  ->  ring
206// operation: ring (list)  ->  ring
207// operation: nrows (vector)  ->  int
208// operation: nrows (module)  ->  int
209// operation: nrows (matrix)  ->  int
210// operation: nrows (smatrix)  ->  int
211// operation: nrows (intmat)  ->  int
212// operation: nrows (bigintmat)  ->  int
213// operation: nrows (intvec)  ->  int
214// operation: sba (ideal)  ->  ideal
215// operation: sba (module)  ->  module
216// operation: setring (ring)  ->  nothing
217// operation: slimgb (ideal)  ->  ideal, field coeffs
218// operation: slimgb (module)  ->  module, field coeffs
219// operation: smatrix (smatrix)  ->  smatrix
220// operation: sortvec (ideal)  ->  intvec
221// operation: sortvec (module)  ->  intvec
222// operation: sqrfree (poly)  ->  list, only commutative rings, field coeffs
223// operation: std (ideal)  ->  ideal
224// operation: std (module)  ->  module
225// operation: std (smatrix)  ->  smatrix
226// operation: string (string)  ->  string
227// operation: syz (ideal)  ->  module, field coeffs for non-global orderings
228// operation: syz (module)  ->  module, field coeffs for non-global orderings
229// operation: envelope (ring)  ->  ring, field coeffs
230// operation: opposite (ring)  ->  ring, field coeffs
231// operation: twostd (ideal)  ->  ideal
232// operation: twostd (module)  ->  module, letterplace rings
233// operation: trace (intmat)  ->  int
234// operation: trace (matrix)  ->  poly
235// operation: transpose (intvec)  ->  intmat
236// operation: transpose (intmat)  ->  intmat
237// operation: transpose (bigintmat)  ->  bigintmat
238// operation: transpose (matrix)  ->  matrix
239// operation: transpose (module)  ->  module
240// operation: transpose (smatrix)  ->  smatrix
241// operation: typeof (any_type)  ->  string
242// operation: univariate (poly)  ->  int
243// operation: variables (poly)  ->  ideal
244// operation: variables (ideal)  ->  ideal
245// operation: variables (matrix)  ->  ideal
246// operation: vector (vector)  ->  vector
247// operation: vdim (ideal)  ->  int, QQ coeffs
248// operation: vdim (module)  ->  int, QQ coeffs
249// operation: var (int)  ->  poly requires currRing
250// operation: varstr (int)  ->  string
251// operation: varstr (ring)  ->  string
252// operation: weight (ideal)  ->  intvec
253// operation: weight (module)  ->  intvec
254// operation: load (string)  ->  nothing
255// operation: convhull (ideal)  ->  ideal
256// operation: waitfirst (list)  ->  int
257// operation: waitall (list)  ->  int
258/*---------------------------------------------*/
259// operation: :: (def, def)  ->  any_type
260// operation: + (int, int)  ->  int
261// operation: + (bigint, bigint)  ->  bigint
262// operation: + (number, number)  ->  number
263// operation: + (poly, poly)  ->  polyBucket
264// operation: + (vector, vector)  ->  vector
265// operation: + (ideal, ideal)  ->  ideal
266// operation: + (module, module)  ->  module
267// operation: + (poly, matrix)  ->  matrix
268// operation: + (matrix, poly)  ->  matrix
269// operation: + (matrix, matrix)  ->  matrix
270// operation: + (smatrix, smatrix)  ->  smatrix
271// operation: + (string, string)  ->  string
272// operation: + (bigintmat, bigintmat)  ->  bigintmat
273// operation: + (bigintvec, bigintvec)  ->  bigintvec
274// operation: + (bigintmat, int)  ->  bigintmat
275// operation: + (int, bigintmat)  ->  bigintmat
276// operation: + (bigintmat, bigint)  ->  bigintmat
277// operation: + (bigint, bigintmat)  ->  bigintmat
278// operation: + (bigintvec, int)  ->  bigintvec
279// operation: + (int, bigintvec)  ->  bigintvec
280// operation: + (bigintvec, bigint)  ->  bigintvec
281// operation: + (bigint, bigintvec)  ->  bigintvec
282// operation: + (intvec, int)  ->  intvec
283// operation: + (int, intvec)  ->  intvec
284// operation: + (intmat, int)  ->  intmat
285// operation: + (int, intmat)  ->  intmat
286// operation: + (intvec, intvec)  ->  intvec
287// operation: + (intmat, intmat)  ->  intmat
288// operation: + (list, list)  ->  list
289// operation: + (ring, ring)  ->  ring
290// operation: + (ring, string)  ->  ring
291// operation: + (string, ring)  ->  ring
292// operation: + (polyBucket, poly)  ->  polyBucket
293// operation: - (int, int)  ->  int
294// operation: - (bigint, bigint)  ->  bigint
295// operation: - (number, number)  ->  number
296// operation: - (poly, poly)  ->  polyBucket
297// operation: - (vector, vector)  ->  vector
298// operation: - (vector, vector)  ->  vector
299// operation: - (matrix, poly)  ->  matrix
300// operation: - (matrix, matrix)  ->  matrix
301// operation: - (smatrix, smatrix)  ->  smatrix
302// operation: - (bigintmat, bigintmat)  ->  bigintmat
303// operation: - (bigintmat, int)  ->  bigintmat
304// operation: - (int, bigintmat)  ->  bigintmat
305// operation: - (bigintmat, bigint)  ->  bigintmat
306// operation: - (bigint, bigintmat)  ->  bigintmat
307// operation: - (bigintvec, bigintvec)  ->  bigintvec
308// operation: - (bigintvec, int)  ->  bigintvec
309// operation: - (int, bigintvec)  ->  bigintvec
310// operation: - (bigintvec, bigint)  ->  bigintvec
311// operation: - (bigint, bigintvec)  ->  bigintvec
312// operation: - (intvec, int)  ->  intvec
313// operation: - (intmat, int)  ->  intmat
314// operation: - (intvec, intvec)  ->  intvec
315// operation: - (intmat, intmat)  ->  intmat
316// operation: - (ring, string)  ->  ring
317// operation: - (polyBucket, poly)  ->  polyBucket
318// DUMMY // operation: - (ideal, ideal)  ->  nothing
319// DUMMY // operation: - (module, module)  ->  nothing
320// operation: * (int, int)  ->  int
321// operation: * (bigint, bigint)  ->  bigint
322// operation: * (number, number)  ->  number
323// operation: * (poly, poly)  ->  poly
324// operation: * (poly, vector)  ->  vector
325// operation: * (vector, poly)  ->  vector
326// operation: * (ideal, poly)  ->  ideal
327// operation: * (poly, ideal)  ->  ideal
328// operation: * (module, poly)  ->  module
329// operation: * (poly, module)  ->  module
330// operation: * (ideal, ideal)  ->  ideal
331// operation: * (ideal, vector)  ->  module
332// operation: * (vector, ideal)  ->  module
333// operation: * (ideal, module)  ->  module
334// operation: * (module, ideal)  ->  module
335// operation: * (matrix, poly)  ->  matrix
336// operation: * (poly, matrix)  ->  matrix
337// operation: * (matrix, number)  ->  matrix
338// operation: * (number, matrix)  ->  matrix
339// operation: * (matrix, int)  ->  matrix
340// operation: * (int, matrix)  ->  matrix
341// operation: * (matrix, matrix)  ->  matrix
342// operation: * (matrix, bigint)  ->  matrix
343// operation: * (bigint, matrix)  ->  matrix
344// operation: * (smatrix, smatrix)  ->  smatrix
345// operation: * (bigintmat, bigintmat)  ->  bigintmat
346// operation: * (bigintmat, int)  ->  bigintmat
347// operation: * (int, bigintmat)  ->  bigintmat
348// operation: * (bigintmat, bigint)  ->  bigintmat
349// operation: * (bigint, bigintmat)  ->  bigintmat
350// operation: * (bigintvec, int)  ->  bigintvec
351// operation: * (int, bigintvec)  ->  bigintvec
352// operation: * (bigintvec, bigint)  ->  bigintvec
353// operation: * (bigint, bigintvec)  ->  bigintvec
354// operation: * (intvec, int)  ->  intvec
355// operation: * (int, intvec)  ->  intvec
356// operation: * (intmat, int)  ->  intmat
357// operation: * (int, intmat)  ->  intmat
358// operation: * (intmat, intvec)  ->  intvec
359// operation: * (intmat, intmat)  ->  intmat
360// operation: * (intvec, intmat)  ->  intmat
361// DUMMY // operation: * (module, module)  ->  $INVALID$
362// operation: / (number, number)  ->  number
363// operation: / (poly, poly)  ->  poly
364// operation: / (vector, poly)  ->  vector
365// operation: / (matrix, poly)  ->  matrix, field coeffs
366// operation: / (int, int)  ->  int
367// operation: / (bigint, bigint)  ->  bigint
368// operation: / (intvec, int)  ->  intvec
369// operation: / (intmat, int)  ->  intmat
370// operation: / (cring, int)  ->  cring
371// operation: / (cring, bigint)  ->  cring
372// operation: div (int, int)  ->  int
373// operation: div (bigint, bigint)  ->  bigint
374// operation: div (intvec, int)  ->  intvec
375// operation: div (intmat, int)  ->  intmat
376// operation: div (poly, poly)  ->  poly
377// operation: div (vector, poly)  ->  vector
378// operation: % (int, int)  ->  int
379// operation: % (bigint, bigint)  ->  bigint
380// operation: % (intvec, int)  ->  intvec
381// operation: % (intmat, int)  ->  intmat
382// operation: % (number, number)  ->  number
383// operation: % (poly, poly)  ->  poly, only commutative rings, field coeffs
384// operation: ^ (int, int)  ->  int
385// operation: ^ (bigint, int)  ->  bigint
386// operation: ^ (number, int)  ->  number
387// operation: ^ (poly, int)  ->  poly
388// operation: ^ (ideal, int)  ->  ideal
389// operation: <= (int, int)  ->  int
390// operation: <= (bigint, bigint)  ->  int
391// operation: <= (number, number)  ->  int
392// operation: <= (string, string)  ->  int
393// operation: <= (intvec, int)  ->  int
394// operation: <= (intvec, intvec)  ->  int
395// operation: <= (poly, poly)  ->  int
396// operation: <= (vector, vector)  ->  int
397// operation: <= (matrix, matrix)  ->  int
398// operation: < (int, int)  ->  int
399// operation: < (bigint, bigint)  ->  int
400// operation: < (number, number)  ->  int
401// operation: < (intvec, int)  ->  int
402// operation: < (intvec, intvec)  ->  int
403// operation: < (string, string)  ->  int
404// operation: < (poly, poly)  ->  int
405// operation: < (vector, vector)  ->  int
406// operation: < (matrix, matrix)  ->  int
407// operation: >= (int, int)  ->  int
408// operation: >= (bigint, bigint)  ->  int
409// operation: >= (number, number)  ->  int
410// operation: >= (string, string)  ->  int
411// operation: >= (intvec, int)  ->  int
412// operation: >= (intvec, intvec)  ->  int
413// operation: >= (poly, poly)  ->  int
414// operation: >= (vector, vector)  ->  int
415// operation: >= (matrix, matrix)  ->  int
416// operation: > (int, int)  ->  int
417// operation: > (bigint, bigint)  ->  int
418// operation: > (number, number)  ->  int
419// operation: > (string, string)  ->  int
420// operation: > (intvec, int)  ->  int
421// operation: > (intvec, intvec)  ->  int
422// operation: > (poly, poly)  ->  int
423// operation: > (vector, vector)  ->  int
424// operation: > (matrix, matrix)  ->  int
425// operation: and (int, int)  ->  int
426// operation: or (int, int)  ->  int
427// operation: == (int, int)  ->  int
428// operation: == (ring, int)  ->  int
429// operation: == (ring, ring)  ->  int
430// operation: == (bigint, bigint)  ->  int
431// operation: == (number, number)  ->  int
432// operation: == (string, string)  ->  int
433// operation: == (poly, poly)  ->  int
434// operation: == (vector, vector)  ->  int
435// operation: == (intvec, int)  ->  int
436// operation: == (intvec, intvec)  ->  int
437// operation: == (intmat, intmat)  ->  int
438// operation: == (bigintmat, bigintmat)  ->  int
439// operation: == (bigintvec, bigintvec)  ->  int
440// operation: == (cring, cring)  ->  int
441// operation: == (matrix, matrix)  ->  int
442// operation: == (smatrix, smatrix)  ->  int
443// operation: == (ring, ring)  ->  int
444// DUMMY // operation: == (ideal, ideal)  ->  $INVALID$
445// DUMMY // operation: == (module, module)  ->  $INVALID$
446// DUMMY // operation: == (ideal, module)  ->  $INVALID$
447// DUMMY // operation: == (module, ideal)  ->  $INVALID$
448// operation: <> (int, int)  ->  int
449// operation: <> (bigint, bigint)  ->  int
450// operation: <> (number, number)  ->  int
451// operation: <> (string, string)  ->  int
452// operation: <> (poly, poly)  ->  int
453// operation: <> (vector, vector)  ->  int
454// operation: <> (intvec, intvec)  ->  int
455// operation: <> (intmat, intmat)  ->  int
456// operation: <> (matrix, matrix)  ->  int
457// operation: <> (smatrix, smatrix)  ->  int
458// operation: <> (bigintmat, bigintmat)  ->  int
459// operation: <> (bigintvec, bigintvec)  ->  int
460// operation: <> (cring, cring)  ->  int
461// DUMMY // operation: <> (ideal, ideal)  ->  $INVALID$
462// DUMMY // operation: <> (module, module)  ->  $INVALID$
463// DUMMY // operation: <> (ideal, module)  ->  $INVALID$
464// DUMMY // operation: <> (module, ideal)  ->  $INVALID$
465// operation: <> (ring, ring)  ->  int
466// operation: .. (int, int)  ->  intvec
467// operation: [ (intvec, int)  ->  int
468// operation: [ (intvec, intvec)  ->  int
469// operation: [ (bigintvec, int)  ->  bigint
470// operation: [ (bigintvec, intvec)  ->  bigint
471// operation: [ (ideal, int)  ->  poly
472// operation: [ (map, int)  ->  poly
473// operation: [ (ideal, intvec)  ->  poly
474// operation: [ (module, int)  ->  vector
475// operation: [ (module, intvec)  ->  vector
476// operation: [ (string, int)  ->  string
477// operation: [ (string, intvec)  ->  string
478// operation: [ (list, int)  ->  any_type
479// operation: [ (list, intvec)  ->  any_type
480// operation: [ (poly, int)  ->  poly
481// operation: [ (polyBucket, int)  ->  poly
482// operation: [ (poly, intvec)  ->  poly
483// operation: [ (vector, int)  ->  poly
484// operation: [ (vector, intvec)  ->  vector
485// operation: [ (cring, any_type)  ->  ring
486// operation: ( (proc, def)  ->  any_type
487// operation: ( (map, def)  ->  any_type
488// operation: ( (LIB, string)  ->  nothing
489// operation: ( (any_type, int)  ->  any_type
490// operation: ( (any_type, intvec)  ->  any_type
491// operation: : (int, int)  ->  intvec
492// operation: align (vector, int)  ->  vector
493// operation: align (module, int)  ->  module
494// operation: attrib (def, string)  ->  nothing
495// operation: betti (list, int)  ->  intmat
496// operation: betti (resolution, int)  ->  intmat
497// operation: betti (ideal, int)  ->  intmat
498// operation: betti (module, int)  ->  intmat
499// operation: bracket (poly, poly)  ->  poly
500// operation: chinrem (intvec, intvec)  ->  bigint
501// operation: chinrem (list, intvec)  ->  any_type
502// operation: chinrem (list, list)  ->  any_type
503// operation: coef (poly, poly)  ->  matrix
504// operation: coef (ideal, poly)  ->  matrix
505// operation: coeffs (ideal, poly)  ->  matrix
506// operation: coeffs (module, poly)  ->  matrix
507// operation: coeffs (ideal, ideal)  ->  matrix
508// operation: coeffs (module, module)  ->  matrix
509// operation: contract (ideal, ideal)  ->  matrix
510// operation: deg (poly, intvec)  ->  int
511// operation: deg (vector, intvec)  ->  int
512// operation: deg (matrix, intvec)  ->  int
513// operation: delete (intvec, int)  ->  intvec
514// operation: delete (ideal, int)  ->  ideal
515// operation: delete (ideal, intvec)  ->  ideal
516// operation: delete (module, int)  ->  module
517// operation: delete (module, intvec)  ->  module
518// operation: delete (list, int)  ->  list
519// operation: delete (list, intvec)  ->  list
520// operation: det (smatrix, string)  ->  poly, only commutative rings, field coeffs
521// operation: det (matrix, string)  ->  poly, only commutative rings
522// operation: diff (poly, poly)  ->  poly
523// operation: diff (vector, poly)  ->  vector
524// operation: diff (ideal, poly)  ->  ideal
525// operation: diff (ideal, ideal)  ->  matrix
526// operation: diff (module, poly)  ->  module
527// operation: diff (matrix, poly)  ->  matrix
528// operation: diff (number, number)  ->  number
529// operation: dim (ideal, ideal)  ->  int
530// operation: dim (module, ideal)  ->  int
531// operation: division (ideal, ideal)  ->  list
532// operation: division (module, module)  ->  list
533// operation: eliminate (ideal, poly)  ->  ideal
534// operation: eliminate (module, poly)  ->  module
535// operation: eliminate (ideal, intvec)  ->  ideal
536// operation: eliminate (module, intvec)  ->  module
537// operation: exportto (package, identifier)  ->  nothing
538// operation: extgcd (int, int)  ->  list
539// operation: extgcd (bigint, bigint)  ->  list
540// operation: extgcd (poly, poly)  ->  list, only commutative rings, field coeffs
541// operation: factorize (poly, int)  ->  ideal, only commutative rings, field coeffs
542// operation: facstd (ideal, ideal)  ->  list, only commutative rings, field coeffs
543// operation: farey (bigint, bigint)  ->  number requires currRing, field coeffs
544// operation: farey (ideal, bigint)  ->  ideal, field coeffs
545// operation: farey (module, bigint)  ->  module, field coeffs
546// operation: farey (matrix, bigint)  ->  matrix, field coeffs
547// operation: farey (smatrix, bigint)  ->  smatrix, field coeffs
548// operation: farey (list, bigint)  ->  list, field coeffs
549// operation: fetch (ring, any_type)  ->  any_type
550// operation: fglm (ring, def)  ->  ideal requires currRing, only commutative rings, field coeffs
551// operation: fglmquot (ideal, poly)  ->  ideal, only commutative rings, field coeffs
552// operation: find (string, string)  ->  int
553// operation: fres (ideal, int)  ->  resolution, only commutative rings, field coeffs
554// operation: fres (module, int)  ->  resolution, only commutative rings, field coeffs
555// operation: frwalk (ring, def)  ->  ideal requires currRing, only commutative rings, field coeffs
556// operation: gcd (int, int)  ->  int
557// operation: gcd (number, number)  ->  number
558// operation: gcd (bigint, bigint)  ->  bigint
559// operation: gcd (poly, poly)  ->  poly, only commutative rings
560// operation: hilb (ideal, int)  ->  bigintvec, domain coeffs
561// operation: hilb (module, int)  ->  bigintvec, domain coeffs
562// operation: homog (ideal, intvec)  ->  int
563// operation: homog (module, intvec)  ->  int
564// operation: homog (poly, poly)  ->  poly
565// operation: homog (vector, poly)  ->  vector
566// operation: homog (ideal, poly)  ->  ideal
567// operation: homog (module, poly)  ->  module
568// operation: hres (ideal, int)  ->  resolution, only commutative rings, field coeffs
569// operation: imap (ring, any_type)  ->  any_type
570// operation: importfrom (package, any_type)  ->  nothing
571// operation: indepSet (ideal, int)  ->  list, only commutative rings, field coeffs
572// operation: insert (list, def)  ->  list
573// operation: interpolation (list, intvec)  ->  ideal requires currRing, only commutative rings, field coeffs
574// operation: intersect (ideal, ideal)  ->  ideal
575// operation: intersect (module, module)  ->  module
576// operation: janet (ideal, int)  ->  ideal, field coeffs
577// operation: jet (poly, int)  ->  poly
578// operation: jet (ideal, int)  ->  ideal
579// operation: jet (vector, int)  ->  vector
580// operation: jet (module, int)  ->  module
581// operation: jet (matrix, int)  ->  matrix
582// operation: kbase (ideal, int)  ->  ideal, QQ coeffs
583// operation: kbase (module, int)  ->  module, QQ coeffs
584// operation: kernel (ring, any_type)  ->  ideal requires currRing
585// operation: killattrib (identifier, string)  ->  nothing
586// operation: koszul (int, int)  ->  matrix requires currRing, only commutative rings
587// operation: koszul (int, ideal)  ->  matrix, only commutative rings
588// operation: kres (ideal, int)  ->  resolution, only commutative rings, field coeffs
589// operation: lift (ideal, ideal)  ->  matrix
590// operation: lift (module, module)  ->  matrix
591// operation: liftstd (ideal, matrix)  ->  ideal
592// operation: liftstd (module, matrix)  ->  module
593// operation: load (string, string)  ->  nothing
594// operation: lres (ideal, int)  ->  resolution, only commutative rings, field coeffs
595// operation: modulo (ideal, ideal)  ->  module
596// operation: modulo (module, module)  ->  module
597// operation: monitor (link, string)  ->  nothing
598// operation: mpresmat (ideal, int)  ->  module, only commutative rings, field coeffs
599// operation: newstruct (string, string)  ->  nothing
600// operation: mres (ideal, int)  ->  resolution, field coeffs
601// operation: mres (module, int)  ->  resolution, field coeffs
602// operation: primefactors (bigint, int)  ->  list
603// operation: primefactors (number, int)  ->  list
604// operation: ncalgebra (poly, poly)  ->  nothing, only commutative rings, field coeffs
605// operation: ncalgebra (poly, matrix)  ->  nothing, only commutative rings, field coeffs
606// operation: ncalgebra (matrix, poly)  ->  nothing, only commutative rings, field coeffs
607// operation: ncalgebra (matrix, matrix)  ->  nothing, only commutative rings, field coeffs
608// operation: nc_algebra (poly, poly)  ->  ring, only commutative rings, field coeffs
609// operation: nc_algebra (poly, matrix)  ->  ring, only commutative rings, field coeffs
610// operation: nc_algebra (matrix, poly)  ->  ring, only commutative rings, field coeffs
611// operation: nc_algebra (matrix, matrix)  ->  ring, only commutative rings, field coeffs
612// operation: oppose (ring, def)  ->  any_type, field coeffs
613// operation: parstr (ring, int)  ->  string
614// operation: print (def, string)  ->  string
615// operation: prune_map (module, identifier)  ->  module
616// operation: quotient (ideal, ideal)  ->  ideal
617// operation: quotient (module, ideal)  ->  module
618// operation: quotient (module, module)  ->  ideal
619// operation: random (int, int)  ->  int
620// operation: rank (matrix, int)  ->  int, field coeffs
621// operation: read (link, string)  ->  string
622// operation: reduce (poly, ideal)  ->  poly
623// operation: reduce (vector, ideal)  ->  vector
624// operation: reduce (vector, module)  ->  vector
625// operation: reduce (ideal, ideal)  ->  ideal
626// operation: reduce (module, ideal)  ->  module
627// operation: reduce (module, module)  ->  module
628// operation: nres (ideal, int)  ->  resolution, field coeffs
629// operation: nres (module, int)  ->  resolution, field coeffs
630// operation: sba (ideal, int)  ->  ideal
631// operation: sba (module, int)  ->  module
632// operation: simplify (poly, int)  ->  poly
633// operation: simplify (vector, int)  ->  vector
634// operation: simplify (ideal, int)  ->  ideal
635// operation: simplify (module, int)  ->  module
636// operation: sqrfree (poly, int)  ->  ideal, only commutative rings
637// operation: status (link, string)  ->  string
638// operation: status (list, int)  ->  int
639// operation: sres (ideal, int)  ->  resolution, only commutative rings
640// operation: sres (module, int)  ->  resolution, only commutative rings
641// operation: std (ideal, poly)  ->  ideal
642// operation: std (module, vector)  ->  module
643// operation: std (ideal, ideal)  ->  ideal
644// operation: std (module, module)  ->  module
645// operation: std (ideal, bigintvec)  ->  ideal, field coeffs
646// operation: std (module, bigintvec)  ->  module, field coeffs
647// operation: syz (ideal, string)  ->  module
648// operation: syz (module, string)  ->  module
649// operation: tensor (matrix, matrix)  ->  matrix
650// operation: tensor (module, module)  ->  module
651// operation: tensor (smatrix, smatrix)  ->  smatrix
652// operation: varstr (ring, int)  ->  string
653// operation: waitfirst (list, int)  ->  int
654// operation: waitall (list, int)  ->  int
655// operation: wedge (matrix, int)  ->  matrix, only commutative rings
656/*---------------------------------------------*/
657// operation: [ (string, int, int)  ->  string
658// operation: [ (intmat, int, int)  ->  int
659// operation: [ (bigintmat, int, int)  ->  bigint
660// operation: [ (intmat, int, intvec)  ->  int
661// operation: [ (bigintmat, int, intvec)  ->  bigint
662// operation: [ (intmat, intvec, int)  ->  int
663// operation: [ (bigintmat, intvec, int)  ->  bigint
664// operation: [ (intmat, intvec, intvec)  ->  int
665// operation: [ (bigintmat, intvec, intvec)  ->  bigint
666// operation: [ (matrix, int, int)  ->  poly
667// operation: [ (smatrix, int, int)  ->  poly
668// operation: [ (matrix, int, intvec)  ->  poly
669// operation: [ (matrix, intvec, int)  ->  poly
670// operation: [ (matrix, intvec, intvec)  ->  poly
671// operation: [ (cring, any_type, any_type)  ->  ring
672// operation: ( (proc, def, def)  ->  any_type
673// operation: attrib (identifier, string, def)  ->  nothing
674// operation: bareiss (module, int, int)  ->  list, only commutative rings, domain coeffs
675// operation: bracket (poly, poly, int)  ->  poly
676// operation: coeffs (poly, poly, matrix)  ->  matrix
677// operation: coeffs (vector, poly, matrix)  ->  matrix
678// operation: coeffs (ideal, poly, matrix)  ->  matrix
679// operation: coeffs (module, poly, matrix)  ->  matrix
680// operation: coeffs (ideal, ideal, poly)  ->  matrix
681// operation: coeffs (module, module, poly)  ->  matrix
682// operation: eliminate (ideal, poly, bigintvec)  ->  ideal, only commutative rings, field coeffs
683// operation: eliminate (module, poly, bigintvec)  ->  module, only commutative rings, field coeffs
684// operation: eliminate (ideal, poly, string)  ->  ideal
685// operation: eliminate (module, poly, string)  ->  module
686// operation: find (string, string, int)  ->  int
687// operation: fres (ideal, int, string)  ->  resolution, only commutative rings, field coeffs
688// operation: fres (module, int, string)  ->  resolution, only commutative rings, field coeffs
689// operation: frwalk (ring, def, int)  ->  ideal requires currRing, only commutative rings
690// operation: hilb (ideal, int, intvec)  ->  bigintvec, domain coeffs
691// operation: hilb (module, int, intvec)  ->  bigintvec, domain coeffs
692// operation: hilb (ideal, ring, string)  ->  nothing, domain coeffs
693// operation: hilb (module, ring, string)  ->  nothing, domain coeffs
694// operation: homog (poly, poly, intvec)  ->  poly
695// operation: homog (vector, poly, intvec)  ->  vector
696// operation: homog (ideal, poly, intvec)  ->  ideal
697// operation: homog (module, poly, intvec)  ->  module
698// operation: homog (module, intvec, intvec)  ->  int
699// operation: insert (list, def, int)  ->  list
700// operation: intersect (ideal, ideal, string)  ->  ideal
701// operation: intersect (module, module, string)  ->  module
702// operation: intersect (ideal, ideal, ideal)  ->  ideal
703// operation: intersect (module, module, module)  ->  module
704// operation: intmat (intmat, int, int)  ->  intmat
705// operation: jet (poly, int, intvec)  ->  poly, field coeffs
706// operation: jet (ideal, int, intvec)  ->  ideal, field coeffs
707// operation: jet (vector, int, intvec)  ->  vector, field coeffs
708// operation: jet (module, int, intvec)  ->  module, field coeffs
709// operation: jet (poly, poly, int)  ->  poly, field coeffs
710// operation: jet (vector, poly, int)  ->  vector, field coeffs
711// operation: jet (ideal, matrix, int)  ->  ideal, field coeffs
712// operation: jet (module, matrix, int)  ->  module, field coeffs
713// DUMMY // operation: jet (poly, int, int)  ->  poly, field coeffs
714// operation: koszul (int, int, ideal)  ->  matrix, only commutative rings, field coeffs
715// operation: lift (ideal, ideal, matrix)  ->  matrix
716// operation: lift (module, module, matrix)  ->  matrix
717// operation: liftstd (ideal, matrix, module)  ->  ideal
718// operation: liftstd (module, matrix, module)  ->  module
719// operation: liftstd (ideal, matrix, string)  ->  ideal
720// operation: liftstd (module, matrix, string)  ->  module
721// operation: matrix (ideal, int, int)  ->  matrix
722// operation: matrix (module, int, int)  ->  matrix
723// operation: matrix (matrix, int, int)  ->  matrix
724// operation: modulo (ideal, ideal, matrix)  ->  module
725// operation: modulo (ideal, ideal, string)  ->  module
726// operation: modulo (module, module, matrix)  ->  module
727// operation: modulo (module, module, string)  ->  module
728// operation: mres_map (ideal, int, smatrix)  ->  resolution, field coeffs
729// operation: mres_map (module, int, smatrix)  ->  resolution, field coeffs
730// operation: smatrix (module, int, int)  ->  smatrix
731// operation: smatrix (smatrix, int, int)  ->  smatrix
732// operation: newstruct (string, string, string)  ->  nothing
733// operation: preimage (ring, any_type, any_type)  ->  ideal requires currRing
734// operation: random (int, int, int)  ->  intmat
735// operation: reduce (poly, ideal, int)  ->  poly
736// operation: reduce (vector, ideal, int)  ->  vector
737// operation: reduce (vector, module, int)  ->  vector
738// operation: reduce (ideal, ideal, int)  ->  ideal
739// operation: reduce (module, module, int)  ->  module
740// operation: reduce (module, ideal, int)  ->  module
741// operation: reduce (poly, poly, ideal)  ->  poly
742// operation: reduce (vector, poly, module)  ->  vector
743// operation: reduce (ideal, ideal, matrix)  ->  ideal
744// operation: reduce (module, module, matrix)  ->  module
745// operation: resultant (poly, poly, poly)  ->  poly, only commutative rings
746// operation: ring (def, def, def)  ->  ring
747// operation: sba (ideal, int, int)  ->  ideal
748// operation: sba (module, int, int)  ->  module
749// operation: status (link, string, string)  ->  int
750// operation: std (ideal, bigintvec, intvec)  ->  ideal, field coeffs
751// operation: std (module, bigintvec, intvec)  ->  module, field coeffs
752// operation: subst (def, poly, polyBucket)  ->  any_type
753// operation: subst (poly, poly, poly)  ->  poly
754// operation: subst (vector, poly, poly)  ->  vector
755// operation: subst (ideal, poly, poly)  ->  ideal
756// operation: subst (module, poly, poly)  ->  module
757// operation: subst (matrix, poly, poly)  ->  matrix
758// operation: subst (matrix, poly, int)  ->  matrix
759// operation: subst (matrix, poly, number)  ->  matrix
760// operation: laguerre (poly, int, int)  ->  list, only commutative rings, field coeffs
761// operation: vandermonde (ideal, ideal, int)  ->  poly, only commutative rings, field coeffs
762/*---------------------------------------------*/
763// operation: ( (...)  ->  any_type ( number of arguments >0 )
764// operation: [ (...)  ->  ring ( number of arguments >0 )
765// operation: bigintvec (...)  ->  bigintvec ( 1 arguments )
766// operation: bigintvec (...)  ->  bigintvec ( number of arguments >0 )
767// operation: breakpoint (...)  ->  nothing ( 0 arguments )
768// operation: breakpoint (...)  ->  nothing ( number of arguments >0 )
769// operation: branchTo (...)  ->  nothing ( number of arguments >0 )
770// operation: coef (...)  ->  matrix ( 2 arguments )
771// operation: coef (...)  ->  nothing ( 4 arguments )
772// operation: division (...)  ->  list ( 2 arguments )
773// operation: division (...)  ->  list ( 3 arguments )
774// operation: division (...)  ->  list ( 4 arguments )
775// operation: dbprint (...)  ->  nothing ( number of arguments >0 )
776// operation: fetch (...)  ->  any_type ( 2 arguments )
777// operation: fetch (...)  ->  any_type ( 3 arguments )
778// operation: fetch (...)  ->  any_type ( 4 arguments )
779// operation: hilb (...)  ->  any_type ( 1 arguments )
780// operation: hilb (...)  ->  any_type ( 2 arguments )
781// operation: hilb (...)  ->  any_type ( 3 arguments )
782// operation: ideal (...)  ->  ideal ( 1 arguments )
783// operation: ideal (...)  ->  ideal ( any number of arguments )
784// operation: intersect (...)  ->  ideal ( 2 arguments )
785// operation: intersect (...)  ->  ideal ( 3 arguments )
786// operation: intersect (...)  ->  ideal ( number of arguments >0 )
787// operation: intvec (...)  ->  intvec ( 1 arguments )
788// operation: intvec (...)  ->  intvec ( number of arguments >0 )
789// operation: jet (...)  ->  poly ( 2 arguments )
790// operation: jet (...)  ->  poly ( 3 arguments )
791// operation: jet (...)  ->  poly ( 4 arguments )
792// operation: LIB (...)  ->  nothing ( 1 arguments )
793// operation: lift (...)  ->  matrix ( 2 arguments )
794// operation: lift (...)  ->  matrix ( 3 arguments )
795// operation: lift (...)  ->  matrix ( 4 arguments )
796// operation: liftstd (...)  ->  ideal ( 2 arguments )
797// operation: liftstd (...)  ->  ideal ( 3 arguments )
798// operation: liftstd (...)  ->  ideal ( 4 arguments )
799// operation: liftstd (...)  ->  ideal ( 5 arguments )
800// operation: list (...)  ->  list ( any number of arguments )
801// operation: luinverse (...)  ->  list ( number of arguments >0 )
802// operation: lusolve (...)  ->  list ( number of arguments >0 )
803// operation: minor (...)  ->  nothing ( 1 arguments )
804// operation: minor (...)  ->  ideal ( number of arguments >0 )
805// operation: module (...)  ->  module ( 1 arguments )
806// operation: module (...)  ->  module ( any number of arguments )
807// operation: modulo (...)  ->  module ( 2 arguments )
808// operation: modulo (...)  ->  module ( 3 arguments )
809// operation: modulo (...)  ->  module ( 4 arguments )
810// operation: names (...)  ->  list ( 1 arguments )
811// operation: names (...)  ->  list ( 0 arguments )
812// operation: $INVALID$ (...)  ->  $INVALID$ ( 2 arguments )
813// operation: option (...)  ->  string ( any number of arguments )
814// operation: reduce (...)  ->  ideal ( 2 arguments )
815// operation: reduce (...)  ->  ideal ( 3 arguments )
816// operation: reduce (...)  ->  ideal ( 4 arguments )
817// operation: reduce (...)  ->  ideal ( 5 arguments )
818// operation: reservedName (...)  ->  int ( 1 arguments )
819// operation: reservedName (...)  ->  nothing ( 0 arguments )
820// operation: reservedNameList (...)  ->  list ( 0 arguments )
821// operation: string (...)  ->  string ( any number of arguments )
822// operation: subst (...)  ->  nothing ( 3 arguments )
823// operation: subst (...)  ->  nothing ( number of arguments >0 )
824// operation: system (...)  ->  nothing ( number of arguments >0 )
825// operation: test (...)  ->  nothing ( number of arguments >0 )
826// operation: write (...)  ->  nothing ( number of arguments >0 )
827// operation: status (...)  ->  string ( 2 arguments )
828// operation: status (...)  ->  int ( 3 arguments )
829// operation: status (...)  ->  int ( 4 arguments )
830// operation: simplex (...)  ->  list ( 6 arguments )
831// operation: uressolve (...)  ->  list ( 4 arguments )
832// operation: std (...)  ->  ideal ( 1 arguments )
833// operation: std (...)  ->  ideal ( 2 arguments )
834// operation: std (...)  ->  ideal ( 3 arguments )
835// operation: std (...)  ->  ideal ( 4 arguments )
836// operation: qrds (...)  ->  list ( 4 arguments )
837// operation: factmodd (...)  ->  list ( number of arguments >0 )
838/*---------------------------------------------*/
839// assign: bigint =  bigint
840// assign: bigint =  number
841// assign: bigintvec =  bigintvec
842// assign: bigintvec =  intvec
843// assign: bigintmat =  bigintmat
844// assign: cring =  cring
845// assign: ideal =  ideal
846// assign: ideal =  module
847// assign: ideal =  matrix
848// assign: int =  int
849// assign: int =  intmat
850// assign: intvec =  intvec
851// assign: intmat =  intmat
852// assign: link =  string
853// assign: link =  link
854// assign: list =  resolution
855// assign: list =  list
856// assign: map =  ideal
857// assign: map =  map
858// assign: matrix =  matrix
859// assign: module =  module
860// assign: module =  poly
861// assign: number =  number
862// assign: package =  package
863// assign: poly =  poly
864// assign: poly =  matrix
865// assign: poly =  polyBucket
866// assign: proc =  string
867// assign: proc =  proc
868// assign: resolution =  resolution
869// assign: ring =  ring
870// assign: ring =  ideal
871// assign: smatrix =  smatrix
872// assign: smatrix =  module
873// assign: string =  string
874// assign: vector =  vector
875// assign: def =  def
876/*---------------------------------------------*/
877// convert bigintvec -> bigintmat
878// convert intmat -> bigintmat
879// convert int -> bigintvec
880// convert intvec -> bigintvec
881// convert intvec -> intmat
882// convert polyBucket -> ideal
883// convert poly -> ideal
884// convert bigint -> ideal
885// convert int -> ideal
886// convert intmat -> matrix
887// convert polyBucket -> matrix
888// convert ideal -> matrix
889// convert module -> matrix
890// convert number -> matrix
891// convert poly -> matrix
892// convert smatrix -> matrix
893// convert vector -> matrix
894// convert bigint -> matrix
895// convert int -> matrix
896// convert intvec -> matrix
897// convert ideal -> module
898// convert matrix -> module
899// convert smatrix -> module
900// convert vector -> module
901// convert bigint -> number
902// convert int -> number
903// convert polyBucket -> poly
904// convert number -> poly
905// convert bigint -> poly
906// convert int -> poly
907// convert list -> resolution
908// convert matrix -> smatrix
909// convert module -> smatrix
910// convert polyBucket -> vector
911// convert poly -> vector
912// convert bigint -> vector
913// convert int -> vector
914// convert int -> bigint
915// convert int -> intvec
916// convert string -> link
917// convert resolution -> list
918/*---------------------------------------------*/
919// token 61 : =
920// token 62 : >
921// token 60 : <
922// token 43 : +
923// token 42 : *
924// token 47 : /
925// token 91 : [
926// token 46 : .
927// token 94 : ^
928// token 44 : ,
929// token 37 : %
930// token 40 : (
931// token 59 : ;
932// token 258 : ..
933// token 259 : ==
934// token 260 : >=
935// token 261 : <=
936// token 262 : --
937// token 263 : not
938// token 264 : <>
939// token 265 : ++
940// token 266 : ::
941// token 269 : bigintmat
942// token 270 : bigintvec
943// token 271 : intmat
944// token 272 : proc
945// token 273 : ring
946// token 275 : polyBucket
947// token 276 : ideal
948// token 277 : map
949// token 278 : matrix
950// token 279 : module
951// token 280 : number
952// token 281 : poly
953// token 282 : resolution
954// token 283 : smatrix
955// token 284 : vector
956// token 285 : betti
957// token 286 : gen
958// token 287 : fetch
959// token 288 : freemodule
960// token 289 : keepring
961// token 290 : imap
962// token 291 : koszul
963// token 292 : maxideal
964// token 293 : monomial
965// token 294 : par
966// token 295 : preimage
967// token 296 : var
968// token 298 : degBound
969// token 299 : multBound
970// token 300 : noether
971// token 301 : minpoly
972// token 302 : nothing
973// token 315 : example
974// token 316 : export
975// token 318 : kill
976// token 319 : LIB
977// token 320 : listvar
978// token 321 : setring
979// token 322 : type
980// token 329 : apply
981// token 330 : ASSUME
982// token 331 : break
983// token 332 : continue
984// token 333 : else
985// token 334 : eval
986// token 335 : quote
987// token 337 : forif
988// token 340 : return
989// token 341 : parameter
990// token 345 : command
991// token 346 : any_type
992// token 347 : identifier
993// token 358 : alias
994// token 359 : align
995// token 360 : attrib
996// token 361 : bareiss
997// token 362 : bigint
998// token 363 : branchTo
999// token 364 : bracket
1000// token 365 : breakpoint
1001// token 366 : char
1002// token 367 : charstr
1003// token 368 : char_series
1004// token 369 : chinrem
1005// token 373 : close
1006// token 374 : coeffs
1007// token 375 : coef
1008// token 376 : ncols
1009// token 377 : cleardenom
1010// token 378 : contract
1011// token 379 : size
1012// token 380 : cring
1013// token 381 : dbprint
1014// token 382 : def
1015// token 383 : defined
1016// token 384 : deg
1017// token 385 : degree
1018// token 386 : delete
1019// token 387 : denominator
1020// token 388 : det
1021// token 389 : diff
1022// token 390 : dim
1023// token 391 : division
1024// token 392 : dump
1025// token 393 : eliminate
1026// token 394 : RETURN
1027// token 395 : envelope
1028// token 396 : ERROR
1029// token 397 : execute
1030// token 398 : exportto
1031// token 399 : extgcd
1032// token 400 : factorize
1033// token 401 : farey
1034// token 402 : find
1035// token 403 : facstd
1036// token 404 : factmodd
1037// token 405 : fres
1038// token 406 : frwalk
1039// token 407 : fglm
1040// token 408 : fglmquot
1041// token 409 : finduni
1042// token 410 : gcd
1043// token 411 : getdump
1044// token 412 : highcorner
1045// token 413 : hilb
1046// token 414 : homog
1047// token 415 : hres
1048// token 416 : impart
1049// token 417 : importfrom
1050// token 418 : indepSet
1051// token 419 : insert
1052// token 420 : int
1053// token 421 : div
1054// token 422 : interpolation
1055// token 423 : interred
1056// token 424 : intersect
1057// token 425 : intvec
1058// token 426 : rvar
1059// token 427 : jacob
1060// token 428 : janet
1061// token 429 : jet
1062// token 430 : kbase
1063// token 431 : kernel
1064// token 432 : killattrib
1065// token 433 : kres
1066// token 434 : laguerre
1067// token 435 : lead
1068// token 436 : leadcoef
1069// token 437 : leadexp
1070// token 438 : leadmonom
1071// token 439 : liftstd
1072// token 440 : lift
1073// token 441 : link
1074// token 442 : list
1075// token 443 : load
1076// token 444 : lres
1077// token 445 : ludecomp
1078// token 446 : luinverse
1079// token 447 : lusolve
1080// token 448 : memory
1081// token 449 : minbase
1082// token 450 : minor
1083// token 451 : minres
1084// token 452 : modulo
1085// token 453 : monitor
1086// token 454 : mpresmat
1087// token 455 : mres
1088// token 456 : mres_map
1089// token 457 : mstd
1090// token 458 : mult
1091// token 459 : nameof
1092// token 460 : names
1093// token 461 : newstruct
1094// token 462 : ncalgebra
1095// token 463 : nc_algebra
1096// token 464 : convhull
1097// token 465 : npars
1098// token 466 : numerator
1099// token 467 : nvars
1100// token 468 : ord
1101// token 469 : open
1102// token 470 : oppose
1103// token 471 : opposite
1104// token 472 : option
1105// token 473 : ordstr
1106// token 474 : package
1107// token 475 : pardeg
1108// token 477 : parstr
1109// token 478 : primefactors
1110// token 479 : prime
1111// token 480 : print
1112// token 481 : prune
1113// token 482 : prune_map
1114// token 483 : qhweight
1115// token 484 : qring
1116// token 485 : qrds
1117// token 486 : quotient
1118// token 487 : random
1119// token 488 : rank
1120// token 489 : read
1121// token 490 : reduce
1122// token 491 : regularity
1123// token 492 : repart
1124// token 493 : nres
1125// token 494 : reservedName
1126// token 495 : reservedNameList
1127// token 496 : restart
1128// token 497 : resultant
1129// token 498 : rightstd
1130// token 499 : ringlist
1131// token 500 : ring_list
1132// token 501 : nrows
1133// token 502 : sba
1134// token 503 : simplex
1135// token 504 : simplify
1136// token 505 : slimgb
1137// token 506 : sortvec
1138// token 507 : sqrfree
1139// token 508 : sres
1140// token 509 : status
1141// token 510 : std
1142// token 511 : string
1143// token 512 : subst
1144// token 513 : system
1145// token 514 : syz
1146// token 515 : tensor
1147// token 516 : test
1148// token 517 : transpose
1149// token 518 : trace
1150// token 519 : twostd
1151// token 520 : typeof
1152// token 521 : univariate
1153// token 523 : uressolve
1154// token 524 : vandermonde
1155// token 525 : variables
1156// token 526 : varstr
1157// token 527 : vdim
1158// token 528 : waitfirst
1159// token 529 : waitall
1160// token 530 : wedge
1161// token 531 : weight
1162// token 532 : write
1163// token 533 : echo
1164// token 534 : pagewidth
1165// token 535 : timer
1166// token 536 : rtimer
1167// token 537 : TRACE
1168// token 538 : voice
1169// token 539 : short
1170// token 540 : printlevel
1171/*--max. token: 541, gr: 343 --*/
1172/*---------------------------------------------*/
1173const struct sValCmdTab dArithTab1[]=
1174{
1175 { 40,11 }, /* ( */
1176 { 45,2 }, /* - */
1177 { 262,1 }, /* -- */
1178 { 263,152 }, /* not */
1179 { 265,0 }, /* ++ */
1180 { 269,22 }, /* bigintmat */
1181 { 270,23 }, /* bigintvec */
1182 { 271,100 }, /* intmat */
1183 { 272,174 }, /* proc */
1184 { 273,190 }, /* ring */
1185 { 276,86 }, /* ideal */
1186 { 277,133 }, /* map */
1187 { 278,134 }, /* matrix */
1188 { 279,141 }, /* module */
1189 { 280,153 }, /* number */
1190 { 281,168 }, /* poly */
1191 { 282,183 }, /* resolution */
1192 { 283,204 }, /* smatrix */
1193 { 284,231 }, /* vector */
1194 { 285,15 }, /* betti */
1195 { 286,71 }, /* gen */
1196 { 288,76 }, /* freemodule */
1197 { 292,135 }, /* maxideal */
1198 { 293,143 }, /* monomial */
1199 { 294,164 }, /* par */
1200 { 295,170 }, /* preimage */
1201 { 296,234 }, /* var */
1202 { 321,201 }, /* setring */
1203 { 360,12 }, /* attrib */
1204 { 361,13 }, /* bareiss */
1205 { 362,19 }, /* bigint */
1206 { 366,24 }, /* char */
1207 { 367,26 }, /* charstr */
1208 { 368,25 }, /* char_series */
1209 { 371,156 }, /* $INVALID$ */
1210 { 373,27 }, /* close */
1211 { 374,28 }, /* coeffs */
1212 { 376,29 }, /* ncols */
1213 { 377,35 }, /* cleardenom */
1214 { 379,37 }, /* size */
1215 { 380,52 }, /* cring */
1216 { 382,53 }, /* def */
1217 { 383,60 }, /* defined */
1218 { 384,55 }, /* deg */
1219 { 385,58 }, /* degree */
1220 { 387,61 }, /* denominator */
1221 { 388,63 }, /* det */
1222 { 390,67 }, /* dim */
1223 { 392,70 }, /* dump */
1224 { 395,214 }, /* envelope */
1225 { 396,73 }, /* ERROR */
1226 { 397,72 }, /* execute */
1227 { 400,74 }, /* factorize */
1228 { 403,77 }, /* facstd */
1229 { 409,75 }, /* finduni */
1230 { 411,78 }, /* getdump */
1231 { 412,79 }, /* highcorner */
1232 { 413,81 }, /* hilb */
1233 { 414,84 }, /* homog */
1234 { 416,91 }, /* impart */
1235 { 418,92 }, /* indepSet */
1236 { 420,93 }, /* int */
1237 { 423,98 }, /* interred */
1238 { 425,102 }, /* intvec */
1239 { 426,105 }, /* rvar */
1240 { 427,108 }, /* jacob */
1241 { 428,111 }, /* janet */
1242 { 430,112 }, /* kbase */
1243 { 431,114 }, /* kernel */
1244 { 432,120 }, /* killattrib */
1245 { 434,116 }, /* laguerre */
1246 { 435,121 }, /* lead */
1247 { 436,125 }, /* leadcoef */
1248 { 437,127 }, /* leadexp */
1249 { 438,129 }, /* leadmonom */
1250 { 441,131 }, /* link */
1251 { 442,132 }, /* list */
1252 { 443,239 }, /* load */
1253 { 445,117 }, /* ludecomp */
1254 { 448,136 }, /* memory */
1255 { 449,137 }, /* minbase */
1256 { 451,139 }, /* minres */
1257 { 453,142 }, /* monitor */
1258 { 457,146 }, /* mstd */
1259 { 458,144 }, /* mult */
1260 { 459,148 }, /* nameof */
1261 { 460,149 }, /* names */
1262 { 464,240 }, /* convhull */
1263 { 465,157 }, /* npars */
1264 { 466,62 }, /* numerator */
1265 { 467,158 }, /* nvars */
1266 { 468,161 }, /* ord */
1267 { 469,159 }, /* open */
1268 { 471,215 }, /* opposite */
1269 { 472,160 }, /* option */
1270 { 473,163 }, /* ordstr */
1271 { 475,165 }, /* pardeg */
1272 { 477,166 }, /* parstr */
1273 { 478,118 }, /* primefactors */
1274 { 479,171 }, /* prime */
1275 { 480,172 }, /* print */
1276 { 481,175 }, /* prune */
1277 { 483,176 }, /* qhweight */
1278 { 488,178 }, /* rank */
1279 { 489,179 }, /* read */
1280 { 491,180 }, /* regularity */
1281 { 492,181 }, /* repart */
1282 { 494,182 }, /* reservedName */
1283 { 496,185 }, /* restart */
1284 { 498,186 }, /* rightstd */
1285 { 499,187 }, /* ringlist */
1286 { 500,188 }, /* ring_list */
1287 { 501,192 }, /* nrows */
1288 { 502,199 }, /* sba */
1289 { 505,202 }, /* slimgb */
1290 { 506,205 }, /* sortvec */
1291 { 507,207 }, /* sqrfree */
1292 { 510,208 }, /* std */
1293 { 511,211 }, /* string */
1294 { 514,212 }, /* syz */
1295 { 517,220 }, /* transpose */
1296 { 518,218 }, /* trace */
1297 { 519,216 }, /* twostd */
1298 { 520,226 }, /* typeof */
1299 { 521,227 }, /* univariate */
1300 { 525,228 }, /* variables */
1301 { 526,235 }, /* varstr */
1302 { 527,232 }, /* vdim */
1303 { 528,241 }, /* waitfirst */
1304 { 529,242 }, /* waitall */
1305 { 531,237 }, /* weight */
1306 { 10000,0 }
1307};
1308#define JJTAB1LEN 131
1309const struct sValCmdTab dArithTab2[]=
1310{
1311 { 37,119 }, /* % */
1312 { 38,166 }, /* and */
1313 { 40,227 }, /* ( */
1314 { 42,61 }, /* * */
1315 { 43,1 }, /* + */
1316 { 45,34 }, /* - */
1317 { 47,103 }, /* / */
1318 { 58,232 }, /* : */
1319 { 60,139 }, /* < */
1320 { 62,157 }, /* > */
1321 { 91,208 }, /* [ */
1322 { 94,125 }, /* ^ */
1323 { 124,167 }, /* or */
1324 { 258,207 }, /* .. */
1325 { 259,168 }, /* == */
1326 { 260,148 }, /* >= */
1327 { 261,130 }, /* <= */
1328 { 264,189 }, /* <> */
1329 { 266,0 }, /* :: */
1330 { 285,236 }, /* betti */
1331 { 287,290 }, /* fetch */
1332 { 290,310 }, /* imap */
1333 { 291,327 }, /* koszul */
1334 { 359,233 }, /* align */
1335 { 360,235 }, /* attrib */
1336 { 364,240 }, /* bracket */
1337 { 369,241 }, /* chinrem */
1338 { 374,246 }, /* coeffs */
1339 { 375,244 }, /* coef */
1340 { 378,250 }, /* contract */
1341 { 384,251 }, /* deg */
1342 { 386,254 }, /* delete */
1343 { 388,261 }, /* det */
1344 { 389,263 }, /* diff */
1345 { 390,270 }, /* dim */
1346 { 391,272 }, /* division */
1347 { 393,274 }, /* eliminate */
1348 { 398,278 }, /* exportto */
1349 { 399,279 }, /* extgcd */
1350 { 400,282 }, /* factorize */
1351 { 401,284 }, /* farey */
1352 { 402,293 }, /* find */
1353 { 403,283 }, /* facstd */
1354 { 405,294 }, /* fres */
1355 { 406,296 }, /* frwalk */
1356 { 407,291 }, /* fglm */
1357 { 408,292 }, /* fglmquot */
1358 { 410,297 }, /* gcd */
1359 { 413,301 }, /* hilb */
1360 { 414,303 }, /* homog */
1361 { 415,309 }, /* hres */
1362 { 417,311 }, /* importfrom */
1363 { 418,312 }, /* indepSet */
1364 { 419,313 }, /* insert */
1365 { 421,113 }, /* div */
1366 { 422,314 }, /* interpolation */
1367 { 424,315 }, /* intersect */
1368 { 428,317 }, /* janet */
1369 { 429,318 }, /* jet */
1370 { 430,323 }, /* kbase */
1371 { 431,325 }, /* kernel */
1372 { 432,326 }, /* killattrib */
1373 { 433,329 }, /* kres */
1374 { 439,332 }, /* liftstd */
1375 { 440,330 }, /* lift */
1376 { 443,334 }, /* load */
1377 { 444,335 }, /* lres */
1378 { 452,336 }, /* modulo */
1379 { 453,338 }, /* monitor */
1380 { 454,339 }, /* mpresmat */
1381 { 455,341 }, /* mres */
1382 { 461,340 }, /* newstruct */
1383 { 462,345 }, /* ncalgebra */
1384 { 463,349 }, /* nc_algebra */
1385 { 470,353 }, /* oppose */
1386 { 477,354 }, /* parstr */
1387 { 478,343 }, /* primefactors */
1388 { 480,355 }, /* print */
1389 { 482,356 }, /* prune_map */
1390 { 486,357 }, /* quotient */
1391 { 487,360 }, /* random */
1392 { 488,361 }, /* rank */
1393 { 489,362 }, /* read */
1394 { 490,363 }, /* reduce */
1395 { 493,369 }, /* nres */
1396 { 502,371 }, /* sba */
1397 { 504,373 }, /* simplify */
1398 { 507,377 }, /* sqrfree */
1399 { 508,380 }, /* sres */
1400 { 509,378 }, /* status */
1401 { 510,382 }, /* std */
1402 { 514,388 }, /* syz */
1403 { 515,390 }, /* tensor */
1404 { 526,393 }, /* varstr */
1405 { 528,394 }, /* waitfirst */
1406 { 529,395 }, /* waitall */
1407 { 530,396 }, /* wedge */
1408 { 10000,0 }
1409};
1410#define JJTAB2LEN 97
1411/****************************************
1412*  Computer Algebra System SINGULAR     *
1413****************************************/
1414
1415// identifier table for Singular
1416//
1417void iiInitCmdName()
1418{
1419  sArithBase.nCmdUsed      = 0;
1420  sArithBase.nCmdAllocated = 245;
1421  sArithBase.sCmds = (cmdnames*)omAlloc0(245/*sArithBase.nCmdAllocated*/ *sizeof(cmdnames));
1422
1423  // name-string                   alias  tokval toktype index
1424  iiArithAddCmd("$INVALID$",           0,  -1, 0, 0);
1425  iiArithAddCmd("ASSUME",              0, 330, 330, 1);
1426  iiArithAddCmd("ERROR",               0, 396, CMD_1, 2);
1427  iiArithAddCmd("GCD",                 2, 410, CMD_2, 3);
1428  iiArithAddCmd("IN",                  1, 435, CMD_1, 4);
1429  iiArithAddCmd("LIB",                 0, 319, SYSVAR, 5);
1430  iiArithAddCmd("NF",                  1, 490, CMD_M, 6);
1431  iiArithAddCmd("RETURN",              0, 394, 340, 7);
1432  iiArithAddCmd("TRACE",               0, 537, SYSVAR, 8);
1433  iiArithAddCmd("alias",               0, 358, 341, 9);
1434  iiArithAddCmd("align",               0, 359, CMD_2, 10);
1435  iiArithAddCmd("and",                 0,  38, '&', 11);
1436  iiArithAddCmd("apply",               0, 329, 329, 12);
1437  iiArithAddCmd("attrib",              0, 360, CMD_123, 13);
1438  iiArithAddCmd("bareiss",             0, 361, CMD_13, 14);
1439  iiArithAddCmd("betti",               0, 285, CMD_12, 15);
1440  iiArithAddCmd("bigint",              0, 362, ROOT_DECL, 16);
1441  iiArithAddCmd("bigintmat",           0, 269, 269, 17);
1442  iiArithAddCmd("bigintvec",           0, 270, ROOT_DECL_LIST, 18);
1443  iiArithAddCmd("bracket",             0, 364, CMD_23, 19);
1444  iiArithAddCmd("branchTo",            0, 363, CMD_M, 20);
1445  iiArithAddCmd("break",               0, 331, 331, 21);
1446  iiArithAddCmd("breakpoint",          0, 365, CMD_M, 22);
1447  iiArithAddCmd("char",                0, 366, CMD_1, 23);
1448  iiArithAddCmd("char_series",         0, 368, CMD_1, 24);
1449  iiArithAddCmd("charstr",             0, 367, CMD_1, 25);
1450  iiArithAddCmd("chinrem",             0, 369, CMD_2, 26);
1451  iiArithAddCmd("cleardenom",          0, 377, CMD_1, 27);
1452  iiArithAddCmd("close",               0, 373, CMD_1, 28);
1453  iiArithAddCmd("coef",                0, 375, CMD_M, 29);
1454  iiArithAddCmd("coeffs",              0, 374, CMD_123, 30);
1455  iiArithAddCmd("continue",            0, 332, 332, 31);
1456  iiArithAddCmd("contract",            0, 378, CMD_2, 32);
1457  iiArithAddCmd("convhull",            0, 464, CMD_1, 33);
1458  iiArithAddCmd("cring",               0, 380, ROOT_DECL, 34);
1459  iiArithAddCmd("dbprint",             0, 381, CMD_M, 35);
1460  iiArithAddCmd("def",                 0, 382, ROOT_DECL, 36);
1461  iiArithAddCmd("defined",             0, 383, CMD_1, 37);
1462  iiArithAddCmd("deg",                 0, 384, CMD_12, 38);
1463  iiArithAddCmd("degBound",            0, 298, SYSVAR, 39);
1464  iiArithAddCmd("degree",              0, 385, CMD_1, 40);
1465  iiArithAddCmd("delete",              0, 386, CMD_2, 41);
1466  iiArithAddCmd("denominator",         0, 387, CMD_1, 42);
1467  iiArithAddCmd("det",                 0, 388, CMD_12, 43);
1468  iiArithAddCmd("diff",                0, 389, CMD_2, 44);
1469  iiArithAddCmd("dim",                 0, 390, CMD_12, 45);
1470  iiArithAddCmd("div",                 0, 421, '/', 46);
1471  iiArithAddCmd("division",            0, 391, CMD_M, 47);
1472  iiArithAddCmd("dump",                0, 392, CMD_1, 48);
1473  iiArithAddCmd("echo",                0, 533, SYSVAR, 49);
1474  iiArithAddCmd("eliminate",           0, 393, CMD_23, 50);
1475  iiArithAddCmd("else",                0, 333, 333, 51);
1476  iiArithAddCmd("envelope",            0, 395, CMD_1, 52);
1477  iiArithAddCmd("eval",                0, 334, 334, 53);
1478  iiArithAddCmd("example",             0, 315, 315, 54);
1479  iiArithAddCmd("execute",             0, 397, CMD_1, 55);
1480  iiArithAddCmd("export",              0, 316, 316, 56);
1481  iiArithAddCmd("exportto",            0, 398, CMD_2, 57);
1482  iiArithAddCmd("extgcd",              0, 399, CMD_2, 58);
1483  iiArithAddCmd("facstd",              0, 403, CMD_12, 59);
1484  iiArithAddCmd("factmodd",            0, 404, CMD_M, 60);
1485  iiArithAddCmd("factorize",           0, 400, CMD_12, 61);
1486  iiArithAddCmd("farey",               0, 401, CMD_2, 62);
1487  iiArithAddCmd("fetch",               0, 287, CMD_M, 63);
1488  iiArithAddCmd("fglm",                0, 407, CMD_2, 64);
1489  iiArithAddCmd("fglmquot",            0, 408, CMD_2, 65);
1490  iiArithAddCmd("find",                0, 402, CMD_23, 66);
1491  iiArithAddCmd("finduni",             0, 409, CMD_1, 67);
1492  iiArithAddCmd("forif",               0, 337, 337, 68);
1493  iiArithAddCmd("freemodule",          0, 288, CMD_1, 69);
1494  iiArithAddCmd("fres",                0, 405, CMD_23, 70);
1495  iiArithAddCmd("frwalk",              0, 406, CMD_23, 71);
1496  iiArithAddCmd("gcd",                 0, 410, CMD_2, 72);
1497  iiArithAddCmd("gen",                 0, 286, CMD_1, 73);
1498  iiArithAddCmd("getdump",             0, 411, CMD_1, 74);
1499  iiArithAddCmd("highcorner",          0, 412, CMD_1, 75);
1500  iiArithAddCmd("hilb",                0, 413, CMD_M, 76);
1501  iiArithAddCmd("homog",               0, 414, CMD_123, 77);
1502  iiArithAddCmd("hres",                0, 415, CMD_2, 78);
1503  iiArithAddCmd("ideal",               0, 276, 314, 79);
1504  iiArithAddCmd("if",                  0, 337, 337, 80);
1505  iiArithAddCmd("imap",                0, 290, CMD_2, 81);
1506  iiArithAddCmd("impart",              0, 416, CMD_1, 82);
1507  iiArithAddCmd("importfrom",          0, 417, CMD_2, 83);
1508  iiArithAddCmd("indepSet",            0, 418, CMD_12, 84);
1509  iiArithAddCmd("insert",              0, 419, CMD_23, 85);
1510  iiArithAddCmd("int",                 0, 420, ROOT_DECL, 86);
1511  iiArithAddCmd("interpolation",       0, 422, CMD_2, 87);
1512  iiArithAddCmd("interred",            0, 423, CMD_1, 88);
1513  iiArithAddCmd("intersect",           0, 424, CMD_M, 89);
1514  iiArithAddCmd("intmat",              0, 271, 271, 90);
1515  iiArithAddCmd("intvec",              0, 425, ROOT_DECL_LIST, 91);
1516  iiArithAddCmd("jacob",               0, 427, CMD_1, 92);
1517  iiArithAddCmd("janet",               0, 428, CMD_12, 93);
1518  iiArithAddCmd("jet",                 0, 429, CMD_M, 94);
1519  iiArithAddCmd("kbase",               0, 430, CMD_12, 95);
1520  iiArithAddCmd("keepring",            0, 289, 289, 96);
1521  iiArithAddCmd("kernel",              0, 431, CMD_12, 97);
1522  iiArithAddCmd("kill",                0, 318, 318, 98);
1523  iiArithAddCmd("killattrib",          0, 432, CMD_12, 99);
1524  iiArithAddCmd("koszul",              0, 291, CMD_23, 100);
1525  iiArithAddCmd("kres",                0, 433, CMD_2, 101);
1526  iiArithAddCmd("laguerre",            0, 434, CMD_13, 102);
1527  iiArithAddCmd("lead",                0, 435, CMD_1, 103);
1528  iiArithAddCmd("leadcoef",            0, 436, CMD_1, 104);
1529  iiArithAddCmd("leadexp",             0, 437, CMD_1, 105);
1530  iiArithAddCmd("leadmonom",           0, 438, CMD_1, 106);
1531  iiArithAddCmd("lift",                0, 440, CMD_M, 107);
1532  iiArithAddCmd("liftstd",             0, 439, CMD_M, 108);
1533  iiArithAddCmd("link",                0, 441, ROOT_DECL, 109);
1534  iiArithAddCmd("list",                0, 442, ROOT_DECL_LIST, 110);
1535  iiArithAddCmd("listvar",             0, 320, 320, 111);
1536  iiArithAddCmd("load",                0, 443, CMD_12, 112);
1537  iiArithAddCmd("lres",                0, 444, CMD_2, 113);
1538  iiArithAddCmd("ludecomp",            0, 445, CMD_1, 114);
1539  iiArithAddCmd("luinverse",           0, 446, CMD_M, 115);
1540  iiArithAddCmd("lusolve",             0, 447, CMD_M, 116);
1541  iiArithAddCmd("map",                 0, 277, RING_DECL, 117);
1542  iiArithAddCmd("matrix",              0, 278, 278, 118);
1543  iiArithAddCmd("maxideal",            0, 292, CMD_1, 119);
1544  iiArithAddCmd("memory",              0, 448, CMD_1, 120);
1545  iiArithAddCmd("minbase",             0, 449, CMD_1, 121);
1546  iiArithAddCmd("minor",               0, 450, CMD_M, 122);
1547  iiArithAddCmd("minpoly",             0, 301, SYSVAR, 123);
1548  iiArithAddCmd("minres",              0, 451, CMD_1, 124);
1549  iiArithAddCmd("mod",                 0,  37, '/', 125);
1550  iiArithAddCmd("module",              0, 279, 314, 126);
1551  iiArithAddCmd("modulo",              0, 452, CMD_M, 127);
1552  iiArithAddCmd("monitor",             0, 453, CMD_12, 128);
1553  iiArithAddCmd("monomial",            0, 293, CMD_1, 129);
1554  iiArithAddCmd("mpresmat",            0, 454, CMD_2, 130);
1555  iiArithAddCmd("mres",                0, 455, CMD_2, 131);
1556  iiArithAddCmd("mres_map",            0, 456, CMD_3, 132);
1557  iiArithAddCmd("mstd",                0, 457, CMD_1, 133);
1558  iiArithAddCmd("mult",                0, 458, CMD_1, 134);
1559  iiArithAddCmd("multBound",           0, 299, SYSVAR, 135);
1560  iiArithAddCmd("multiplicity",        1, 458, CMD_1, 136);
1561  iiArithAddCmd("nameof",              0, 459, CMD_1, 137);
1562  iiArithAddCmd("names",               0, 460, CMD_M, 138);
1563  iiArithAddCmd("nc_algebra",          0, 463, CMD_2, 139);
1564  iiArithAddCmd("ncalgebra",           2, 462, CMD_2, 140);
1565  iiArithAddCmd("ncols",               0, 376, CMD_1, 141);
1566  iiArithAddCmd("newstruct",           0, 461, CMD_23, 142);
1567  iiArithAddCmd("noether",             0, 300, SYSVAR, 143);
1568  iiArithAddCmd("not",                 0, 263, 263, 144);
1569  iiArithAddCmd("npars",               0, 465, CMD_1, 145);
1570  iiArithAddCmd("nres",                0, 493, CMD_2, 146);
1571  iiArithAddCmd("nrows",               0, 501, CMD_1, 147);
1572  iiArithAddCmd("number",              0, 280, RING_DECL, 148);
1573  iiArithAddCmd("numerator",           0, 466, CMD_1, 149);
1574  iiArithAddCmd("nvars",               0, 467, CMD_1, 150);
1575  iiArithAddCmd("open",                0, 469, CMD_1, 151);
1576  iiArithAddCmd("oppose",              0, 470, CMD_2, 152);
1577  iiArithAddCmd("opposite",            0, 471, CMD_1, 153);
1578  iiArithAddCmd("option",              0, 472, CMD_M, 154);
1579  iiArithAddCmd("or",                  0, 124, '&', 155);
1580  iiArithAddCmd("ord",                 0, 468, CMD_1, 156);
1581  iiArithAddCmd("ordstr",              0, 473, CMD_1, 157);
1582  iiArithAddCmd("package",             0, 474, ROOT_DECL, 158);
1583  iiArithAddCmd("pagewidth",           0, 534, SYSVAR, 159);
1584  iiArithAddCmd("par",                 0, 294, CMD_1, 160);
1585  iiArithAddCmd("parameter",           0, 341, 341, 161);
1586  iiArithAddCmd("pardeg",              0, 475, CMD_1, 162);
1587  iiArithAddCmd("parstr",              0, 477, CMD_12, 163);
1588  iiArithAddCmd("poly",                0, 281, RING_DECL, 164);
1589  iiArithAddCmd("polyBucket",          0, 275, RING_DECL, 165);
1590  iiArithAddCmd("preimage",            0, 295, CMD_13, 166);
1591  iiArithAddCmd("prime",               0, 479, CMD_1, 167);
1592  iiArithAddCmd("primefactors",        0, 478, CMD_12, 168);
1593  iiArithAddCmd("print",               0, 480, CMD_12, 169);
1594  iiArithAddCmd("printlevel",          0, 540, SYSVAR, 170);
1595  iiArithAddCmd("proc",                0, 272, 272, 171);
1596  iiArithAddCmd("prune",               0, 481, CMD_1, 172);
1597  iiArithAddCmd("prune_map",           0, 482, CMD_2, 173);
1598  iiArithAddCmd("qhweight",            0, 483, CMD_1, 174);
1599  iiArithAddCmd("qrds",                0, 485, CMD_M, 175);
1600  iiArithAddCmd("qring",               0, 484, ROOT_DECL, 176);
1601  iiArithAddCmd("quote",               0, 335, 335, 177);
1602  iiArithAddCmd("quotient",            0, 486, CMD_2, 178);
1603  iiArithAddCmd("random",              0, 487, CMD_23, 179);
1604  iiArithAddCmd("rank",                0, 488, CMD_12, 180);
1605  iiArithAddCmd("read",                0, 489, CMD_12, 181);
1606  iiArithAddCmd("reduce",              0, 490, CMD_M, 182);
1607  iiArithAddCmd("regularity",          0, 491, CMD_1, 183);
1608  iiArithAddCmd("repart",              0, 492, CMD_1, 184);
1609  iiArithAddCmd("reservedName",        0, 494, CMD_M, 185);
1610  iiArithAddCmd("reservedNameList",    0, 495, CMD_M, 186);
1611  iiArithAddCmd("resolution",          0, 282, RING_DECL, 187);
1612  iiArithAddCmd("restart",             0, 496, CMD_1, 188);
1613  iiArithAddCmd("resultant",           0, 497, CMD_3, 189);
1614  iiArithAddCmd("return",              0, 340, 340, 190);
1615  iiArithAddCmd("rightstd",            0, 498, CMD_1, 191);
1616  iiArithAddCmd("ring",                0, 273, 273, 192);
1617  iiArithAddCmd("ring_list",           0, 500, CMD_1, 193);
1618  iiArithAddCmd("ringlist",            0, 499, CMD_1, 194);
1619  iiArithAddCmd("rtimer",              0, 536, SYSVAR, 195);
1620  iiArithAddCmd("rvar",                0, 426, CMD_1, 196);
1621  iiArithAddCmd("sba",                 0, 502, CMD_123, 197);
1622  iiArithAddCmd("setring",             0, 321, 321, 198);
1623  iiArithAddCmd("short",               0, 539, SYSVAR, 199);
1624  iiArithAddCmd("simplex",             0, 503, CMD_M, 200);
1625  iiArithAddCmd("simplify",            0, 504, CMD_2, 201);
1626  iiArithAddCmd("size",                0, 379, CMD_1, 202);
1627  iiArithAddCmd("slimgb",              0, 505, CMD_1, 203);
1628  iiArithAddCmd("smatrix",             0, 283, 283, 204);
1629  iiArithAddCmd("sortvec",             0, 506, CMD_1, 205);
1630  iiArithAddCmd("sqrfree",             0, 507, CMD_12, 206);
1631  iiArithAddCmd("sres",                0, 508, CMD_2, 207);
1632  iiArithAddCmd("status",              0, 509, CMD_M, 208);
1633  iiArithAddCmd("std",                 0, 510, CMD_M, 209);
1634  iiArithAddCmd("string",              0, 511, ROOT_DECL_LIST, 210);
1635  iiArithAddCmd("subst",               0, 512, CMD_M, 211);
1636  iiArithAddCmd("system",              0, 513, CMD_M, 212);
1637  iiArithAddCmd("syz",                 0, 514, CMD_12, 213);
1638  iiArithAddCmd("tensor",              0, 515, CMD_2, 214);
1639  iiArithAddCmd("test",                0, 516, CMD_M, 215);
1640  iiArithAddCmd("timer",               0, 535, SYSVAR, 216);
1641  iiArithAddCmd("trace",               0, 518, CMD_1, 217);
1642  iiArithAddCmd("transpose",           0, 517, CMD_1, 218);
1643  iiArithAddCmd("twostd",              0, 519, CMD_1, 219);
1644  iiArithAddCmd("type",                0, 322, 322, 220);
1645  iiArithAddCmd("typeof",              0, 520, CMD_1, 221);
1646  iiArithAddCmd("univariate",          0, 521, CMD_1, 222);
1647  iiArithAddCmd("uressolve",           0, 523, CMD_M, 223);
1648  iiArithAddCmd("vandermonde",         0, 524, CMD_3, 224);
1649  iiArithAddCmd("var",                 0, 296, CMD_1, 225);
1650  iiArithAddCmd("variables",           0, 525, CMD_1, 226);
1651  iiArithAddCmd("varstr",              0, 526, CMD_12, 227);
1652  iiArithAddCmd("vdim",                0, 527, CMD_1, 228);
1653  iiArithAddCmd("vector",              0, 284, RING_DECL, 229);
1654  iiArithAddCmd("verbose",             2, 472, CMD_M, 230);
1655  iiArithAddCmd("voice",               0, 538, SYSVAR, 231);
1656  iiArithAddCmd("waitall",             0, 529, CMD_12, 232);
1657  iiArithAddCmd("waitfirst",           0, 528, CMD_12, 233);
1658  iiArithAddCmd("wedge",               0, 530, CMD_2, 234);
1659  iiArithAddCmd("weight",              0, 531, CMD_1, 235);
1660  iiArithAddCmd("whileif",             0, 337, 337, 236);
1661  iiArithAddCmd("write",               0, 532, CMD_M, 237);
1662  iiArithAddCmd("exit",                0,  -1, 0, 238);
1663  iiArithAddCmd("for",                 0,  -1, 0, 239);
1664  iiArithAddCmd("help",                0,  -1, 0, 240);
1665  iiArithAddCmd("newline",             0,  -1, 0, 241);
1666  iiArithAddCmd("pause",               2,  -1, 0, 242);
1667  iiArithAddCmd("quit",                0,  -1, 0, 243);
1668  iiArithAddCmd("while",               0,  -1, 0, 244);
1669/* end of list marker */
1670  sArithBase.nLastIdentifier = 237;
1671}
1672#define LAST_IDENTIFIER 237
Note: See TracBrowser for help on using the repository browser.