Changeset 79592ac in git


Ignore:
Timestamp:
Aug 9, 2012, 11:30:16 AM (10 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
5295f95d58a904d0546cf79e2609f42619be0635
Parents:
5079887ad7bd4a68051dcc847d20d65a4a0562e6
git-author:
Martin Lee <martinlee84@web.de>2012-08-09 11:30:16+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-09-04 18:01:17+02:00
Message:
chg: new command to check if poly consists only of leading coeff
Location:
factory
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorizeUtil.cc

    r5079887 r79592ac  
    157157}
    158158
     159bool isOnlyLeadingCoeff (const CanonicalForm& F)
     160{
     161  return (F-LC (F,1)*power (Variable(1),degree (F,1))).isZero();
     162}
    159163
     164
  • factory/facFqFactorizeUtil.h

    r5079887 r79592ac  
    121121                           );
    122122
     123/// check if @F consists of more than just the leading coeff wrt. Variable (1)
     124///
     125/// @return as described above
     126bool isOnlyLeadingCoeff (const CanonicalForm& F ///< [in] some poly
     127                        );
     128
    123129#endif
    124130/* FAC_FQ_FACTORIZE_UTIL_H */
Note: See TracChangeset for help on using the changeset viewer.