source: git/Singular/syz.h @ 82716e

spielwiese
Last change on this file since 82716e was b83126e, checked in by Hans Schönemann <hannes@…>, 26 years ago
* hannes: added filed list_length to ssyStrategy git-svn-id: file:///usr/local/Singular/svn/trunk@1550 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.6 KB
Line 
1#ifndef SYZ_H
2#define SYZ_h
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: syz.h,v 1.9 1998-04-29 16:28:18 Singular 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 ** truecomponents;
31  int ** backcomponents;
32  int ** Howmuch;
33  int ** Firstelem;
34  intvec ** weights;
35  resolvente res;
36  resolvente orderedRes;
37  SRes resPairs;
38  intvec * Tl;
39  resolvente fullres;
40  resolvente minres;
41  int * binom;
42  intvec * resolution;
43  intvec * cw;
44  int highdeg_1;
45  int length;
46  short list_length;
47  short references;
48};
49
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,
57   BOOLEAN isMonomial=FALSE, BOOLEAN notReplace=FALSE);
58
59syStrategy sySchreyer(ideal arg, int maxlength);
60
61resolvente syResolvente(ideal arg, int maxlength, int * length,
62                        intvec *** weights, BOOLEAN minim);
63
64syStrategy syResolution(ideal arg, int maxlength,intvec * w, BOOLEAN minim);
65
66resolvente syMinRes(ideal arg, int maxlength, int * length, BOOLEAN minim);
67
68void syMinimizeResolvente(resolvente res, int length, int first);
69
70intvec * syBetti(resolvente res,int length, int * regularity,
71                 intvec* weights=NULL);
72
73ideal syMinBase(ideal arg);
74
75BOOLEAN syTestOrder(ideal i);
76
77void syReOrderResolventFB(resolvente res,int length, int initial=1);
78
79resolvente syLaScala1(ideal arg,int * length);
80syStrategy syLaScala3(ideal arg,int * length);
81
82void syKillComputation(syStrategy syzstr);
83intvec * syBettiOfComputation(syStrategy syzstr);
84int syLength(syStrategy syzstr);
85int sySize(syStrategy syzstr);
86int syDim(syStrategy syzstr);
87syStrategy syCopy(syStrategy syzstr);
88void syPrint(syStrategy syzstr);
89lists syConvRes(syStrategy syzstr);
90syStrategy syConvList(lists li);
91syStrategy syForceMin(lists li);
92syStrategy syMinimize(syStrategy syzstr);
93#endif
Note: See TracBrowser for help on using the repository browser.