Changeset e3cb559 in git


Ignore:
Timestamp:
Dec 10, 2020, 11:02:12 AM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b4f17ed1d25f93d46dbe29e4b499baecc2fd51bb')
Children:
9ee8586caa6203ffc06f1b7dc54ac0c8f95d1343
Parents:
04fd151aafcc56addbe8a6b608ae2390f6d8df17
Message:
doc: fix pdivi (dupl.)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/redcgs.lib

    r04fd15 re3cb559  
    127127subset(F,G);         If all elements of F belong to the ideal G it returns 1,
    128128                     and 0 otherwise.
    129 pdivi(f,F);          Pseudodivision of a polynomial f by an ideal F in @R. Returns a
     129pdivi2(f,F);         Pseudodivision of a polynomial f by an ideal F in @R. Returns a
    130130                     list (r,q,m) such that m*f=r+sum(q.G).
    131131facvar(ideal J)      Returns all the free-square factors of the elements
     
    430430
    431431
    432 // pdivi : pseudodivision of a polynomial f by an ideal F in @R
     432// pdivi2 : pseudodivision of a polynomial f by an ideal F in @R
    433433//         in the ring @R
    434434// input:
     
    437437// output:
    438438//   list (poly r, ideal q, poly mu)
    439 proc pdivi(poly f,ideal F)
    440 "USAGE:   pdivi(f,F);
     439proc pdivi2(poly f,ideal F)
     440"USAGE:   pdivi2(f,F);
    441441          poly f: the polynomial to be divided
    442442          ideal F: the divisor ideal
     
    447447          list (r,q,m) such that m*f=r+sum(q.G).
    448448KEYWORDS: division, reduce
    449 EXAMPLE:  pdivi; shows an example"
     449EXAMPLE:  example pdivi2; shows an example"
    450450{
    451451  int i;
     
    505505  poly f=(ab-ac)*xy+(ab)*x+(5c);
    506506  ideal F=ax+b,cy+a;
    507   def r=pdivi(f,F);
     507  def r=pdivi2(f,F);
    508508  r;
    509509  r[3]*f-(r[2][1]*F[1]+r[2][2]*F[2])-r[1];
     
    631631NOTE:     Should be called from ring @R. Ideals N and W must be polynomials
    632632          in the parameters forming a red-specification (see definition)         the papers).
    633 KEYWORDS: division, pdivi, reduce
     633KEYWORDS: division, pdivi2, reduce
    634634EXAMPLE:  pnormalform; shows an example"
    635635{
     
    933933  {
    934934    H=delfromideal(F,i);
    935     G[i]=pnormalform(pdivi(F[i],H)[1],N,W);
     935    G[i]=pnormalform(pdivi2(F[i],H)[1],N,W);
    936936  }
    937937  return(G);
     
    12191219      {
    12201220        S=pspol(F[i],F[j]);
    1221         KK=pdivi(S,F);
     1221        KK=pdivi2(S,F);
    12221222        S=KK[1];
    12231223        if (S!=0)
     
    37603760  {
    37613761    H=delfromideal(F,i);
    3762     G[i]=pdivi(F[i],H)[1];
     3762    G[i]=pdivi2(F[i],H)[1];
    37633763  }
    37643764  return(G);
Note: See TracChangeset for help on using the changeset viewer.