Changeset 3835a88 in git for kernel/spectrum.h


Ignore:
Timestamp:
Jul 19, 2011, 2:21:54 PM (13 years ago)
Author:
mlee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7021758acc8d05ef28d445be496dbd3cca92007f
Parents:
31f1262751310d366c99e1a3d2914e859f8ea5c0
git-author:
mlee <martinlee84@web.de>2011-07-19 14:21:54+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:40:00+01:00
Message:
added const ring r to ring dependend functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/spectrum.h

    r31f1262 r3835a88  
    1717BOOLEAN    semicProc   ( leftv,leftv,leftv );
    1818BOOLEAN    semicProc3   ( leftv,leftv,leftv,leftv );
    19 BOOLEAN    hasTermOfDegree( poly h, int d );
    20 int        hasOne( ideal J );
    21 BOOLEAN    hasAxis( ideal J,int k );
    22 poly       computeWC( const newtonPolygon &np,Rational max_weight );
    23 void       computeNF( ideal stdJ,poly hc,poly wc,spectrumPolyList *NF );
     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 );
    2424void       spectrumPrintError(spectrumState state);
    25 BOOLEAN    ringIsLocal( void );
     25BOOLEAN    ringIsLocal( const ring r);
    2626
    27 BOOLEAN inline hasConstTerm( poly h )
    28 { return  hasTermOfDegree(h,0); }
    29 BOOLEAN inline hasLinearTerm( poly h )
    30 { return  hasTermOfDegree(h,1); }
     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); }
    3131
    3232
Note: See TracChangeset for help on using the changeset viewer.