Changeset 6396811 in git
- Timestamp:
- Feb 4, 2007, 12:37:35 PM (16 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 9d963d1214d7ce4074d080698dd5f8e8015045bd
- Parents:
- 83783ebb580d5bc290e32bc3e46524ca07777ce8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
r83783eb r6396811 2 2 //major revision Jan/Feb. 2007, GMG 3 3 ////////////////////////////////////////////////////////////////////////////// 4 version="$Id: standard.lib,v 1.8 6 2007-02-03 14:11:52Singular Exp $";4 version="$Id: standard.lib,v 1.87 2007-02-04 11:37:35 Singular Exp $"; 5 5 category="Miscellaneous"; 6 6 info=" … … 712 712 713 713 ////////////////////////////////////////////////////////////////////////////// 714 proc groebner(def i , list #)714 proc groebner(def i_par, list #) 715 715 "SYNTAX: @code{groebner (} ideal_expression @code{)} @* 716 716 @code{groebner (} module_expression @code{)} @* … … 792 792 793 793 def P=basering; 794 if ((typeof(i_par)=="vector")||(typeof(i_par)=="module")) {module i=i_par;} 795 else {ideal i=i_par; } 796 kill i_par; 794 797 //----------------------- save the given method --------------------------- 795 798 string method; … … 1037 1040 if ( algorithm=="std" || (algorithm=="stdorslimgb" && char(P)>0) ) 1038 1041 { 1039 if (p_opt) { "std in " + string(P); } 1040 i = std(i); 1041 return(i); 1042 if (p_opt) { "std in " + string(P); } 1043 return(std(i)); 1042 1044 } 1043 1045 if ( algorithm=="slimgb" || (algorithm=="stdorslimgb" && char(P)==0) ) 1044 1046 { 1045 i = qslimgb(i); 1046 return(i); 1047 return(qslimgb(i)); 1047 1048 } 1048 1049 }
Note: See TracChangeset
for help on using the changeset viewer.