Ignore:
Timestamp:
Feb 20, 2013, 5:47:42 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4bd32dfef92ec9f5ed8dceee82d14318ae147107')
Children:
f769fd0fbf5b7ea0f1ffb3a9380350de652caada
Parents:
00d2a493f2a6183ad80d8757fa1e343105c497a7
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-20 17:47:42+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-20 18:58:27+01:00
Message:
Moved p_IsOne  to p_polys
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/transext.cc

    r00d2a4 r5602268  
    6666#define MULT_COMPLEXITY 2   /**< complexity increase due to * and / */
    6767#define BOUND_COMPLEXITY 10   /**< maximum complexity of a number */
    68 
    69 
    70 static inline BOOLEAN p_IsOne(const poly p, const ring R)
    71 {
    72   assume( p_Test(p, R) );
    73   return (p_IsConstant(p, R) && n_IsOne(p_GetCoeff(p, R), R->cf));
    74 }
    7568
    7669/// TRUE iff num. represents 1
Note: See TracChangeset for help on using the changeset viewer.