source: git/Singular/syz.h @ 5480da

spielwiese
Last change on this file since 5480da was fca547, checked in by Hans Schönemann <hannes@…>, 26 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@1317 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.7 1998-04-03 17:38:44 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 length;
31  int ** truecomponents;
32  int ** backcomponents;
33  int ** Howmuch;
34  int ** Firstelem;
35  resolvente res;
36  resolvente orderedRes;
37  SRes resPairs;
38  intvec * Tl;
39  resolvente fullres;
40  resolvente minres;
41  int references;
42  int * binom;
43  int highdeg_1;
44  intvec * resolution;
45  intvec * cw;
46};
47
48void sySchreyersSyzygiesM(polyset F,int Fmax,polyset* Shdl,int* Smax,
49   BOOLEAN noSort);
50
51void sySchreyersSyzygiesB(polyset F,int Fmax,polyset* Shdl,int* Smax,
52   BOOLEAN noSort);
53
54resolvente sySchreyerResolvente(ideal arg, int maxlength, int * length,
55   BOOLEAN isMonomial=FALSE, BOOLEAN notReplace=FALSE);
56
57resolvente syResolvente(ideal arg, int maxlength, int * length,
58                        intvec *** weights, BOOLEAN minim);
59
60resolvente syMinRes(ideal arg, int maxlength, int * length, BOOLEAN minim);
61
62void syMinimizeResolvente(resolvente res, int length, int first);
63
64intvec * syBetti(resolvente res,int length, int * regularity,
65                 intvec* weights=NULL);
66
67ideal syMinBase(ideal arg);
68
69BOOLEAN syTestOrder(ideal i);
70
71void syReOrderResolventFB(resolvente res,int length, int initial=1);
72
73resolvente syLaScala1(ideal arg,int * length);
74syStrategy syLaScala3(ideal arg,int * length);
75
76void syKillComputation(syStrategy syzstr);
77intvec * syBettiOfComputation(syStrategy syzstr);
78int syLength(syStrategy syzstr);
79int sySize(syStrategy syzstr);
80int syDim(syStrategy syzstr);
81syStrategy syCopy(syStrategy syzstr);
82void syPrint(syStrategy syzstr);
83lists syConvRes(syStrategy syzstr);
84syStrategy syConvList(lists li);
85syStrategy syForceMin(lists li);
86syStrategy syMinimize(syStrategy syzstr);
87syStrategy syMakeResolution(resolvente r, int length);
88#endif
Note: See TracBrowser for help on using the repository browser.