Changeset 2302217 in git


Ignore:
Timestamp:
Nov 6, 2007, 9:14:04 PM (16 years ago)
Author:
Simon King <king@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
f85f9fd8b437e534cdda5f70e30251e4e5a9e8fc
Parents:
894377fe1ce013f6a8373f81afd184a94478f653
Message:
weightKB: improved performance; the recursive function "weightmon" is now only called after verifying that it may end up with a standard monomial.


git-svn-id: file:///usr/local/Singular/svn/trunk@10385 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    r894377 r2302217  
    33//groebner mit Optionen versehen
    44//////////////////////////////////////////////////////////////////////////////
    5 version="$Id: standard.lib,v 1.97 2007-11-06 14:56:24 Singular Exp $";
     5version="$Id: standard.lib,v 1.98 2007-11-06 20:14:04 king Exp $";
    66category="Miscellaneous";
    77info="
     
    20192019  }
    20202020  m2=drest;
    2021   weightmon(va-1,m2,mm);
     2021  if ((mm!=0) and (reduce(mm,stdtop)==mm))
     2022  {
     2023    weightmon(va-1,m2,mm);
     2024  }
    20222025  while(m2>=wwtop[va])
    20232026  {
     
    20322035      }
    20332036    }
    2034     weightmon(va-1,m2,mm);
     2037     if ((mm!=0) and (reduce(mm,stdtop)==mm))
     2038     {
     2039       weightmon(va-1,m2,mm);
     2040     }
    20352041  }
    20362042  return();
Note: See TracChangeset for help on using the changeset viewer.