Changeset 895b31c in git for libpolys/polys


Ignore:
Timestamp:
Sep 7, 2011, 9:04:02 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
24a614b681d4af53443e0c34996cabb9b422a5b7
Parents:
74efabb42c9d0825e2d00926d5c6ba96801ed521
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-09-07 21:04:02+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 16:12:33+01:00
Message:
ADD: re-enabled _HNF/_LLL
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapsing.cc

    r74efabb r895b31c  
    11001100
    11011101#ifdef HAVE_NTL
    1102 #if 0
     1102#if 1
    11031103matrix singntl_HNF(matrix  m, const ring s )
    11041104{
     
    11091109    return NULL;
    11101110  }
    1111   matrix res=mpNew(r,r);
     1111   
     1112  matrix res=mp_New(r,r);
     1113   
    11121114  if (rField_is_Q(s))
    11131115  {
     
    11341136  return res;
    11351137}
    1136 intvec* singntl_HNF(intvec*  m)
     1138
     1139intvec* singntl_HNF(intvec*  m, const ring)
    11371140{
    11381141  int r=m->rows();
     
    11641167  return mm;
    11651168}
     1169
    11661170matrix singntl_LLL(matrix  m, const ring s )
    11671171{
    11681172  int r=m->rows();
    11691173  int c=m->cols();
    1170   matrix res=mpNew(r,c);
     1174  matrix res=mp_New(r,c);
    11711175  if (rField_is_Q(s))
    11721176  {
     
    11921196  return res;
    11931197}
    1194 intvec* singntl_LLL(intvec*  m)
     1198
     1199intvec* singntl_LLL(intvec*  m, const ring)
    11951200{
    11961201  int r=m->rows();
  • libpolys/polys/clapsing.h

    r74efabb r895b31c  
    4343
    4444#ifdef HAVE_NTL
     45#if 1
    4546matrix singntl_HNF(matrix A, const ring r);
    4647intvec* singntl_HNF(intvec* A, const ring r);
    4748matrix singntl_LLL(matrix A, const ring r);
    4849intvec* singntl_LLL(intvec* A, const ring r);
     50#endif
    4951#endif
    5052
Note: See TracChangeset for help on using the changeset viewer.