source: git/kernel/spectrum.h @ 9af8d18

fieker-DuValspielwiese
Last change on this file since 9af8d18 was 3835a88, checked in by mlee <martinlee84@…>, 13 years ago
added const ring r to ring dependend functions
  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[35aab3]1// ----------------------------------------------------------------------------
2//  spectrum.h
3//  begin of file
4//  Stephan Endrass, endrass@mathematik.uni-mainz.de
5//  23.7.99
6// ----------------------------------------------------------------------------
7
8#ifndef SPECTRUM_H
9#define SPECTRUM_H
[599326]10#include <kernel/npolygon.h>
11#include <kernel/splist.h>
[35aab3]12
13BOOLEAN    spectrumProc ( leftv,leftv );
14BOOLEAN    spectrumfProc( leftv,leftv );
15BOOLEAN    spaddProc    ( leftv,leftv,leftv );
16BOOLEAN    spmulProc    ( leftv,leftv,leftv );
17BOOLEAN    semicProc   ( leftv,leftv,leftv );
18BOOLEAN    semicProc3   ( leftv,leftv,leftv,leftv );
[3835a88]19BOOLEAN    hasTermOfDegree( poly h, int d, const ring r );
20int        hasOne( ideal J, const ring r );
21BOOLEAN    hasAxis( ideal J,int k, const ring r );
22poly       computeWC( const newtonPolygon &np,Rational max_weight, const ring r );
23void       computeNF( ideal stdJ,poly hc,poly wc,spectrumPolyList *NF, const ring r );
[35aab3]24void       spectrumPrintError(spectrumState state);
[3835a88]25BOOLEAN    ringIsLocal( const ring r);
[35aab3]26
[3835a88]27BOOLEAN inline hasConstTerm( poly h, const ring r )
28{ return  hasTermOfDegree(h,0,r); }
29BOOLEAN inline hasLinearTerm( poly h, const ring r )
30{ return  hasTermOfDegree(h,1,r); }
[35aab3]31
32
33#endif
34
35// ----------------------------------------------------------------------------
36//  spectrum.h
37//  end of file
38// ----------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.