Changeset d74a8b in git
- Timestamp:
- Mar 12, 1998, 11:28:56 AM (25 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 9189ab6516373d1cc0a44ffa0a56a3614098e362
- Parents:
- 685296522414d1854eb4d8c9a9bcd55de46acdde
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/canonicalform.cc
r685296 rd74a8b 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: canonicalform.cc,v 1.2 5 1998-01-22 10:56:12schmidt Exp $ */2 /* $Id: canonicalform.cc,v 1.26 1998-03-12 10:28:56 schmidt Exp $ */ 3 3 4 4 #include <config.h> … … 1690 1690 //}}} 1691 1691 1692 CanonicalForm 1693 blcm ( const CanonicalForm & f, const CanonicalForm & g ) 1694 { 1695 if ( f.isZero() || g.isZero() ) 1696 return CanonicalForm( 0 ); 1697 else 1698 return (f / bgcd( f, g )) * g; 1699 } 1700 1692 1701 //{{{ input/output 1693 1702 #ifndef NOSTREAMIO
Note: See TracChangeset
for help on using the changeset viewer.