Changeset 87e1de in git for factory/cf_factor.cc
- Timestamp:
- Apr 18, 1997, 5:58:18 PM (27 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 0d500e67330f37dbdcb7821411be8069d1e124da
- Parents:
- 077e9c8cfe9c1a0c5fe1f9f503c15385a22cb040
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_factor.cc
r077e9c r87e1de 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: cf_factor.cc,v 1. 2 1997-04-07 15:02:42schmidt Exp $2 // $Id: cf_factor.cc,v 1.3 1997-04-18 15:58:18 schmidt Exp $ 3 3 4 4 /* 5 5 $Log: not supported by cvs2svn $ 6 Revision 1.2 1997/04/07 15:02:42 schmidt 7 #include <config.h> added 8 6 9 Revision 1.1 1997/03/18 14:43:52 schmidt 7 10 Removed test on MULTIFACTOR #define … … 66 69 } 67 70 71 CFFList sqrFree ( const CanonicalForm & f, bool sort ) 72 { 73 // ASSERT( f.isUnivariate(), "multivariate factorization not implemented" ); 74 CFFList result; 75 76 if ( getCharacteristic() == 0 ) 77 result = sqrFreeZ( f ); 78 else 79 result = sqrFreeFp( f ); 80 81 return ( sort ? sortCFFList( result ) : result ); 82 } 83 68 84 CFFList sqrFree ( const CanonicalForm & f ) 69 85 { 70 // ASSERT( f.isUnivariate(), "multivariate factorization not implemented" ); 71 if ( getCharacteristic() == 0 ) 72 return sqrFreeZ( f ); 73 else 74 return sqrFreeFp( f ); 86 return sqrFree( f, false ); 75 87 } 76 88
Note: See TracChangeset
for help on using the changeset viewer.