source: git/Singular/syz.h @ 25003c

spielwiese
Last change on this file since 25003c 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
Line 
1#ifndef SYZ_H
2#define SYZ_h
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: syz.h,v 1.8 1998-04-29 07:05:30 siebert Exp $ */
7/*
8* ABSTRACT: Resolutions
9*/
10#include "structs.h"
11
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 -*/
18                 poly  isNotMinimal;
19                 int   syzind;
20                 int   order;
21               };
22typedef struct sSObject SObject;
23typedef SObject * SSet;
24typedef SSet * SRes;
25
26class ssyStrategy;
27typedef ssyStrategy * syStrategy;
28class ssyStrategy{
29  public:
30  int length;
31  int ** truecomponents;
32  int ** backcomponents;
33  int ** Howmuch;
34  int ** Firstelem;
35  intvec ** weights;
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;
46  intvec * cw;
47};
48
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,
56   BOOLEAN isMonomial=FALSE, BOOLEAN notReplace=FALSE);
57
58syStrategy sySchreyer(ideal arg, int maxlength);
59
60resolvente syResolvente(ideal arg, int maxlength, int * length,
61                        intvec *** weights, BOOLEAN minim);
62
63syStrategy syResolution(ideal arg, int maxlength,intvec * w, BOOLEAN minim);
64
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
76void syReOrderResolventFB(resolvente res,int length, int initial=1);
77
78resolvente syLaScala1(ideal arg,int * length);
79syStrategy syLaScala3(ideal arg,int * length);
80
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);
92#endif
Note: See TracBrowser for help on using the repository browser.