source: git/Singular/ring.h @ 6ae4f5

spielwiese
Last change on this file since 6ae4f5 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
14void   rSetHdl(idhdl h, BOOLEAN complete);
15idhdl  rInit(char *s, sleftv* pn, sleftv* rv, sleftv* ord,
16  BOOLEAN isDRing);
17idhdl  rDefault(char *s);
18int    rIsRingVar(char *n);
19char * RingVar(short);
20void   rWrite(ring r);
21void   rKill(idhdl h);
22void   rKill(ring r);
23ring   rCopy(ring r);
24idhdl  rFindHdl(ring r, idhdl n);
25#ifdef DRING
26void rDSet();
27#endif
28void   rDInit();
29int rOrderName(char * ordername);
30char * rOrdStr(ring r);
31char * rVarStr(ring r);
32char * rCharStr(ring r);
33char * rString(ring r);
34int    rChar(ring r=currRing);
35#define rPar(r) (r->P)
36char * rParStr(ring r);
37int    rIsExtension(ring r);
38int    rIsExtension();
39int    rSum(ring r1, ring r2, ring &sum);
40
41enum
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
62extern short rNumber;
63#endif
64
65#endif
66
Note: See TracBrowser for help on using the repository browser.