source: git/libpolys/polys/weight.h @ 975db18

spielwiese
Last change on this file since 975db18 was 494884, checked in by Hans Schoenemann <hannes@…>, 13 years ago
fixed weight.cc
  • Property mode set to 100644
File size: 959 bytes
Line 
1#ifndef WEIGHT_H
2#define WEIGHT_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/*
7* ABSTRACT
8*/
9/* $Id$ */
10
11#include <polys/monomials/ring.h>
12
13extern short * ecartWeights;
14//extern pFDegProc pFDegOld;
15//extern pLDegProc pLDegOld;
16
17void kEcartWeights(poly* s, int sl, short *eweight, const ring R);
18//BOOLEAN kWeight(leftv res,leftv id);
19//BOOLEAN kQHWeight(leftv res,leftv v);
20long maxdegreeWecart(poly p,int *l, ring r);
21long totaldegreeWecart(poly p, ring r);
22long totaldegreeWecart_IV(poly p, ring r, const short *w);
23
24short * iv2array(intvec * iv, const ring R);
25
26// internal:
27extern "C" double (*wFunctional)(int *degw, int *lpol, int npol,
28       double *rel, double wx, double wNsqr);
29extern "C" double wFunctionalBuch(int *degw, int *lpol, int npol,
30       double *rel, double wx, double wNsqr);
31void wCall(poly* s, int sl, int *x, double wNsqr, const ring R);
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.