Changeset e4ca29b in git for kernel/hdegree.cc


Ignore:
Timestamp:
Nov 9, 2007, 12:29:45 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
0b4007f61f4525624acc8b539c5da92fdfe546fc
Parents:
e5e8e8aff2ec0d0232c8319fccfd6395577635cc
Message:
*hannes: scComputeHCw: currently not in use


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

Legend:

Unmodified
Added
Removed
  • kernel/hdegree.cc

    re5e8e8 re4ca29b  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: hdegree.cc,v 1.8 2007-11-06 17:55:57 Singular Exp $ */
     4/* $Id: hdegree.cc,v 1.9 2007-11-09 11:29:45 Singular Exp $ */
    55/*
    66*  ABSTRACT -  dimension, multiplicity, HC, kbase
     
    13591359}
    13601360
     1361#if 0 -- alternative implementation of scComputeHC
    13611362void scComputeHCw(ideal ss, ideal Q, int ak, poly &hEdge, ring tailRing)
    13621363{
     
    14191420    ideal res=scIdKbase();
    14201421    res->rank=ss->rank;
    1421     poly p_ind=NULL; int ind=-2;
    1422     for(i=IDELEMS(res)-1;i>=0;i--)
    1423     {
    1424       if (pCmp(res->m[i],p_ind)==1) { p_ind=res->m[i]; ind=i; }
     1422    poly p_ind=res->m[0]; int ind=0;
     1423    for(i=IDELEMS(res)-1;i>0;i--)
     1424    {
     1425      if (pCmp(res->m[i],p_ind)==-1) { p_ind=res->m[i]; ind=i; }
    14251426    }
    14261427    assume(p_ind!=NULL);
     
    14381439  }
    14391440}
     1441#endif
Note: See TracChangeset for help on using the changeset viewer.