Changeset dd668f in git for libpolys/polys/clapsing.cc


Ignore:
Timestamp:
Mar 21, 2012, 6:48:05 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
bcfd11a55d73c58524f3c5043376c6d7147cb690
Parents:
f630e4e0ae481c82576fce09c99655b85d5e04e8
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-21 18:48:05+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-23 16:06:34+01:00
Message:
use minideal (instead of qideal) in rCompose

chg: use qideal instead of minideal for alg_ext

TODO: remove direct access to extRing from outside
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/clapsing.cc

    rf630e4 rdd668f  
    7575    if ( rField_is_Q_a(r)) setCharacteristic( 0 );
    7676    else                   setCharacteristic( rChar(r) );
    77     if (r->cf->extRing->minideal!=NULL)
     77    if (r->cf->extRing->qideal!=NULL)
    7878    {
    7979      bool b1=isOn(SW_USE_QGCD);
     
    8181      if ( rField_is_Q_a(r) ) On(SW_USE_QGCD);
    8282      else                   On(SW_USE_fieldGCD);
    83       CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     83      CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    8484                                           r->cf->extRing);
    8585      Variable a=rootOf(mipo);
     
    160160    else               setCharacteristic( rChar(r) );
    161161    Variable X(i+rPar(r));
    162     if (r->cf->extRing->minideal!=NULL)
     162    if (r->cf->extRing->qideal!=NULL)
    163163    {
    164164      //Variable X(i);
    165       CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     165      CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    166166                                           r->cf->extRing);
    167167      Variable a=rootOf(mipo);
     
    306306    else                 setCharacteristic( rChar(r) );
    307307    CanonicalForm Fa,Gb;
    308     if (r->cf->extRing->minideal!=NULL)
    309     {
    310       CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     308    if (r->cf->extRing->qideal!=NULL)
     309    {
     310      CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    311311                                           r->cf->extRing);
    312312      Variable a=rootOf(mipo);
     
    374374    if (rField_is_Q_a(r)) setCharacteristic( 0 );
    375375    else               setCharacteristic( rChar(r) );
    376     if (r->cf->extRing->minideal!=NULL)
    377     {
    378       CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     376    if (r->cf->extRing->qideal!=NULL)
     377    {
     378      CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    379379                                                 r->cf->extRing);
    380380      Variable a=rootOf(mipo);
     
    530530    else if (rField_is_Extension(r))
    531531    {
    532       if (r->cf->extRing->minideal!=NULL)
    533       {
    534         CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     532      if (r->cf->extRing->qideal!=NULL)
     533      {
     534        CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    535535                                    r->cf->extRing);
    536536        a=rootOf(mipo);
     
    563563        else if (rField_is_Extension(r))
    564564        {
    565           if (r->cf->extRing->minideal!=NULL)
     565          if (r->cf->extRing->qideal!=NULL)
    566566          {
    567567            q= convFactoryAPSingAP( Q,r );
     
    733733    if (rField_is_Q_a (r)) setCharacteristic (0);
    734734    else                   setCharacteristic( rChar(r) );
    735     if (r->cf->extRing->minideal!=NULL)
    736     {
    737       CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     735    if (r->cf->extRing->qideal!=NULL)
     736    {
     737      CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    738738                                           r->cf->extRing);
    739739      Variable a=rootOf(mipo);
     
    795795        intvec *w=NULL;
    796796        if (v!=NULL) w=*v;
    797         if (r->cf->extRing->minideal==NULL)
     797        if (r->cf->extRing->qideal==NULL)
    798798        {
    799799          if(!count_Factors(res,w,j,ff,convFactoryPSingTrP( J.getItem().factor(),r ),r))
     
    927927    }
    928928  }
    929   if (rField_is_Q_a(r) && (r->cf->extRing->minideal!=NULL))
     929  if (rField_is_Q_a(r) && (r->cf->extRing->qideal!=NULL))
    930930  {
    931931    int i=IDELEMS(res)-1;
     
    10911091    if (rField_is_Q_a (r)) setCharacteristic (0);
    10921092    else                   setCharacteristic( rChar(r) );
    1093     if (r->cf->extRing->minideal!=NULL)
    1094     {
    1095       CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->minideal->m[0],
     1093    if (r->cf->extRing->qideal!=NULL)
     1094    {
     1095      CanonicalForm mipo=convSingPFactoryP(r->cf->extRing->qideal->m[0],
    10961096                                           r->cf->extRing);
    10971097      Variable a=rootOf(mipo);
     
    11531153      else if (rField_is_Extension(r))     /* Q(a), Fp(a) */
    11541154      {
    1155         if (r->cf->extRing->minideal==NULL)
     1155        if (r->cf->extRing->qideal==NULL)
    11561156          res->m[j]=convFactoryPSingTrP( J.getItem().factor(),r );
    11571157        else
     
    11701170    }
    11711171  }
    1172   if (rField_is_Q_a(r) && (r->cf->extRing->minideal!=NULL))
     1172  if (rField_is_Q_a(r) && (r->cf->extRing->qideal!=NULL))
    11731173  {
    11741174    int i=IDELEMS(res)-1;
Note: See TracChangeset for help on using the changeset viewer.