My Project
weight.h
Go to the documentation of this file.
1 #ifndef WEIGHT_H
2 #define WEIGHT_H
3 /****************************************
4 * Computer Algebra System SINGULAR *
5 ****************************************/
6 /*
7 * ABSTRACT
8 */
9 
10 #include "polys/monomials/ring.h"
11 
13 //extern pFDegProc pFDegOld;
14 //extern pLDegProc pLDegOld;
15 
16 void kEcartWeights(poly* s, int sl, short *eweight, const ring R);
17 //BOOLEAN kWeight(leftv res,leftv id);
18 //BOOLEAN kQHWeight(leftv res,leftv v);
19 long maxdegreeWecart(poly p,int *l, ring r);
20 long totaldegreeWecart(poly p, ring r);
21 long totaldegreeWecart_IV(poly p, ring r, const int *w);
22 
23 int * iv2array(intvec * iv, const ring R);
24 
25 // internal:
26 extern "C" THREAD_VAR double (*wFunctional)(int *degw, int *lpol, int npol,
27  double *rel, double wx, double wNsqr);
28 double wFunctionalBuch(int *degw, int *lpol, int npol,
29  double *rel, double wx, double wNsqr);
30 void wCall(poly* s, int sl, int *x, double wNsqr, const ring R);
31 
32 #endif
33 
int l
Definition: cfEzgcd.cc:100
Variable x
Definition: cfModGcd.cc:4082
int p
Definition: cfModGcd.cc:4078
Definition: intvec.h:23
const CanonicalForm int s
Definition: facAbsFact.cc:51
const CanonicalForm & w
Definition: facAbsFact.cc:51
#define THREAD_VAR
Definition: globaldefs.h:12
#define EXTERN_VAR
Definition: globaldefs.h:6
#define R
Definition: sirandom.c:27
THREAD_VAR double(* wFunctional)(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight.h:26
long totaldegreeWecart(poly p, ring r)
Definition: weight.cc:217
void wCall(poly *s, int sl, int *x, double wNsqr, const ring R)
Definition: weight.cc:108
EXTERN_VAR short * ecartWeights
Definition: weight.h:12
double wFunctionalBuch(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition: weight0.cc:78
long maxdegreeWecart(poly p, int *l, ring r)
Definition: weight.cc:247
long totaldegreeWecart_IV(poly p, ring r, const int *w)
Definition: weight.cc:231
void kEcartWeights(poly *s, int sl, short *eweight, const ring R)
Definition: weight.cc:182
int * iv2array(intvec *iv, const ring R)
Definition: weight.cc:200