Changeset f0ccd06 in git


Ignore:
Timestamp:
Nov 13, 2014, 4:59:06 PM (9 years ago)
Author:
Adi Popescu <adi_popescum@…>
Branches:
(u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
Children:
e57c8b8ed1e2c56f2cdced4fe393eb85d75792a9
Parents:
a002227d0e50ac4235491c102686c6381abd1aab
Message:
add: LLL_Flint
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    ra002227 rf0ccd06  
    141141#endif
    142142
    143 
    144143// Define to enable many more system commands
    145144//#undef MAKE_DISTRIBUTION
     
    148147#endif
    149148
     149#include <polys/flintconv.h>
    150150#include <polys/clapconv.h>
    151151#include <kernel/GBEngine/kstdfac.h>
     
    168168#include "pcv.h"
    169169#endif
     170
    170171
    171172#ifdef __CYGWIN__
     
    934935    }
    935936    else
     937  #endif
     938  /* =================== LLL via Flint ==============================*/
     939  #ifdef HAVE_FLINT
     940  #ifdef FLINT_VER_2_4_5
     941    if (strcmp(sys_cmd, "LLL_Flint") == 0)
     942    {
     943      if (h!=NULL)
     944      {
     945        res->rtyp=h->Typ();
     946        if (h->Typ()==BIGINTMAT_CMD)
     947        {
     948          res->data=(char *)singflint_LLL((bigintmat*)h->Data());
     949          return FALSE;
     950        }
     951        else if (h->Typ()==INTMAT_CMD)
     952        {
     953          res->data=(char *)singflint_LLL((intvec*)h->Data());
     954          return FALSE;
     955        }
     956        else return TRUE;
     957      }
     958      else return TRUE;
     959    }
     960    else
     961  #endif
    936962  #endif
    937963  /*==================== shift-test for freeGB  =================*/
  • libpolys/configure.ac

    ra002227 rf0ccd06  
    3737LB_CHECK_GMP(3.1.1,,AC_MSG_ERROR([Unable to find GMP on your machine: please use --with-gmp=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    3838LB_CHECK_NTL(5.0,,AC_MSG_WARN([Unable to find NTL (which is strongly recommended) on your machine: please use --with-ntl=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    39 ## LB_CHECK_FLINT(2.3,,AC_MSG_WARN([Unable to find FLINT (which is strongly recommended) on your machine: please use --with-flint=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
     39LB_CHECK_FLINT(2.3,,AC_MSG_WARN([Unable to find FLINT (which is strongly recommended) on your machine: please use --with-flint=PATH_TO_DIR_CONTAINING_LIB_AND_INCLUDE (see also ./configure --help if you do not understand what we are talking about)]))
    4040
    4141
  • libpolys/polys/Makefile.am

    ra002227 rf0ccd06  
    3535        ${USE_P_PROCS_STATIC_CC} ${USE_P_PROCS_DYNAMIC_CC} mod_raw.cc \
    3636        ext_fields/algext.cc ext_fields/transext.cc \
    37         clapsing.cc clapconv.cc \
     37        clapsing.cc clapconv.cc  flintconv.cc\
    3838        nc/old.gring.cc PolyEnumerator.cc
    3939
     
    4444        templates/p_Procs.h templates/p_MemAdd.h templates/p_MemCmp.h \
    4545        kbuckets.h sbuckets.h simpleideals.h weight.h matpol.h \
    46         sparsmat.h clapsing.h clapconv.h coeffrings.h \
     46        sparsmat.h clapsing.h clapconv.h coeffrings.h flintconv.h\
    4747        ext_fields/algext.h ext_fields/transext.h mod_raw.h 
    4848
Note: See TracChangeset for help on using the changeset viewer.