spielwiese
Last change
on this file since 6f2edc was
6ae4f5,
checked in by Hans Schönemann <hannes@…>, 27 years ago
|
* hannes: - corrected scanner.l: parsing of strings in blocks:
if (1) { write("","}"); }
- corrected ipassign.cc: assignment of "dummy" types: DEF, NONE
- corrected sleftv::Print(_), initialisation of _
- added conversion int->def
- added CopyD(DEF)
- in insert(..): object should not be of type NONE (lists.cc:lInsert0)
- added int*intvec, int*intmat to iparith.cc
git-svn-id: file:///usr/local/Singular/svn/trunk@145 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | #ifndef RING_H |
---|
2 | #define RING_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* |
---|
7 | * ABSTRACT - the interpreter related ring operations |
---|
8 | */ |
---|
9 | /* $Id: ring.h,v 1.4 1997-04-09 12:20:07 Singular Exp $ */ |
---|
10 | |
---|
11 | /* includes */ |
---|
12 | #include "structs.h" |
---|
13 | |
---|
14 | void rSetHdl(idhdl h, BOOLEAN complete); |
---|
15 | idhdl rInit(char *s, sleftv* pn, sleftv* rv, sleftv* ord, |
---|
16 | BOOLEAN isDRing); |
---|
17 | idhdl rDefault(char *s); |
---|
18 | int rIsRingVar(char *n); |
---|
19 | char * RingVar(short); |
---|
20 | void rWrite(ring r); |
---|
21 | void rKill(idhdl h); |
---|
22 | void rKill(ring r); |
---|
23 | ring rCopy(ring r); |
---|
24 | idhdl rFindHdl(ring r, idhdl n); |
---|
25 | #ifdef DRING |
---|
26 | void rDSet(); |
---|
27 | #endif |
---|
28 | void rDInit(); |
---|
29 | int rOrderName(char * ordername); |
---|
30 | char * rOrdStr(ring r); |
---|
31 | char * rVarStr(ring r); |
---|
32 | char * rCharStr(ring r); |
---|
33 | char * rString(ring r); |
---|
34 | int rChar(ring r=currRing); |
---|
35 | #define rPar(r) (r->P) |
---|
36 | char * rParStr(ring r); |
---|
37 | int rIsExtension(ring r); |
---|
38 | int rIsExtension(); |
---|
39 | int rSum(ring r1, ring r2, ring &sum); |
---|
40 | |
---|
41 | enum |
---|
42 | { |
---|
43 | ringorder_no = 0, |
---|
44 | ringorder_a, |
---|
45 | ringorder_c, |
---|
46 | ringorder_C, |
---|
47 | ringorder_M, |
---|
48 | ringorder_lp, |
---|
49 | ringorder_dp, |
---|
50 | ringorder_Dp, |
---|
51 | ringorder_wp, |
---|
52 | ringorder_Wp, |
---|
53 | ringorder_ls, |
---|
54 | ringorder_ds, |
---|
55 | ringorder_Ds, |
---|
56 | ringorder_ws, |
---|
57 | ringorder_Ws, |
---|
58 | ringorder_unspec |
---|
59 | }; |
---|
60 | |
---|
61 | #ifdef RDEBUG |
---|
62 | extern short rNumber; |
---|
63 | #endif |
---|
64 | |
---|
65 | #endif |
---|
66 | |
---|
Note: See
TracBrowser
for help on using the repository browser.