source: git/kernel/walkSupport.h @ fec53d

fieker-DuValspielwiese
Last change on this file since fec53d was 599326, checked in by Kai Krüger <krueger@…>, 14 years ago
Anne, Kai, Frank: - changes to #include "..." statements to allow cleaner build structure - affected directories: omalloc, kernel, Singular - not yet done: IntergerProgramming git-svn-id: file:///usr/local/Singular/svn/trunk@13032 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.0 KB
Line 
1#ifndef WALKSUPPORT_H
2#define WALKSUPPORT_H
3
4#include <kernel/intvec.h>
5#include <kernel/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);
23int64vec* 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);
32ring rCopy0AndAddA(ring r, int64vec *wv64, BOOLEAN copy_qideal = TRUE,
33                   BOOLEAN copy_ordering = TRUE);
34int64vec* rGetGlobalOrderMatrix(ring r);
35int64vec* rGetGlobalOrderWeightVec(ring r);
36BOOLEAN noPolysWithMoreThanTwoTerms(ideal Gw);
37#define idealSize(I) IDELEMS(I)
38inline int ivSize(intvec* v){ return((v->rows())*(v->cols())); }
39inline int iv64Size(int64vec* v){ return((v->rows())*(v->cols())); }
40intvec* leadExp(poly p);
41int64vec* leadExp64(poly p);
42void setPosOfIM(intvec* im,int i,int j,int val);
43poly getNthPolyOfId(ideal I,int n);
44int gcd(int a, int b);
45int64 gcd64(int64 a, int64 b);
46inline int64 abs64(int64 i) { return ABS(i); }
47static inline long  scalarProduct(intvec* a, intvec* b);
48static inline int64  scalarProduct64(int64vec* a, int64vec* b);
49ideal sortRedSB(ideal G);
50intvec* int64VecToIntVec(int64vec* source);
51int64vec* rGetGlobalOrderWeightVec(ring r);
52
53#endif
Note: See TracBrowser for help on using the repository browser.