Changeset f7a975 in git for libpolys/polys/simpleideals.h


Ignore:
Timestamp:
Apr 8, 2011, 12:13:42 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
9959c4523c38de5512e2a1bcc348be2677981317
Parents:
4021bbf45258a9c11212461e6d5de35fed6c4aac
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-04-08 12:13:42+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:21+01:00
Message:
moved simple ideal stuff to simpleideals.h
renamed ideals.cc to simpleideals.cc (needs to be cleaned)
fixed #includes for ideals.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/simpleideals.h

    r4021bb rf7a975  
    99*/
    1010#include <polys/monomials/ring.h>
     11
     12struct sip_sideal
     13{
     14  poly*  m;
     15  long rank;
     16  int nrows;
     17  int ncols;
     18  #define IDELEMS(i) ((i)->ncols)
     19  #define MATCOLS(i) ((i)->ncols)
     20  #define MATROWS(i) ((i)->nrows)
     21  #define MATELEM(mat,i,j) ((mat)->m)[MATCOLS((mat)) * ((i)-1) + (j)-1]
     22   
     23};
     24
     25struct sip_smap
     26{
     27  poly *m;
     28  char *preimage;
     29  int nrows;
     30  int ncols;
     31};
     32
     33class ip_smatrix;
     34typedef ip_smatrix *       matrix;
     35
     36struct sideal_list;
     37typedef struct sideal_list *      ideal_list;
     38
     39struct sideal_list
     40{
     41  ideal_list next;
     42  ideal      d;
     43#ifndef NDEBUG
     44  int nr;
     45#endif
     46};
    1147
    1248#ifdef PDEBUG
Note: See TracChangeset for help on using the changeset viewer.