source: git/Singular/syz.h @ 400884

spielwiese
Last change on this file since 400884 was dfc6b54, checked in by Hans Schönemann <hannes@…>, 27 years ago
Wed Jul 9 17:50:23 MET DST 1997: hannes/siebert * added new type (resolution) -> extra.cc, ipid.cc, iparith.cc, ipconv.cc, syz.h, syz1.cc, grammar.y structs.h, subexpr.cc hannes: optimization in mmGetBlock: mmblock.c mmprivat.h loading of "standard.lib": tesths.cc git-svn-id: file:///usr/local/Singular/svn/trunk@502 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.4 KB
Line 
1#ifndef SYZ_H
2#define SYZ_h
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: syz.h,v 1.5 1997-07-09 15:54:06 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};
46
47void sySchreyersSyzygiesM(polyset F,int Fmax,polyset* Shdl,int* Smax,
48   BOOLEAN noSort);
49
50void sySchreyersSyzygiesB(polyset F,int Fmax,polyset* Shdl,int* Smax,
51   BOOLEAN noSort);
52
53resolvente sySchreyerResolvente(ideal arg, int maxlength, int * length,
54   BOOLEAN isMonomial=FALSE, BOOLEAN notReplace=FALSE);
55
56resolvente syResolvente(ideal arg, int maxlength, int * length,
57                        intvec *** weights, BOOLEAN minim);
58
59resolvente syMinRes(ideal arg, int maxlength, int * length, BOOLEAN minim);
60
61void syMinimizeResolvente(resolvente res, int length, int first);
62
63intvec * syBetti(resolvente res,int length, int * regularity,
64                 intvec* weights=NULL);
65
66ideal syMinBase(ideal arg);
67
68BOOLEAN syTestOrder(ideal i);
69
70void syReOrderResolventFB(resolvente res,int length, int initial=1);
71
72resolvente syLaScala1(ideal arg,int * length);
73syStrategy syLaScala3(ideal arg,int * length);
74
75void syKillComputation(syStrategy syzstr);
76intvec * syBettiOfComputation(syStrategy syzstr);
77int syLength(syStrategy syzstr);
78int sySize(syStrategy syzstr);
79int syDim(syStrategy syzstr);
80syStrategy syCopy(syStrategy syzstr);
81void syPrint(syStrategy syzstr);
82lists syConvRes(syStrategy syzstr);
83syStrategy syConvList(lists li);
84syStrategy syForceMin(lists li);
85syStrategy syMinimize(syStrategy syzstr);
86#endif
Note: See TracBrowser for help on using the repository browser.