Changeset 64c6d1 in git for Singular/LIB
- Timestamp:
- Jun 3, 1998, 12:04:30 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 88e48a8bf8bdcee21c6f8cc76efb29c06ce04a7b
- Parents:
- b9d3335d3643e630740a082ced8fc9b82bc915e2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
rb9d333 r64c6d1 1 // $Id: standard.lib,v 1.1 7 1998-05-29 15:02:02 SingularExp $1 // $Id: standard.lib,v 1.18 1998-06-03 10:04:26 obachman Exp $ 2 2 ////////////////////////////////////////////////////////////////////////////// 3 3 4 version="$Id: standard.lib,v 1.1 7 1998-05-29 15:02:02 SingularExp $";4 version="$Id: standard.lib,v 1.18 1998-06-03 10:04:26 obachman Exp $"; 5 5 info=" 6 6 LIBRARY: standard.lib PROCEDURES WHICH ARE ALWAYS LOADED AT START-UP … … 387 387 { 388 388 def P=basering; 389 list result;390 389 def m=#[1]; //the ideal or module 391 390 … … 413 412 list re=mres(m,i); 414 413 setring P; 415 res ult=imap(Phelp,re);414 resolution result=imap(Phelp,re); 416 415 return(result); 417 416 } … … 427 426 list re=sres(m,i); 428 427 setring P; 429 res ult=imap(Phelp,re);428 resolution result=imap(Phelp,re); 430 429 return(result); 431 430 } … … 438 437 list re=mres(m,i); 439 438 setring P; 440 res ult=imap(Phelp,re);439 resolution result=imap(Phelp,re); 441 440 return(result); 442 441 } 443 442 444 proc minresu(list #) 445 { 446 return(res(#[1],#[2],1)); 447 } 443 /* 444 proc minres(list #) 445 { 446 if (size(#) == 2) 447 { 448 if (typeof(#[1]) == "ideal" || typeof(#[1]) == "module") 449 { 450 if (typeof(#[2] == "int")) 451 { 452 return (res(#[1],#[2],1)); 453 } 454 } 455 } 456 457 if (typeof(#[1]) == "resolution") 458 { 459 return minimizeres(#[1]); 460 } 461 else 462 { 463 return minimizeres(#); 464 } 465 466 } 467 468 */
Note: See TracChangeset
for help on using the changeset viewer.