Changeset fcf7587 in git for factory/cf_factor.cc


Ignore:
Timestamp:
Jun 22, 2011, 5:34:47 PM (13 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f152c5a55feb4bb8f254f8c34262507cbe3c16f7
Parents:
c8c436dbaac87cb32807b78b08f51c4be97ab9f1
Message:
switched on new factorization and updated tests


git-svn-id: file:///usr/local/Singular/svn/trunk@14302 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cf_factor.cc

    rc8c436 rfcf7587  
    3131#include "algext.h"
    3232#include "facAlgExt.h"
     33#include "facFactorize.h"
     34#include "singext.h"
    3335
    3436#include "int_int.h"
     
    666668CFFList factorize ( const CanonicalForm & f, const Variable & alpha )
    667669{
     670  if ( f.inCoeffDomain() )
     671    return CFFList( f );
    668672  //out_cf("factorize:",f,"==================================\n");
    669673  //out_cf("mipo:",getMipo(alpha),"\n");
     
    795799
    796800  }
    797   else if (f.isUnivariate() && ch == 0) // Q(a)[x]
     801  else if (f.isUnivariate() && (ch == 0)) // Q(a)[x]
    798802  {
    799803    F= AlgExtFactorize (f, alpha);
     
    801805  else //Q(a)[x1,...,xn]
    802806  {
    803       factoryError("not implemented");
     807    F= ratFactorize (f, alpha);
    804808  }
    805809  if(isOn(SW_USE_NTL_SORT)) F.sort(cmpCF);
Note: See TracChangeset for help on using the changeset viewer.