version 1.34, 2004/09/12 01:32:08 |
version 1.46, 2005/09/27 05:46:50 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.33 2004/09/11 12:13:41 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/usage.c,v 1.45 2005/07/18 10:55:16 takayama Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
#include "datatype.h" |
#include "datatype.h" |
#include "stackm.h" |
#include "stackm.h" |
Line 147 void Kusage2(fp,s) |
|
Line 147 void Kusage2(fp,s) |
|
fppp(fp," [(chattrs) num ] extension result-object \n"); |
fppp(fp," [(chattrs) num ] extension result-object \n"); |
fppp(fp," [(defaultPolyRing) num ] extension result-object \n"); |
fppp(fp," [(defaultPolyRing) num ] extension result-object \n"); |
fppp(fp," [(flush) ] extension null \n"); |
fppp(fp," [(flush) ] extension null \n"); |
|
fppp(fp," [(getAttribute) obj key] extension value \n"); |
|
fppp(fp," [(getAttributeList) obj] extension attrList \n"); |
fppp(fp," [(getpid) ] extension result-integer \n"); |
fppp(fp," [(getpid) ] extension result-integer \n"); |
fppp(fp," [(getenv) envName] extension valueOfEnvName \n"); |
fppp(fp," [(getenv) envName] extension valueOfEnvName \n"); |
|
fppp(fp," [(gethostname) ] extension myhostname \n"); |
fppp(fp," [(stat) fname] extension v \n"); |
fppp(fp," [(stat) fname] extension v \n"); |
fppp(fp," v = [null,[(error no), p]] or [0, [size ]]\n"); |
fppp(fp," v = [null,[(error no), p]] or [0, [size ]]\n"); |
fppp(fp," [(forkExec) argList fdList sigblock] extension pid\n"); |
fppp(fp," [(forkExec) argList fdList sigblock] extension pid\n"); |
Line 160 void Kusage2(fp,s) |
|
Line 163 void Kusage2(fp,s) |
|
fppp(fp," [(newVector) m ] extension vec \n"); |
fppp(fp," [(newVector) m ] extension vec \n"); |
fppp(fp," [(getUniqueFileName) path] extension newName \n"); |
fppp(fp," [(getUniqueFileName) path] extension newName \n"); |
fppp(fp," [(or_attr) atr literal] extension new_value \n"); |
fppp(fp," [(or_attr) atr literal] extension new_value \n"); |
|
fppp(fp," [(or_attrs) atr ] extension result-obj \n"); |
fppp(fp," [(outputObjectToFile) path obj] extension null \n"); |
fppp(fp," [(outputObjectToFile) path obj] extension null \n"); |
fppp(fp," [(ostype)] extension list \n"); |
fppp(fp," [(ostype)] extension list \n"); |
|
fppp(fp," [(setAttribute) obj key value] extension new-attributed-obj \n"); |
|
fppp(fp," [(setAttributeList) obj attrList] extension new-attributed-obj \n"); |
|
fppp(fp," [(stringToArgv) sobj] extension decomposed_str cf. to_records \n"); |
|
fppp(fp," [(read) fd size] extension string \n"); |
|
fppp(fp," [(regexec) regular_expression stringArray flags(opt)] extension list \n"); |
fppp(fp," [(regionMatches) string stringArray] extension list \n"); |
fppp(fp," [(regionMatches) string stringArray] extension list \n"); |
fppp(fp," [(traceClearStack)] extension null \n"); |
fppp(fp," [(traceClearStack)] extension null \n"); |
fppp(fp," [(traceShowStack)] extension str \n"); |
fppp(fp," [(traceShowStack)] extension str \n"); |
|
fppp(fp," [(traceShowScannerBuf)] extension str \n"); |
|
fppp(fp," [(unlink) fname] extension r\n"); |
/* fppp(fp," [(asir0) string] extension result-object \n"); */ |
/* fppp(fp," [(asir0) string] extension result-object \n"); */ |
fppp(fp,"See also plugin-* in ??. \n"); |
fppp(fp,"See also plugin-* in ?? by [(plugin)] usages :: \n"); |
|
fppp(fp,"See also (extension-examples) usage :: \n"); |
}else if (strcmp(s,"file")==0) { |
}else if (strcmp(s,"file")==0) { |
fppp(fp,"<< filename mode file fd >>\n"); |
fppp(fp,"<< filename mode file fd >>\n"); |
fppp(fp,"string filename, mode; file fd;\n"); |
fppp(fp,"string filename, mode; file fd;\n"); |
Line 232 void Kusage2(fp,s) |
|
Line 244 void Kusage2(fp,s) |
|
fppp(fp,"poly f1, ..., fn; poly g1, ..., gm;\n"); |
fppp(fp,"poly f1, ..., fn; poly g1, ..., gm;\n"); |
fppp(fp,"optional return value: matrix of poly backward-transformation, syzygy;\n"); |
fppp(fp,"optional return value: matrix of poly backward-transformation, syzygy;\n"); |
fppp(fp,"Computation of the Groebner basis of f1,...,fn. The basis is {g1,...,gm}.\n"); |
fppp(fp,"Computation of the Groebner basis of f1,...,fn. The basis is {g1,...,gm}.\n"); |
fppp(fp,"Options: << (needBack), (needSyz), (countDown) number (StopDegree) number, (forceReduction)>>\n"); |
fppp(fp,"Options: << (needBack), (needSyz), (reduceOnly), (gbCheck),\n"); |
|
fppp(fp," (countDown) number (StopDegree) number, (forceReduction)>>\n"); |
fppp(fp,"Flags:<< [(ReduceLowerTerms) 1] system_variable >>\n"); |
fppp(fp,"Flags:<< [(ReduceLowerTerms) 1] system_variable >>\n"); |
|
fppp(fp," << [(AutoReduce) 0] system_variable >>\n"); |
fppp(fp," << [(UseCriterion1) 0] system_variable >>\n"); |
fppp(fp," << [(UseCriterion1) 0] system_variable >>\n"); |
fppp(fp," << [(UseCriterion2B) 0] system_variable >>\n"); |
fppp(fp," << [(UseCriterion2B) 0] system_variable >>\n"); |
fppp(fp," << [(Sugar) 0] system_variable >>\n"); |
fppp(fp," << [(Sugar) 0] system_variable >>\n"); |
Line 510 void Kusage2(fp,s) |
|
Line 524 void Kusage2(fp,s) |
|
fppp(fp,"orderMatrix, gbListTower, Schreyer, \n"); |
fppp(fp,"orderMatrix, gbListTower, Schreyer, \n"); |
fppp(fp,"outputOrder, multSymbol, variableNames, Version,\n"); |
fppp(fp,"outputOrder, multSymbol, variableNames, Version,\n"); |
fppp(fp,"AvoidTheSameRing, RingStack, LeftBracket, RightBracket,\n"); |
fppp(fp,"AvoidTheSameRing, RingStack, LeftBracket, RightBracket,\n"); |
fppp(fp,"AutoReduce, SecureMode, Ecart, EcartAutomaticHomogenization\n"); |
fppp(fp,"AutoReduce, Ecart, EcartAutomaticHomogenization\n"); |
fppp(fp,"DoCancel, DebugContentReduction\n"); |
fppp(fp,"DoCancel, DebugContentReduction\n"); |
|
fppp(fp,"RestrictedMode (cf. or_attr 8), SecureMode(obsolete) \n"); |
fppp(fp,"Example: [(N)] system_variable\n"); |
fppp(fp,"Example: [(N)] system_variable\n"); |
fppp(fp," (maximum number of variables)/2.\n"); |
fppp(fp," (maximum number of variables)/2.\n"); |
fppp(fp," [(x) (var) 3] system_variable\n"); |
fppp(fp," [(x) (var) 3] system_variable\n"); |
Line 534 void Kusage2(fp,s) |
|
Line 549 void Kusage2(fp,s) |
|
fppp(fp,"Example: ({x,y2}) to_records ===> (x) (y2) 2\n"); |
fppp(fp,"Example: ({x,y2}) to_records ===> (x) (y2) 2\n"); |
fppp(fp,"Example: (x,y2) to_records ===> (x) (y2) 2\n"); |
fppp(fp,"Example: (x,y2) to_records ===> (x) (y2) 2\n"); |
fppp(fp,"Example: [(x,y2) to_records pop] ===> [(x) (y2)]\n"); |
fppp(fp,"Example: [(x,y2) to_records pop] ===> [(x) (y2)]\n"); |
|
fppp(fp,"cf. [(stringToArgv) str] extension \n"); |
}else if (strcmp(s,"writestring") == 0) { |
}else if (strcmp(s,"writestring") == 0) { |
fppp(fp,"<< fd s writestring >>\n"); /*:*/ |
fppp(fp,"<< fd s writestring >>\n"); /*:*/ |
fppp(fp,"file fd; string s;\n"); |
fppp(fp,"file fd; string s;\n"); |