source: git/kernel/walkSupport.h @ fbc7cb

jengelh-datetimespielwiese
Last change on this file since fbc7cb was a9c298, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format stuff
  • Property mode set to 100644
File size: 1.9 KB
Line 
1#ifndef WALKSUPPORT_H
2#define WALKSUPPORT_H
3
4#include <misc/intvec.h>
5#include <misc/int64vec.h>
6
7int tdeg(poly p);
8int getMaxTdeg(ideal I);
9int getMaxPosOfNthRow(intvec *v,int n);
10int64 getInvEps64(ideal G,intvec *targm,int pertdeg);
11int invEpsOk64(ideal I, intvec *targm, int pertdeg, int64 inveps64);
12intvec* getNthRow(intvec *v, int n);
13int64vec* getNthRow64(intvec *v, int n);
14//int64vec* gett64(int64vec* listw, int64vec* currw, int64vec* targw);
15void gett64(int64vec* listw, int64vec* currw, int64vec* targw, int64 &t1, int64 &t2);
16void nextt64(ideal G, int64vec* currw, int64vec* targw, int64 &t1, int64 &t2);
17int64vec* nextw64(int64vec* currw, int64vec* targw, int64 nexttvec0, int64 nexttvec1);
18int DIFFspy(ideal G);
19intvec* DIFF(ideal G);
20ideal init64(ideal G,int64vec* currw);
21BOOLEAN currwOnBorder64(ideal I, int64vec* currw64);
22void getTaun64(ideal G,intvec* targm,int pertdeg, int64vec** v64, int64 & i64);
23//int64vec* getiv64(lists l);
24//int64 getint64(lists l);// not used
25
26
27//functions not originating from the oroginal SINGULAR implementation
28ideal idStd(ideal G);
29ideal idInterRed(ideal G);
30matrix matIdLift(ideal Gomega, ideal M);
31void rCopyAndChangeA(int64vec* w);
32int64vec* rGetGlobalOrderMatrix(ring r);
33int64vec* rGetGlobalOrderWeightVec(ring r);
34BOOLEAN noPolysWithMoreThanTwoTerms(ideal Gw);
35#define idealSize(I) IDELEMS(I)
36inline int ivSize(intvec* v){ return((v->rows())*(v->cols())); }
37inline int iv64Size(int64vec* v){ return((v->rows())*(v->cols())); }
38intvec* leadExp(poly p);
39int64vec* leadExp64(poly p);
40void setPosOfIM(intvec* im,int i,int j,int val);
41poly getNthPolyOfId(ideal I,int n);
42int gcd(int a, int b);
43int64 gcd64(int64 a, int64 b);
44inline int64 abs64(int64 i) { return ABS(i); }
45//static inline long  scalarProduct(intvec* a, intvec* b);
46//static inline int64  scalarProduct64(int64vec* a, int64vec* b);
47ideal sortRedSB(ideal G);
48intvec* int64VecToIntVec(int64vec* source);
49int64vec* rGetGlobalOrderWeightVec(ring r);
50
51#endif
Note: See TracBrowser for help on using the repository browser.