Changeset ce9c2d in git for Singular/structs.h


Ignore:
Timestamp:
Feb 26, 1999, 4:32:06 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
f7343f357a06c50ebc347cc64f33a37193d88d12
Parents:
f5cda4654265f877bba8ddba45e4486d7c18a16b
Message:
*hannes: aligne structures


git-svn-id: file:///usr/local/Singular/svn/trunk@2874 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/structs.h

    rf5cda4 rce9c2d  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: structs.h,v 1.17 1998-12-14 15:32:29 Singular Exp $ */
     6/* $Id: structs.h,v 1.18 1999-02-26 15:32:06 Singular Exp $ */
    77/*
    88* ABSTRACT
     
    106106typedef procinfo *         procinfov;
    107107typedef namerec *          namehdl;
    108 #endif
    109108
    110109struct _scmdnames
     
    117116typedef struct _scmdnames cmdnames;
    118117
     118struct sip_sring
     119{
     120  idhdl      idroot; /* local objects */
     121  int*       order;  /* array of orderings */
     122  int*       block0; /* starting pos.*/
     123  int*       block1; /* ending pos.*/
     124  char**     parameter; /* names of parameters */
     125  number     minpoly;
     126  short**    wvhdl;  /* array of weight vectors */
     127  char **    names;  /* array of variable names */
     128  /* extension to the ring structure: qring */
     129  ideal      qideal;
     130#ifdef SDRING
     131  short      partN;
     132#endif
     133  short      ch;     /* characteristic */
     134  short      N;      /* number of vars */
     135
     136  short      P;      /* number of pars */
     137  short      OrdSgn; /* 1 for polynomial rings, -1 otherwise */
     138
     139  short      ref;
     140
     141  // what follows below here should be set by rComplete, _only_
     142  int       *VarOffset;   /* controls indexing of exponents */
     143  short     VarCompIndex; /* location of component in exp vector */
     144  short     VarLowIndex;  /* lowest index of an exponent */
     145  short     VarHighIndex; /* Highest index of an expoentn */
     146
     147#ifdef RDEBUG
     148  short      no; /* unique id for rings */
     149#endif
     150};
     151
     152struct sip_sideal
     153{
     154  poly*  m;
     155  long rank;
     156  int nrows;
     157  int ncols;
     158  #define IDELEMS(i) ((i)->ncols)
     159  inline int& idelems(void) { return ncols; }
     160};
     161
     162struct sip_smap
     163{
     164  poly *m;
     165  char *preimage;
     166  int nrows;
     167  int ncols;
     168};
     169#endif
     170
    119171/* the function pointer types */
    120172typedef number (*numberfunc)(number a,number b);
Note: See TracChangeset for help on using the changeset viewer.