source: git/Singular/syz.h @ f5a734

fieker-DuValspielwiese
Last change on this file since f5a734 was eb4bde, checked in by Hans Schönemann <hannes@…>, 25 years ago
*hannes: fixed currcomponents git-svn-id: file:///usr/local/Singular/svn/trunk@3103 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.7 KB
RevLine 
[0e1846]1#ifndef SYZ_H
2#define SYZ_h
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
[eb4bde]6/* $Id: syz.h,v 1.14 1999-06-08 07:57:13 Singular 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 ** truecomponents;
31  int ** backcomponents;
32  int ** Howmuch;
33  int ** Firstelem;
[25003c]34  intvec ** weights;
[dfc6b54]35  resolvente res;
36  resolvente orderedRes;
37  SRes resPairs;
38  intvec * Tl;
39  resolvente fullres;
40  resolvente minres;
41  int * binom;
42  intvec * resolution;
[7a30b9]43  intvec * cw;
[b83126e]44  int highdeg_1;
45  int length;
46  short list_length;
47  short references;
[dfc6b54]48};
49
[0e1846]50void sySchreyersSyzygiesM(polyset F,int Fmax,polyset* Shdl,int* Smax,
51   BOOLEAN noSort);
52
53void sySchreyersSyzygiesB(polyset F,int Fmax,polyset* Shdl,int* Smax,
54   BOOLEAN noSort);
55
56resolvente sySchreyerResolvente(ideal arg, int maxlength, int * length,
[66415e1]57   BOOLEAN isMonomial=FALSE, BOOLEAN notReplace=FALSE);
[0e1846]58
[25003c]59syStrategy sySchreyer(ideal arg, int maxlength);
60
[0e1846]61resolvente syResolvente(ideal arg, int maxlength, int * length,
62                        intvec *** weights, BOOLEAN minim);
63
[25003c]64syStrategy syResolution(ideal arg, int maxlength,intvec * w, BOOLEAN minim);
65
[0e1846]66resolvente syMinRes(ideal arg, int maxlength, int * length, BOOLEAN minim);
67
68void syMinimizeResolvente(resolvente res, int length, int first);
69
[8f1473]70resolvente syFastMin(resolvente res,int length);
71
[0e1846]72intvec * syBetti(resolvente res,int length, int * regularity,
73                 intvec* weights=NULL);
74
75ideal syMinBase(ideal arg);
76
77BOOLEAN syTestOrder(ideal i);
78
[66415e1]79void syReOrderResolventFB(resolvente res,int length, int initial=1);
80
81resolvente syLaScala1(ideal arg,int * length);
[dfc6b54]82syStrategy syLaScala3(ideal arg,int * length);
[66415e1]83
[dfc6b54]84void syKillComputation(syStrategy syzstr);
85intvec * syBettiOfComputation(syStrategy syzstr);
86int syLength(syStrategy syzstr);
87int sySize(syStrategy syzstr);
88int syDim(syStrategy syzstr);
89syStrategy syCopy(syStrategy syzstr);
90void syPrint(syStrategy syzstr);
[b982ef]91lists syConvRes(syStrategy syzstr,BOOLEAN toDel=FALSE);
92syStrategy syConvList(lists li,BOOLEAN toDel=FALSE);
[dfc6b54]93syStrategy syForceMin(lists li);
94syStrategy syMinimize(syStrategy syzstr);
[7ae776]95void syKillEmptyEntres(resolvente res,int length);
[8c8bea]96
[0e1846]97#endif
Note: See TracBrowser for help on using the repository browser.