Changeset e57c8b in git for Singular/extra.cc


Ignore:
Timestamp:
Nov 13, 2014, 5:11:34 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd08f5f0bb3329b8ca19f23b74cb1473686415c3a')
Children:
a67a383f5c6b897f9f89a94c2e994967111d079a
Parents:
d69300f5e208913b6afeb4f87045d074060831bcf0ccd06ea21f447e8111eb524c71bdd69bf50d4e
Message:
Merge pull request #670 from adipopescu/Flint

add: LLL_Flint
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    rd69300f re57c8b  
    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  =================*/
Note: See TracChangeset for help on using the changeset viewer.