=================================================================== RCS file: /home/cvs/OpenXM/src/ox_math/documents/math2ox.texi,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- OpenXM/src/ox_math/documents/math2ox.texi 2000/03/14 05:46:09 1.4 +++ OpenXM/src/ox_math/documents/math2ox.texi 2000/03/14 14:25:27 1.5 @@ -1,4 +1,4 @@ -%% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.3 2000/03/14 02:21:40 ohara Exp $ +%% $OpenXM: OpenXM/src/ox_math/documents/math2ox.texi,v 1.4 2000/03/14 05:46:09 ohara Exp $ \input texinfo @iftex @@ -340,20 +340,109 @@ In[5] := cmo = OxGet[pid] @node Sample Programs,,, Top @chapter Sample Programs -@tex -\noindent -1. -{\tt OpenXM/lib/math/primadec.m} is a Mathematica program +@enumerate +@item +@code{OpenXM/lib/math/primadec.m} is a Mathematica program to make primary ideal decompositions by calling -{\tt ox\_asir}. +@code{ox_asir}. As to usages, see comments in this file. -\noindent 2. -{\tt OpenXM/lib/math/beta.m} is a Mathematica program -to get beta-nbc bases by calling {\tt ox\_asir}. -@end tex +@item +@code{OpenXM/lib/math/beta.m} is a Mathematica program +to get beta-nbc bases by calling @code{ox_asir}. +@end enumerate +@node Example,,, Top +@chapter Example +The @code{math2ox} has the following commands: + +@code{OxStart[s_String], +OxStartInsecure[s_String, p_Integer, q_Integer], +OxStartRemoteSSH[s_String, t_String], +OxExecuteString[s_String], OxSendMessage[s_String], OxGet[], OxPopCMO[], +OxPopString[], OxClose[], OxReset[]}. + +First, let us load the math2ox. +@example +In[1]:= <