source: git/kernel/weight.h @ 835d83

spielwiese
Last change on this file since 835d83 was 835d83, checked in by Hans Schönemann <hannes@…>, 14 years ago
move stuff from structs.h git-svn-id: file:///usr/local/Singular/svn/trunk@12398 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 940 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 "structs.h"
12#include "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.