Changeset a7ee69 in git for polys/polys.cc


Ignore:
Timestamp:
Nov 8, 2010, 5:55:06 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
ac0bd60e1d213f4d9b7e9b2c6e9dd526c82bac2d
Parents:
fb4075bf0613cccede0552d05c1b4ee37a7f6530
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-11-08 17:55:06+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:36+01:00
Message:
moved pLcm to p_poly: p_Lcm
File:
1 edited

Legend:

Unmodified
Added
Removed
  • polys/polys.cc

    rfb4075b ra7ee69  
    126126#endif
    127127
    128 /*2
    129 * returns the LCM of the head terms of a and b in *m
    130 */
    131 void pLcm(poly a, poly b, poly m)
    132 {
    133   int i;
    134   for (i=pVariables; i; i--)
    135   {
    136     pSetExp(m,i, si_max( pGetExp(a,i), pGetExp(b,i)));
    137   }
    138   pSetComp(m, si_max(pGetComp(a), pGetComp(b)));
    139   /* Don't do a pSetm here, otherwise hres/lres chockes */
    140 }
    141 
    142128BOOLEAN _p_Test(poly p, ring r, int level);
    143129
Note: See TracChangeset for help on using the changeset viewer.