source: git/kernel/spectrum.h @ abe5c8

fieker-DuValspielwiese
Last change on this file since abe5c8 was f599a46, checked in by mlee <martinlee84@…>, 13 years ago
moved spectrum.cc,.h and splist.cc,.h again to kernel commented out stuff related to lists and functions in ipshell.cc
  • Property mode set to 100644
File size: 1.4 KB
Line 
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
10#include <kernel/npolygon.h>
11#include <kernel/splist.h>
12
13/*BOOLEAN    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 );*/ //TODO move to kernel
19
20BOOLEAN    hasTermOfDegree( poly h, int d, const ring r );
21int        hasOne( ideal J, const ring r );
22BOOLEAN    hasAxis( ideal J,int k, const ring r );
23poly       computeWC( const newtonPolygon &np,Rational max_weight, const ring r );
24void       computeNF( ideal stdJ,poly hc,poly wc,spectrumPolyList *NF, const ring r );
25//void       spectrumPrintError(spectrumState state);
26BOOLEAN    ringIsLocal( const ring r);
27
28BOOLEAN inline hasConstTerm( poly h, const ring r )
29{ return  hasTermOfDegree(h,0,r); }
30BOOLEAN inline hasLinearTerm( poly h, const ring r )
31{ return  hasTermOfDegree(h,1,r); }
32
33
34#endif
35
36// ----------------------------------------------------------------------------
37//  spectrum.h
38//  end of file
39// ----------------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.