source: git/kernel/weight.h @ 936551

spielwiese
Last change on this file since 936551 was 6aacb6, checked in by Hans Schönemann <hannes@…>, 17 years ago
*hannes: global wNsqr removed git-svn-id: file:///usr/local/Singular/svn/trunk@9970 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 972 bytes
Line 
1#ifndef WEIGHT_H
2#define WEIGHT_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/*
7* ABSTRACT
8*/
9/* $Id: weight.h,v 1.2 2007-04-04 14:13:31 Singular Exp $ */
10
11#include "structs.h"
12
13extern short * ecartWeights;
14extern pFDegProc pFDegOld;
15extern pLDegProc pLDegOld;
16
17void kEcartWeights(polyset s, int sl, short *eweight);
18BOOLEAN kWeight(leftv res,leftv id);
19BOOLEAN kQHWeight(leftv res,leftv v);
20long maxdegreeWecart(poly p,int *l, ring r = currRing);
21long totaldegreeWecart(poly p, ring r = currRing);
22long totaldegreeWecart_IV(poly p, ring r, const short *w);
23
24short * iv2array(intvec * iv);
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(polyset s, int sl, int *x, double wNsqr);
32
33#endif
34
Note: See TracBrowser for help on using the repository browser.