Changeset 5a66d0 in git for Singular/LIB/standard.lib


Ignore:
Timestamp:
Apr 23, 2004, 4:14:48 PM (20 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
979aa58e6eda64d0f268299c491c22335ba45afd
Parents:
941bf901a04bf88f372b9d507a2d244f2733e050
Message:
*hannes: janet


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

Legend:

Unmodified
Added
Removed
  • Singular/LIB/standard.lib

    r941bf9 r5a66d0  
    11//////////////////////////////////////////////////////////////////////////////
    2 version="$Id: standard.lib,v 1.64 2003-10-17 16:03:18 levandov Exp $";
     2version="$Id: standard.lib,v 1.65 2004-04-23 14:12:24 Singular Exp $";
    33category="Miscellaneous";
    44info="
     
    66
    77PROCEDURES:
    8  stdjanet(ideal/module) Groebner basis using Janet basis computation
    98 stdfglm(ideal[,ord])   standard basis of ideal via fglm [and ordering ord]
    109 stdhilb(ideal[,h])     standard basis of ideal using the Hilbert function
     
    1211 quot(any,any[,n])      quotient using heuristically chosen method
    1312 res(ideal/module,[i])  free resolution of ideal or module
    14  janet(ideal/module)    Janet basis of the ideal/module
    1513 sprintf(fmt,...)       returns fomatted string
    1614 fprintf(link,fmt,..)   writes formatted string to link
     
    11091107   p=p^2;
    11101108   timeFactorize(p,2);
    1111    timeFactorize(p,20);
     1109   "ERROR: will not run currently:";
     1110   //timeFactorize(p,20);
    11121111}
    11131112
     
    12291228  factorH(p);
    12301229}
    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 argument
    1236 PURPOSE: computes the Janet basis of the argument @code{I}
    1237          (ideal or module).
    1238 ASSUME: well-ordering on current ring. Computations with modules
    1239 are still under development
    1240 NOTE:  Janet basis is an involutive basis with respect to
    1241 the involutive Janet division. It is indeed a non-reduced Groebner basis.
    1242 SEE ALSO: stdjanet, std
    1243 KEYWORDS: involutive basis computations
    1244 EXAMPLE: example janet;  shows an example"
    1245 {
    1246   return(system("janet",@i,1));
    1247 }
    1248 example
    1249 { "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 3
    1252   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 argument
    1260 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 are
    1262 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, std
    1266 KEYWORDS: involutive basis computations, groebner basis computations
    1267 EXAMPLE: example stdjanet;  shows an example"
    1268 {
    1269   return(system("janet",@i,0));
    1270 }
    1271 example
    1272 { "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 3
    1275   stdjanet(i);
    1276   option(redSB);
    1277   std(i);
    1278 }
    12791230//////////////////////////////////////////////////////////////////////////
    12801231
Note: See TracChangeset for help on using the changeset viewer.