source: git/libpolys/polys/weight.h @ 47a8626

spielwiese
Last change on this file since 47a8626 was 47a8626, checked in by Hans Schoenemann <hannes@…>, 13 years ago
weight.* -> polys/weight.* (totaldegreeWecart_IV etc.)
  • Property mode set to 100644
File size: 954 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 <kernel/structs.h>
12#include <kernel/ring.h>
13
14extern short * ecartWeights;
15extern pFDegProc pFDegOld;
16extern pLDegProc pLDegOld;
17
18void kEcartWeights(polyset s, int sl, short *eweight);
19BOOLEAN kWeight(leftv res,leftv id);
20BOOLEAN kQHWeight(leftv res,leftv v);
21long maxdegreeWecart(poly p,int *l, ring r = currRing);
22long totaldegreeWecart(poly p, ring r = currRing);
23long totaldegreeWecart_IV(poly p, ring r, const short *w);
24
25short * iv2array(intvec * iv);
26
27// internal:
28extern "C" double (*wFunctional)(int *degw, int *lpol, int npol,
29       double *rel, double wx, double wNsqr);
30extern "C" double wFunctionalBuch(int *degw, int *lpol, int npol,
31       double *rel, double wx, double wNsqr);
32void wCall(polyset s, int sl, int *x, double wNsqr);
33
34#endif
35
Note: See TracBrowser for help on using the repository browser.