Changeset bb82f0 in git


Ignore:
Timestamp:
Jun 16, 2008, 2:55:41 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
c99b6b9aa9684f111c07fca497f1d2256859ad05
Parents:
ca4a07322f31d377c0c316a145437504fb8e6be0
Message:
*hannes: SW_USE_QGCD


git-svn-id: file:///usr/local/Singular/svn/trunk@10762 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
factory
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_defs.h

    rca4a073 rbb82f0  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_defs.h,v 1.13 2007-11-20 10:08:02 Singular Exp $ */
     2/* $Id: cf_defs.h,v 1.14 2008-06-16 12:55:08 Singular Exp $ */
    33
    44#ifndef INCL_CF_DEFS_H
     
    4242const int SW_USE_CHINREM_GCD=13;
    4343const int SW_USE_GCD_P=14;
     44const int SW_USE_QGCD=15;
    4445//}}}
    4546
  • factory/cf_gcd.cc

    rca4a073 rbb82f0  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_gcd.cc,v 1.61 2008-05-16 13:11:31 Singular Exp $ */
     2/* $Id: cf_gcd.cc,v 1.62 2008-06-16 12:55:41 Singular Exp $ */
    33
    44#include <config.h>
     
    1616#include "ftmpl_functions.h"
    1717#include "ffreval.h"
     18#include "algext.h"
    1819
    1920#ifdef HAVE_NTL
     
    762763                return cf_content( g, f );
    763764        }
     765        if (isOn(SW_USE_QGCD))
     766        {
     767          Variable m;
     768          if ((hasFirstAlgVar(f,m) || hasFirstAlgVar(g,m))
     769          //&& f.isUnivariate()
     770          //&& g.isUnivariate()
     771          && (getCharacteristic() == 0)
     772          )
     773            return QGCD(f,g);
     774        }
     775           
    764776        if ( f.inExtension() && getReduce( f.mvar() ) )
    765             return 1;
     777            return CanonicalForm(1);
    766778        else
    767779        {
     
    11491161  }
    11501162}
     1163#include "algext.cc"
  • factory/cf_switches.cc

    rca4a073 rbb82f0  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_switches.cc,v 1.9 2007-11-20 10:08:03 Singular Exp $ */
     2/* $Id: cf_switches.cc,v 1.10 2008-06-16 12:54:25 Singular Exp $ */
    33
    44//{{{ docu
     
    3737  On(SW_USE_EZGCD);
    3838  //On(SW_USE_EZGCD_P); // still testing
     39  //On(SW_USE_QGCD);
    3940}
    4041//}}}
  • factory/cf_switches.h

    rca4a073 rbb82f0  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: cf_switches.h,v 1.12 2007-11-20 10:08:03 Singular Exp $ */
     2/* $Id: cf_switches.h,v 1.13 2008-06-16 12:54:05 Singular Exp $ */
    33
    44#ifndef INCL_CF_SWITCHES_H
     
    1919//
    2020//}}}
    21 const int CFSwitchesMax = 15;
     21const int CFSwitchesMax = 16;
    2222//}}}
    2323
Note: See TracChangeset for help on using the changeset viewer.