Changeset f33f035 in git


Ignore:
Timestamp:
Feb 24, 1998, 10:52:22 AM (26 years ago)
Author:
Thomas Siebert <siebert@…>
Branches:
(u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
Children:
d8a975b55b29a53c2376599810b7b74deefd9a33
Parents:
b257014f6f377126c7f9a83d3507e0359642b730
Message:
*** empty log message ***


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

Legend:

Unmodified
Added
Removed
  • Singular/ideals.cc

    rb25701 rf33f035  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.18 1998-02-19 12:45:38 siebert Exp $ */
     4/* $Id: ideals.cc,v 1.19 1998-02-24 09:52:22 siebert Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    22352235      }
    22362236    }
     2237    idTest(result);
    22372238    idDelete((ideal*)&a);
    22382239    return;
     
    22422243  pp = pCopy(p);   //we had to store barDiv for the remaining loops
    22432244  matrix nextStep = mpOneStepBareiss(a,barDiv,&r,&c);
     2245//Print("next row is: %d, next col: %d\n",r,c);
     2246/*--- there is no pivot - the matrix is zero -------------*/
     2247  if (r*c==0)
     2248  {
     2249    idDelete((ideal*)&a);
     2250    return;
     2251  }
    22442252/*--- we read out the r-1 x c-1 matrix for the next step--*/
    22452253  if ((a->nrows-1)*(a->ncols-1)>0)
     
    22602268  }
    22612269/*--- now we have to take out the r-th row...------------*/
    2262 //Print("back for rows on Level: %d\n",ar);
    22632270  if (((a->nrows)>1) && (rowToChose==0))
    22642271  {
     
    22832290  }
    22842291/*--- now we have to take out the c-th col...------------*/
    2285 //Print("back for cols on Level: %d\n",ar);
    22862292  if ((a->nrows)>1)
    22872293  {
     
    23032309      }
    23042310    }
     2311/*--- and to perform the algorithm with the rest---------*/
    23052312    idDelete((ideal*)&a);
    2306 /*--- and to perform the algorithm with the rest---------*/
    23072313    idRecMin(nextStep,ar,&p,result,nextPlace,r);
    23082314    nextStep = NULL;
     
    23292335  poly barDiv=NULL;
    23302336  ideal result=idInit(16,0);
     2337  idTest(result);
    23312338
    23322339  idRecMin(mpCopy(a),ar-1,&barDiv,result,&i);
Note: See TracChangeset for help on using the changeset viewer.