Changeset 6e9b7d in git


Ignore:
Timestamp:
Sep 22, 2014, 5:33:59 PM (10 years ago)
Author:
Jakob Kröker <kroeker@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
Children:
46f37cb57098799d8399fc704c5b3ca2020ca0c1
Parents:
0e8dab27bf2f0f78deb06b2627bb3f13ab41e7c5
Message:
renamed Noether::Test to Noether::TestLastVarIsInGenericPos
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/noether.lib

    r0e8dab r6e9b7d  
    308308
    309309////////////////////////////////////////////////////////////////////////////////////
    310 proc Test (ideal i)
    311 "USAGE:   Test (i); i a monomial ideal,
     310proc TestLastVarIsInGenericPos (ideal i)
     311"USAGE:   TestLastVarIsInGenericPos (i); i a monomial ideal,
    312312RETURN:  1 if the last variable is in generic position for i and 0 otherwise.
    313313THEORY:  The last variable is in generic position if the quotient of the ideal
     
    374374    return();
    375375  }
    376   if (Test(I) == 1 )
     376  if (TestLastVarIsInGenericPos(I) == 1 )
    377377  {
    378378    dbprint(2,"sat(i)=" + string(maxdeg1(K)) + " and the time of this computation: " + string(rtimer-time) + "/100sec.");
     
    403403      return();
    404404    }
    405     if (Test(I) == 1 )
     405    if (TestLastVarIsInGenericPos(I) == 1 )
    406406    {
    407407      dbprint(2,"sat(i)=" + string(maxdeg1(K)) + " and the time of this computation: " + string(rtimer-time) + "/100sec.");
     
    469469    return();
    470470  }
    471   if (Test(I) == 1 )
     471  if (TestLastVarIsInGenericPos(I) == 1 )
    472472  {
    473473    dbprint(2,"msat(i)=" + string(maxdeg1(K)) + " and the time of this computation: " + string(rtimer-time) + "/100sec.");
     
    507507      return();
    508508    }
    509     if (Test(lsbi1) == 1 )
     509    if (TestLastVarIsInGenericPos(lsbi1) == 1 )
    510510    {
    511511      dbprint(2,"msat(i)=" + string(maxdeg1(K)) + " and the time of this computation: " + string(rtimer-time) + "/100sec.");
     
    576576  else
    577577  {
    578     if (Test(I) == 1)
     578    if (TestLastVarIsInGenericPos(I) == 1)
    579579    {
    580580      h=maxdeg1(K);
     
    594594          h=0;break;
    595595        }
    596         if (Test(I) == 1 )
     596        if (TestLastVarIsInGenericPos(I) == 1 )
    597597        {
    598598          h=maxdeg1(K);break;
     
    620620    else
    621621    {
    622       if (Test(I) == 1)
     622      if (TestLastVarIsInGenericPos(I) == 1)
    623623      {
    624624        H=maxdeg1(K);
     
    638638            H=0;break;
    639639          }
    640           if (Test(I) == 1 )
     640          if (TestLastVarIsInGenericPos(I) == 1 )
    641641          {
    642642            H=maxdeg1(K);break;
     
    798798  else
    799799  {
    800     if (Test(I) == 1)
     800    if (TestLastVarIsInGenericPos(I) == 1)
    801801    {
    802802      h=maxdeg1(K);
     
    827827          h=0;break;
    828828        }
    829         if (Test(I) == 1 )
     829        if (TestLastVarIsInGenericPos(I) == 1 )
    830830        {
    831831          h=maxdeg1(K);break;
     
    865865    else
    866866    {
    867       if (Test(I) == 1)
     867      if (TestLastVarIsInGenericPos(I) == 1)
    868868      {
    869869        H=maxdeg1(K);
     
    895895            H=0;break;
    896896          }
    897           if (Test(I) == 1 )
     897          if (TestLastVarIsInGenericPos(I) == 1 )
    898898          {
    899899            H=maxdeg1(K);break;
Note: See TracChangeset for help on using the changeset viewer.