Changeset ebb5c16 in git


Ignore:
Timestamp:
Mar 3, 2021, 4:47:42 PM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
17b0ccfd5d571f60393bcf29e604b2e379449352
Parents:
53b40a8806a189ae4aebe83a567ede76e81fa6db
Message:
idLiftStd for relative syz./transformation matrix
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/ideals.cc

    r53b40a rebb5c16  
    857857* in ma
    858858*/
    859 ideal idLiftStd (ideal  h1, matrix* ma, tHomog hi, ideal * syz, GbVariant alg, int limit)
     859ideal idLiftStd (ideal  h1, matrix* ma, tHomog hi, ideal * syz, GbVariant alg,
     860  ideal h11)
    860861{
    861862  int  i, j, t, inputIsIdeal=id_RankFreeModule(h1,currRing);
     
    895896  else
    896897    s_h1 = h1;
    897 
    898   ideal s_h3=idPrepare(s_h1,NULL,hi,k,&w,alg); // main (syz) GB computation
     898  ideal s_h11=NULL;
     899  if (h11!=NULL)
     900  {
     901    s_h11=idrCopyR_NoSort(h11,orig_ring,syz_ring);
     902  }
     903
     904
     905  ideal s_h3=idPrepare(s_h1,s_h11,hi,k,&w,alg); // main (syz) GB computation
    899906
    900907  ideal s_h2 = idInit(IDELEMS(s_h3), s_h3->rank);
     
    962969  {
    963970    idDelete(&s_h1);
     971    if (s_h11!=NULL) idDelete(&s_h11);
    964972    rChangeCurrRing(orig_ring);
    965973  }
  • kernel/ideals.h

    r53b40a rebb5c16  
    138138ideal   idSyzygies (ideal h1, tHomog h,intvec **w, BOOLEAN setSyzComp=TRUE,
    139139                    BOOLEAN setRegularity=FALSE, int *deg = NULL, GbVariant a=GbDefault);
    140 ideal   idLiftStd  (ideal h1, matrix *m, tHomog h=testHomog, ideal *syz=NULL, GbVariant a=GbDefault, int limit=INT_MAX);
     140ideal   idLiftStd  (ideal h1, matrix *m, tHomog h=testHomog, ideal *syz=NULL, GbVariant a=GbDefault, ideal h11=NULL);
    141141
    142142ideal   idLift (ideal mod, ideal submod,ideal * rest=NULL,
Note: See TracChangeset for help on using the changeset viewer.