Changeset 5a66d0 in git for Singular/LIB/standard.lib
- Timestamp:
- Apr 23, 2004, 4:14:48 PM (20 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 979aa58e6eda64d0f268299c491c22335ba45afd
- Parents:
- 941bf901a04bf88f372b9d507a2d244f2733e050
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/standard.lib
r941bf9 r5a66d0 1 1 ////////////////////////////////////////////////////////////////////////////// 2 version="$Id: standard.lib,v 1.6 4 2003-10-17 16:03:18 levandovExp $";2 version="$Id: standard.lib,v 1.65 2004-04-23 14:12:24 Singular Exp $"; 3 3 category="Miscellaneous"; 4 4 info=" … … 6 6 7 7 PROCEDURES: 8 stdjanet(ideal/module) Groebner basis using Janet basis computation9 8 stdfglm(ideal[,ord]) standard basis of ideal via fglm [and ordering ord] 10 9 stdhilb(ideal[,h]) standard basis of ideal using the Hilbert function … … 12 11 quot(any,any[,n]) quotient using heuristically chosen method 13 12 res(ideal/module,[i]) free resolution of ideal or module 14 janet(ideal/module) Janet basis of the ideal/module15 13 sprintf(fmt,...) returns fomatted string 16 14 fprintf(link,fmt,..) writes formatted string to link … … 1109 1107 p=p^2; 1110 1108 timeFactorize(p,2); 1111 timeFactorize(p,20); 1109 "ERROR: will not run currently:"; 1110 //timeFactorize(p,20); 1112 1111 } 1113 1112 … … 1229 1228 factorH(p); 1230 1229 } 1231 1232 proc janet(def @i)1233 "SYNTAX: @code{janet (} ideal_expression @code{)} @*1234 @code{janet (} module_expression @code{)}1235 TYPE: type of the first argument1236 PURPOSE: computes the Janet basis of the argument @code{I}1237 (ideal or module).1238 ASSUME: well-ordering on current ring. Computations with modules1239 are still under development1240 NOTE: Janet basis is an involutive basis with respect to1241 the involutive Janet division. It is indeed a non-reduced Groebner basis.1242 SEE ALSO: stdjanet, std1243 KEYWORDS: involutive basis computations1244 EXAMPLE: example janet; shows an example"1245 {1246 return(system("janet",@i,1));1247 }1248 example1249 { "EXAMPLE: "; echo=2;1250 ring r=0,(x,y,z),dp;1251 ideal i=x*y*z-1,x+y+z,x*y+x*z+y*z; // cyclic 31252 janet(i);1253 }1254 //////////////////////////////////////////////////////////////////////////1255 1256 proc stdjanet(def @i)1257 "SYNTAX: @code{groebner (} ideal_expression @code{)} @*1258 @code{groebner (} module_expression @code{)}1259 TYPE: type of the first argument1260 PURPOSE: computes the reduced Groebner basis of the argument @code{I} (ideal or module) via the computation of Janet basis and interreduction.1261 ASSUME: well-ordering on current ring. Computations with modules are1262 still under development.1263 NOTE: In order to compare the result with the one, produced by @code{std},1264 be sure that @code{option(prot)} is activated in the latter computation.1265 SEE ALSO: janet, std1266 KEYWORDS: involutive basis computations, groebner basis computations1267 EXAMPLE: example stdjanet; shows an example"1268 {1269 return(system("janet",@i,0));1270 }1271 example1272 { "EXAMPLE: "; echo=2;1273 ring r=0,(x,y,z),dp;1274 ideal i=x*y*z-1,x+y+z,x*y+x*z+y*z; // cyclic 31275 stdjanet(i);1276 option(redSB);1277 std(i);1278 }1279 1230 ////////////////////////////////////////////////////////////////////////// 1280 1231
Note: See TracChangeset
for help on using the changeset viewer.