Changeset f09105 in git


Ignore:
Timestamp:
Jun 6, 2011, 4:45:55 PM (13 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
a5d5fca9f3b322761be00e3eaaf1b6641d54f518
Parents:
c227a2fe328d29d1cfbd56bc8d8824aed8aa2d38
Message:
use bivariate factorization directly


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

Legend:

Unmodified
Added
Removed
  • factory/facFqFactorize.h

    rc227a2f rf09105  
    4646                       )
    4747{
     48  if (getNumVars (F) == 2)
     49    return FpBiSqrfFactorize (F);
    4850  ExtensionInfo info= ExtensionInfo (false);
    4951  CFList result= multiFactorize (F, info);
     
    6264                       )
    6365{
     66  if (getNumVars (F) == 2)
     67    return FqBiSqrfFactorize (F, alpha);
    6468  ExtensionInfo info= ExtensionInfo (alpha, false);
    6569  CFList result= multiFactorize (F, info);
     
    7983  ASSERT (CFFactory::gettype() == GaloisFieldDomain,
    8084          "GF as base field expected");
     85  if (getNumVars (F) == 2)
     86    return GFBiSqrfFactorize (F);
    8187  ExtensionInfo info= ExtensionInfo (getGFDegree(), gf_name, false);
    8288  CFList result= multiFactorize (F, info);
     
    94100                    )
    95101{
     102  if (getNumVars (F) == 2)
     103    return FpBiFactorize (F);
    96104  ExtensionInfo info= ExtensionInfo (false);
    97105  Variable a= Variable (1);
     
    139147                    )
    140148{
     149  if (getNumVars (F) == 2)
     150    return FqBiFactorize (F, alpha);
    141151  ExtensionInfo info= ExtensionInfo (alpha, false);
    142152  CanonicalForm LcF= Lc (F);
     
    185195  ASSERT (CFFactory::gettype() == GaloisFieldDomain,
    186196          "GF as base field expected");
     197  if (getNumVars (F) == 2)
     198    return GFBiFactorize (F);
    187199  Variable a= Variable (1);
    188200  ExtensionInfo info= ExtensionInfo (getGFDegree(), gf_name, false);
Note: See TracChangeset for help on using the changeset viewer.