Changeset 4ec288 in git for factory/facFactorize.h
- Timestamp:
- Apr 11, 2012, 3:11:20 PM (12 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 98adcdd62df51a4c6090574f59ad2b9a5d432d39
- Parents:
- 4bafa67969ab030397c6410e512aadf5574be0dc0a7d0ca68a61f160eb5b83774592a019ed99f025
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFactorize.h
r4bafa67 r4ec288 36 36 inline 37 37 CFList 38 ratSqrfFactorize (const CanonicalForm & G, ///<[in] a multivariate poly39 const Variable& v 38 ratSqrfFactorize (const CanonicalForm & G, ///<[in] a multivariate poly 39 const Variable& v= Variable (1) ///<[in] algebraic variable 40 40 ) 41 41 { … … 60 60 inline 61 61 CFFList 62 ratFactorize (const CanonicalForm& G, ///<[in] a multivariate poly63 const Variable& v ,///<[in] algebraic variable64 bool substCheck= true ///<[in] enables substitute check62 ratFactorize (const CanonicalForm& G, ///<[in] a multivariate poly 63 const Variable& v= Variable (1), ///<[in] algebraic variable 64 bool substCheck= true ///<[in] enables substitute check 65 65 ) 66 66 { … … 135 135 { 136 136 normalize (result); 137 if (v.level() == 1) 138 { 139 for (CFFListIterator i= result; i.hasItem(); i++) 140 { 141 LcF /= bCommonDen (i.getItem().factor()); 142 i.getItem()= CFFactor (i.getItem().factor()* 143 bCommonDen(i.getItem().factor()), i.getItem().exp()); 144 } 145 } 137 146 result.insert (CFFactor (LcF, 1)); 138 147 }
Note: See TracChangeset
for help on using the changeset viewer.