Loading...
Searching...
No Matches
weight.h
Go to the documentation of this file.
#ifndef WEIGHT_H
#define WEIGHT_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT
*/
#include "polys/monomials/ring.h"
EXTERN_VAR short * ecartWeights;
//extern pFDegProc pFDegOld;
//extern pLDegProc pLDegOld;
void kEcartWeights(poly* s, int sl, short *eweight, const ring R);
//BOOLEAN kWeight(leftv res,leftv id);
//BOOLEAN kQHWeight(leftv res,leftv v);
long maxdegreeWecart(poly p,int *l, ring r);
long totaldegreeWecart(poly p, ring r);
long totaldegreeWecart_IV(poly p, ring r, const int *w);
int * iv2array(intvec * iv, const ring R);
// internal:
extern "C" THREAD_VAR double (*wFunctional)(int *degw, int *lpol, int npol,
double *rel, double wx, double wNsqr);
double wFunctionalBuch(int *degw, int *lpol, int npol,
double *rel, double wx, double wNsqr);
void wCall(poly* s, int sl, int *x, double wNsqr, const ring R);
#endif
l
int l
Definition cfEzgcd.cc:100
x
Variable x
Definition cfModGcd.cc:4090
p
int p
Definition cfModGcd.cc:4086
intvec
Definition intvec.h:24
s
const CanonicalForm int s
Definition facAbsFact.cc:51
w
const CanonicalForm & w
Definition facAbsFact.cc:51
THREAD_VAR
#define THREAD_VAR
Definition globaldefs.h:12
EXTERN_VAR
#define EXTERN_VAR
Definition globaldefs.h:6
ring.h
R
#define R
Definition sirandom.c:27
wFunctional
THREAD_VAR double(* wFunctional)(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition weight.cc:20
iv2array
int * iv2array(intvec *iv, const ring R)
Definition weight.cc:200
totaldegreeWecart
long totaldegreeWecart(poly p, ring r)
Definition weight.cc:217
wCall
void wCall(poly *s, int sl, int *x, double wNsqr, const ring R)
Definition weight.cc:108
ecartWeights
EXTERN_VAR short * ecartWeights
Definition weight.h:12
wFunctionalBuch
double wFunctionalBuch(int *degw, int *lpol, int npol, double *rel, double wx, double wNsqr)
Definition weight0.cc:78
maxdegreeWecart
long maxdegreeWecart(poly p, int *l, ring r)
Definition weight.cc:247
totaldegreeWecart_IV
long totaldegreeWecart_IV(poly p, ring r, const int *w)
Definition weight.cc:231
kEcartWeights
void kEcartWeights(poly *s, int sl, short *eweight, const ring R)
Definition weight.cc:182