Changeset f33f035 in git
- Timestamp:
- Feb 24, 1998, 10:52:22 AM (26 years ago)
- Branches:
- (u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
- Children:
- d8a975b55b29a53c2376599810b7b74deefd9a33
- Parents:
- b257014f6f377126c7f9a83d3507e0359642b730
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ideals.cc
rb25701 rf33f035 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.1 8 1998-02-19 12:45:38siebert Exp $ */4 /* $Id: ideals.cc,v 1.19 1998-02-24 09:52:22 siebert Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 2235 2235 } 2236 2236 } 2237 idTest(result); 2237 2238 idDelete((ideal*)&a); 2238 2239 return; … … 2242 2243 pp = pCopy(p); //we had to store barDiv for the remaining loops 2243 2244 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 } 2244 2252 /*--- we read out the r-1 x c-1 matrix for the next step--*/ 2245 2253 if ((a->nrows-1)*(a->ncols-1)>0) … … 2260 2268 } 2261 2269 /*--- now we have to take out the r-th row...------------*/ 2262 //Print("back for rows on Level: %d\n",ar);2263 2270 if (((a->nrows)>1) && (rowToChose==0)) 2264 2271 { … … 2283 2290 } 2284 2291 /*--- now we have to take out the c-th col...------------*/ 2285 //Print("back for cols on Level: %d\n",ar);2286 2292 if ((a->nrows)>1) 2287 2293 { … … 2303 2309 } 2304 2310 } 2311 /*--- and to perform the algorithm with the rest---------*/ 2305 2312 idDelete((ideal*)&a); 2306 /*--- and to perform the algorithm with the rest---------*/2307 2313 idRecMin(nextStep,ar,&p,result,nextPlace,r); 2308 2314 nextStep = NULL; … … 2329 2335 poly barDiv=NULL; 2330 2336 ideal result=idInit(16,0); 2337 idTest(result); 2331 2338 2332 2339 idRecMin(mpCopy(a),ar-1,&barDiv,result,&i);
Note: See TracChangeset
for help on using the changeset viewer.