source: git/Singular/iparith.inc @ b390e5

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