Changeset 895b31c in git


Ignore:
Timestamp:
Sep 7, 2011, 9:04:02 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_hnf.cc

    r74efabb r895b31c  
    1313
    1414#ifdef HAVE_NTL
    15 #if 0
     15#if 1
    1616#include "NTLconvert.h"
    1717#include "canonicalform.h"
  • 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.