source: git/Singular/syz.h @ d511af

fieker-DuValspielwiese
Last change on this file since d511af was 25003c, checked in by Thomas Siebert <siebert@…>, 26 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@1532 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[0e1846]1#ifndef SYZ_H
2#define SYZ_h
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
[25003c]6/* $Id: syz.h,v 1.8 1998-04-29 07:05:30 siebert Exp $ */
[0e1846]7/*
[dfc6b54]8* ABSTRACT: Resolutions
[0e1846]9*/
10#include "structs.h"
11
[66415e1]12struct sSObject{
13                 poly  p;
14                 poly  p1,p2; /*- the pair p comes from -*/
15                 poly  lcm;   /*- the lcm of p1,p2 -*/
16                 poly  syz;   /*- the syzygy associated to p1,p2 -*/
17                 int   ind1,ind2; /*- the indeces of p1,p2 -*/
[dfc6b54]18                 poly  isNotMinimal;
19                 int   syzind;
20                 int   order;
[66415e1]21               };
22typedef struct sSObject SObject;
23typedef SObject * SSet;
24typedef SSet * SRes;
25
[dfc6b54]26class ssyStrategy;
27typedef ssyStrategy * syStrategy;
28class ssyStrategy{
29  public:
30  int length;
31  int ** truecomponents;
32  int ** backcomponents;
33  int ** Howmuch;
34  int ** Firstelem;
[25003c]35  intvec ** weights;
[dfc6b54]36  resolvente res;
37  resolvente orderedRes;
38  SRes resPairs;
39  intvec * Tl;
40  resolvente fullres;
41  resolvente minres;
42  int references;
43  int * binom;
44  int highdeg_1;
45  intvec * resolution;
[7a30b9]46  intvec * cw;
[dfc6b54]47};
48
[0e1846]49void sySchreyersSyzygiesM(polyset F,int Fmax,polyset* Shdl,int* Smax,
50   BOOLEAN noSort);
51
52void sySchreyersSyzygiesB(polyset F,int Fmax,polyset* Shdl,int* Smax,
53   BOOLEAN noSort);
54
55resolvente sySchreyerResolvente(ideal arg, int maxlength, int * length,
[66415e1]56   BOOLEAN isMonomial=FALSE, BOOLEAN notReplace=FALSE);
[0e1846]57
[25003c]58syStrategy sySchreyer(ideal arg, int maxlength);
59
[0e1846]60resolvente syResolvente(ideal arg, int maxlength, int * length,
61                        intvec *** weights, BOOLEAN minim);
62
[25003c]63syStrategy syResolution(ideal arg, int maxlength,intvec * w, BOOLEAN minim);
64
[0e1846]65resolvente syMinRes(ideal arg, int maxlength, int * length, BOOLEAN minim);
66
67void syMinimizeResolvente(resolvente res, int length, int first);
68
69intvec * syBetti(resolvente res,int length, int * regularity,
70                 intvec* weights=NULL);
71
72ideal syMinBase(ideal arg);
73
74BOOLEAN syTestOrder(ideal i);
75
[66415e1]76void syReOrderResolventFB(resolvente res,int length, int initial=1);
77
78resolvente syLaScala1(ideal arg,int * length);
[dfc6b54]79syStrategy syLaScala3(ideal arg,int * length);
[66415e1]80
[dfc6b54]81void syKillComputation(syStrategy syzstr);
82intvec * syBettiOfComputation(syStrategy syzstr);
83int syLength(syStrategy syzstr);
84int sySize(syStrategy syzstr);
85int syDim(syStrategy syzstr);
86syStrategy syCopy(syStrategy syzstr);
87void syPrint(syStrategy syzstr);
88lists syConvRes(syStrategy syzstr);
89syStrategy syConvList(lists li);
90syStrategy syForceMin(lists li);
91syStrategy syMinimize(syStrategy syzstr);
[0e1846]92#endif
Note: See TracBrowser for help on using the repository browser.