Changeset 685296 in git
- Timestamp:
- Mar 12, 1998, 11:28:35 AM (25 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- d74a8bdcbb76c73c4888a5aead92f475ca9ee1ef
- Parents:
- 8d4aea63dbe00e924667f833cb15f76391591e40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/canonicalform.h
r8d4aea r685296 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: canonicalform.h,v 1.2 3 1998-03-10 14:47:58schmidt Exp $ */2 /* $Id: canonicalform.h,v 1.24 1998-03-12 10:28:35 schmidt Exp $ */ 3 3 4 4 #ifndef INCL_CANONICALFORM_H … … 153 153 154 154 //{{{ function declarations from canonicalform.cc 155 CanonicalForm blcm ( const CanonicalForm & f, const CanonicalForm & g ); 156 155 157 CanonicalForm power ( const CanonicalForm & f, int n ); 156 158 … … 243 245 den ( const CanonicalForm & f ) { return f.den(); } 244 246 247 inline int 248 sign ( const CanonicalForm & a ) { return a.sign(); } 249 245 250 inline CanonicalForm 246 251 deriv ( const CanonicalForm & f, const Variable & x ) { return f.deriv( x ); } … … 262 267 if ( f.level() > 0 ) 263 268 return power( f.mvar(), f.degree() ) * f.LC(); 264 else265 return f;266 }267 268 inline CanonicalForm269 abs ( const CanonicalForm & f )270 {271 if ( f < 0 )272 return -f;273 269 else 274 270 return f;
Note: See TracChangeset
for help on using the changeset viewer.