Changeset 34e5d2d in git for factory/int_poly.h


Ignore:
Timestamp:
Nov 24, 2017, 3:03:15 PM (6 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c11414077180169b27d270988b9dff8a64addaba
Parents:
4b73d0a16e225730f3a8270b63d10086d4d8560a
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2017-11-24 15:03:15+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2017-11-24 15:08:24+01:00
Message:
opt: inline some small InternalInt/Rat/Poly-functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/int_poly.h

    r4b73d0 r34e5d2d  
    112112    bool inPolyDomain() const { return var.level() > 0; }
    113113    bool inQuotDomain() const { return false; }
    114     InternalCF* genZero();
    115     InternalCF* genOne();
     114
     115    InternalCF* genZero()
     116    { return firstTerm->coeff.genZero().getval(); }
     117
     118    InternalCF* genOne()
     119    { return firstTerm->coeff.genOne().getval(); }
    116120
    117121    bool isUnivariate() const;
Note: See TracChangeset for help on using the changeset viewer.