Changeset d8e71a in git for Singular


Ignore:
Timestamp:
Aug 25, 2022, 11:43:42 AM (20 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
aaa2126025a96fdc04e3b30a2afd09f23a3bd228
Parents:
2d1047928fc91699976942d5b18b0096edd8439e
Message:
add CoeffTerm(<vector>,<ideal>)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r2d10479 rd8e71a  
    39713971      const short t5[]={2,VECTOR_CMD,POLY_CMD};
    39723972      const short t6[]={2,MODUL_CMD,POLY_CMD};
     3973      const short t7[]={2,VECTOR_CMD,IDEAL_CMD};
    39733974      if (iiCheckTypes(h,t1,0)
    39743975      || iiCheckTypes(h,t2,0))
     
    40034004        res->data=id_CoeffTermV(p,q,currRing);
    40044005        res->rtyp=MODUL_CMD;
     4006        return FALSE;
     4007      }
     4008      else if (iiCheckTypes(h,t7,0)) /* vector,ideal*/
     4009      {
     4010        poly p=(poly)h->Data();
     4011        ideal q=(ideal)h->next->Data();
     4012        res->data=p_CoeffTermId(p,q,p_MaxComp(p,currRing),currRing);
     4013        res->rtyp=VECTOR_CMD;
    40054014        return FALSE;
    40064015      }
Note: See TracChangeset for help on using the changeset viewer.