source: git/libpolys/polys/weight.h @ 0d9242

spielwiese
Last change on this file since 0d9242 was 0d9242, checked in by Hans Schoenemann <hannes@…>, 2 years ago
fix: no -std=c++11 for C files (from NTL_CPPFLAGS), weigth0.cc stuff
  • Property mode set to 100644
File size: 948 bytes
Line 
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
12EXTERN_VAR short * ecartWeights;
13//extern pFDegProc pFDegOld;
14//extern pLDegProc pLDegOld;
15
16void kEcartWeights(poly* s, int sl, short *eweight, const ring R);
17//BOOLEAN kWeight(leftv res,leftv id);
18//BOOLEAN kQHWeight(leftv res,leftv v);
19long maxdegreeWecart(poly p,int *l, ring r);
20long totaldegreeWecart(poly p, ring r);
21long totaldegreeWecart_IV(poly p, ring r, const int *w);
22
23int * iv2array(intvec * iv, const ring R);
24
25// internal:
26extern "C" THREAD_VAR double (*wFunctional)(int *degw, int *lpol, int npol,
27       double *rel, double wx, double wNsqr);
28double wFunctionalBuch(int *degw, int *lpol, int npol,
29       double *rel, double wx, double wNsqr);
30void wCall(poly* s, int sl, int *x, double wNsqr, const ring R);
31
32#endif
33
Note: See TracBrowser for help on using the repository browser.