Changeset b78a13 in git


Ignore:
Timestamp:
Mar 5, 2012, 9:45:49 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
c729f26220e3c5188b3151f01a80a302441e8dfd
Parents:
42af50525c9435e916c3d1356060b7605d90a28e
git-author:
Martin Lee <martinlee84@web.de>2012-03-05 21:45:49+01:00
git-committer:
Martin Lee <martinlee84@web.de>2012-04-04 14:42:26+02:00
Message:
chg: faster reversion of Kronecker substitution
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/facMul.cc

    r42af505 rb78a13  
    6262  int degfSubK;
    6363  int repLength, j;
    64   CanonicalForm coeff;
     64  CanonicalForm coeff, ff;
    6565  fmpz* tmp;
    6666  while (degf >= k)
     
    7878      if (!fmpz_is_zero (tmp))
    7979      {
    80         CanonicalForm ff= convertFmpz2CF (tmp)/den;
    81         coeff += ff*power (alpha, j);
     80        ff= convertFmpz2CF (tmp);
     81        coeff += ff*power (alpha, j); //TODO faster reduction mod alpha
    8282      }
    8383    }
     
    8686    k= d*i;
    8787  }
     88  result /= den;
    8889  return result;
    8990}
Note: See TracChangeset for help on using the changeset viewer.