Changeset 67c1dc in git for libpolys/polys


Ignore:
Timestamp:
Dec 14, 2011, 5:07:25 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
81845eb574ce4e246556ba7885ecb3a9be8222a9
Parents:
d92d714be40efcb5b8f903ae5b3bff5d3ed69a4e
git-author:
Martin Lee <martinlee84@web.de>2011-12-14 17:07:25+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:09:33+01:00
Message:
adaptation of spielwiese for libfac

chg: switched on interface for libfac stuff
Location:
libpolys/polys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapsing.cc

    rd92d71 r67c1dc  
    1515#define SI_DONT_HAVE_GLOBAL_VARS
    1616#include <factory/factory.h>
     17#ifdef HAVE_LIBFAC
     18#include <libfac/factor.h>
     19#endif
    1720#endif
    1821
     
    3538#include "clapconv.h"
    3639// #include <kernel/clapconv.h>
    37 // #include <libfac/factor.h>
     40
    3841
    3942void out_cf(const char *s1,const CanonicalForm &f,const char *s2);
     
    11951198}
    11961199
    1197 
    1198 TODO(somebody, add libfac)
    1199 /*matrix singclap_irrCharSeries ( ideal I, const ring r)
     1200#ifdef HAVE_LIBFAC
     1201matrix singclap_irrCharSeries ( ideal I, const ring r)
    12001202{
    12011203  if (idIs0(I)) return mpNew(1,1);
     
    12871289  Off(SW_RATIONAL);
    12881290  return res;
    1289 }*/
    1290 
    1291 /*
     1291}
     1292
    12921293char* singclap_neworder ( ideal I, const ring r)
    12931294{
     
    13711372  if (s[strlen(s)-1]==',') s[strlen(s)-1]='\0';
    13721373  return s;
    1373 }*/
     1374}
     1375#endif /*HAVE_LIBFAC*/
    13741376
    13751377BOOLEAN singclap_isSqrFree(poly f, const ring r)
  • libpolys/polys/clapsing.h

    rd92d71 r67c1dc  
    5252BOOLEAN singclap_isSqrFree(poly f, const ring r);
    5353
    54 /*
    55  // need libfac??? commented out!
     54#ifdef HAVE_LIBFAC
    5655 matrix singclap_irrCharSeries ( ideal I, const ring r);
    57  char* singclap_neworder ( ideal I, const ring r); 
    58 */
     56 char* singclap_neworder ( ideal I, const ring r);
     57#endif
    5958
    6059poly singclap_det( const matrix m, const ring r );
Note: See TracChangeset for help on using the changeset viewer.