/usr/include/singular/singular/polys/weight.h is in libsingular4-dev-common 4.0.3+ds-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef WEIGHT_H
#define WEIGHT_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT
*/
#include <polys/monomials/ring.h>
extern 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 short *w);
short * iv2array(intvec * iv, const ring R);
// internal:
extern "C" double (*wFunctional)(int *degw, int *lpol, int npol,
double *rel, double wx, double wNsqr);
extern "C" 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
|