[BACK]Return to process.texi CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-doc / parts

Diff for /OpenXM/src/asir-doc/parts/process.texi between version 1.7 and 1.12

version 1.7, 2001/03/16 05:18:04 version 1.12, 2002/09/10 01:40:02
Line 1 
Line 1 
 @comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.6 2000/11/13 00:16:34 noro Exp $  @comment $OpenXM: OpenXM/src/asir-doc/parts/process.texi,v 1.11 2002/09/03 02:15:35 noro Exp $
 \BJP  \BJP
 @node $BJ,;67W;;(B,,, Top  @node $BJ,;67W;;(B,,, Top
 @chapter $BJ,;67W;;(B  @chapter $BJ,;67W;;(B
Line 28 
Line 28 
 @section OpenXM  @section OpenXM
   
 \BJP  \BJP
 @b{Asir} $B$O(B, $BJ,;67W;;$K$*$1$kDL?.%W%m%H%3%k$H$7$F(B, @b{OpenXM}  @b{Asir} $B$O(B, $BJ,;67W;;$K$*$1$kDL?.%W%m%H%3%k$H$7$F(B,
 (Open message eXchange protocol for Mathematics) $B$r:NMQ$7$F$$$k(B.  @b{OpenXM}
 @b{OpenXM} $B$O(B, $B<g$H$7$F?t3X%*%V%8%'%/%H$r%W%m%;%94V$G$d$j$H$j$9$k(B  (Open message eXchange for Mathematics) $B%W%m%H%3%k$r:NMQ$7$F$$$k(B.
   @b{OpenXM} $B%W%m%8%'%/%H$K$D$$$F$O(B,
   @ifhtml
   <A HREF="http://www.math.sci.kobe-u.ac.jp/OpenXM/">
   @end ifhtml
   @code{http://www.math.sci.kobe-u.ac.jp/OpenXM/}
   @ifhtml
   </A>
   @end ifhtml
   $B$r;2>H$7$F$[$7$$(B.
   
   @b{OpenXM} $B%W%m%H%3%k$O(B, $B<g$H$7$F?t3X%*%V%8%'%/%H$r%W%m%;%94V$G$d$j$H$j$9$k(B
 $B$?$a$N5,Ls$G$"$k(B. @b{OpenXM} $B$K$*$$$F$O(B  $B$?$a$N5,Ls$G$"$k(B. @b{OpenXM} $B$K$*$$$F$O(B
 \E  \E
 \BEG  \BEG
Line 38  On @b{Asir} distributed computations are done under @b
Line 49  On @b{Asir} distributed computations are done under @b
 (Open message eXchange protocol for Mathematics), which  (Open message eXchange protocol for Mathematics), which
 is a protocol for exchanging mainly mathematical objects  is a protocol for exchanging mainly mathematical objects
 between processes.  between processes.
   See
   @ifhtml
   <A HREF="http://www.math.sci.kobe-u.ac.jp/OpenXM/">
   @end ifhtml
   @code{http://www.math.sci.kobe-u.ac.jp/OpenXM/}
   @ifhtml
   </A>
   @end ifhtml
   for the details of @b{OpenXM}.
 In @b{OpenXM} a distributed computation is done as follows:  In @b{OpenXM} a distributed computation is done as follows:
 \E  \E
   
Line 505  input @code{quit}.
Line 525  input @code{quit}.
 * ox_flush::  * ox_flush::
 * ox_get_serverinfo::  * ox_get_serverinfo::
 * generate_port try_bind_listen try_connect try_accept register_server::  * generate_port try_bind_listen try_connect try_accept register_server::
 * ifplot conplot plot plotover::  * ifplot conplot plot polarplot plotover::
 * open_canvas clear_canvas draw_obj::  * open_canvas clear_canvas draw_obj draw_string::
 @end menu  @end menu
   
 \JP @node ox_launch ox_launch_nox ox_shutdown,,, $BJ,;67W;;$K4X$9$k4X?t(B  \JP @node ox_launch ox_launch_nox ox_shutdown,,, $BJ,;67W;;$K4X$9$k4X?t(B
Line 779  ox_xterm*saveLines:1000
Line 799  ox_xterm*saveLines:1000
 \EG @item References  \EG @item References
 @fref{ox_rpc ox_cmo_rpc ox_execute_string},  @fref{ox_rpc ox_cmo_rpc ox_execute_string},
 @fref{ox_pop_cmo ox_pop_local},  @fref{ox_pop_cmo ox_pop_local},
 @fref{ifplot conplot plot plotover}  @fref{ifplot conplot plot polarplot plotover}
 @end table  @end table
   
 \JP @node ox_launch_generic,,, $BJ,;67W;;$K4X$9$k4X?t(B  \JP @node ox_launch_generic,,, $BJ,;67W;;$K4X$9$k4X?t(B
Line 1867  identifier @var{id} is returned.
Line 1887  identifier @var{id} is returned.
 @fref{Mathcap}.  @fref{Mathcap}.
 @end table  @end table
   
 \JP @node ifplot conplot plot plotover,,, $BJ,;67W;;$K4X$9$k4X?t(B  \JP @node ifplot conplot plot polarplot plotover,,, $BJ,;67W;;$K4X$9$k4X?t(B
 \EG @node ifplot conplot plot plotover,,, Functions for distributed computation  \EG @node ifplot conplot plot polarplot plotover,,, Functions for distributed computation
 @subsection @code{ifplot}, @code{conplot}, @code{plot}, @code{plotover}  @subsection @code{ifplot}, @code{conplot}, @code{plot}, @code{polarplot}, @code{plotover}
 @findex ifplot  @findex ifplot
 @findex conplot  @findex conplot
   @findex polarplot
 @findex plot  @findex plot
 @findex plotover  @findex plotover
   
Line 1885  identifier @var{id} is returned.
Line 1906  identifier @var{id} is returned.
 @item plot(@var{func} [,@var{geometry}] [,@var{xrange}] [,@var{id}] [,@var{name}])  @item plot(@var{func} [,@var{geometry}] [,@var{xrange}] [,@var{id}] [,@var{name}])
 \JP :: 1 $BJQ?t4X?t$N%0%i%U$rI=<($9$k(B.  \JP :: 1 $BJQ?t4X?t$N%0%i%U$rI=<($9$k(B.
 \EG :: Displays the graph of a univariate function.  \EG :: Displays the graph of a univariate function.
   @item polarplot(@var{func} [,@var{geometry}] [,@var{thetarange}] [,@var{id}] [,@var{name}])
   \JP :: $B6K7A<0$GM?$($i$l$?6J@~$rI=<($9$k(B.
   \EG :: Displays the graph of a curve given in polar form.
 @item plotover(@var{func},@var{id},@var{number})  @item plotover(@var{func},@var{id},@var{number})
 \JP :: $B$9$G$KB8:_$7$F$$$k%&%#%s%I%&$XIA2h$9$k(B.  \JP :: $B$9$G$KB8:_$7$F$$$k%&%#%s%I%&$XIA2h$9$k(B.
 \EG Plots on the existing window real zeros of a bivariate function.  \EG Plots on the existing window real zeros of a bivariate function.
Line 1913  identifier @var{id} is returned.
Line 1937  identifier @var{id} is returned.
 @item  @item
 @code{ifplot()} $B$O(B, 2 $BJQ?t4X?t(B @var{func} $B$N<B?t>e$G$NNmE@$N(B  @code{ifplot()} $B$O(B, 2 $BJQ?t4X?t(B @var{func} $B$N<B?t>e$G$NNmE@$N(B
 $B%0%i%U$NI=<($r9T$&(B. @code{conplot()} $B$O(B, $BF1MM$N0z?t$KBP$7(B,  $B%0%i%U$NI=<($r9T$&(B. @code{conplot()} $B$O(B, $BF1MM$N0z?t$KBP$7(B,
 $BEy9b@~$NI=<($r9T$&(B. @code{plot()} $B$O(B 1 $BJQ?t4X?t$N(B  $BEy9b@~$NI=<($r9T$&(B.
 $B%0%i%U$NI=<($r9T$&(B.  @code{plot()} $B$O(B 1 $BJQ?t4X?t$N%0%i%U$NI=<($r9T$&(B.
   @code{polarplot()} $B$O(B $B6K7A<0(B @var{r=f(theta)} $B$GI=$5$l$?6J@~$N%0%i%U$NI=<($r9T$&(B.
   
 @item  @item
 $B$3$l$i$O(B OpenXM $B%5!<%P$H$7$F<B8=$5$l$F$$$k(B. UNIX $B>e$G$O(B  $B$3$l$i$O(B OpenXM $B%5!<%P$H$7$F<B8=$5$l$F$$$k(B. UNIX $B>e$G$O(B
 @samp{ox_plot} $B$,(B, Windows $B>e$G$O(B @samp{engine} $B$,$3$l$i$N5!G=(B  @samp{ox_plot} $B$,(B, Windows $B>e$G$O(B @samp{engine} $B$,$3$l$i$N5!G=(B
 $B$rDs6!$7$F$*$j(B, $B$3$l$i$O(B @b{Asir} $B$NI8=`%i%$%V%i%j%G%#%l%/%H%j$K$"$k(B.  $B$rDs6!$7$F$*$j(B, $B$3$l$i$O(B @b{Asir} $B$NI8=`%i%$%V%i%j%G%#%l%/%H%j$K$"$k(B.
 $B$3$l$i$O(B @code{ox_launch()} $B$^$?$O(B @code{ox_launch_nox()}  $B%"%/%F%#%V$J(B @samp{ox_plot} $B$N(B id $B$,(B @var{id} $B$H$7$F;XDj$5$l$?>l9g(B,
  $B$K$h$j5/F0$7$F$*$/I,MW$,$"$k(B.  $B$=$N%5!<%P$,MQ$$$i$l$k(B. id $B$N;XDj$,$J$$>l9g$K$O(B, $B5/F0$5$l$F(B
   $B$$$k%5!<%P$N$&$A(B, @samp{ox_plot} $B$,$"$l$P$=$N%5!<%P$,MQ$$$i$l$k(B.
   @samp{ox_plot} $B$,5/F0$5$l$F$$$J$$>l9g$K$O(B,
   @code{ox_launch_nox()} $B$,<+F0E*$K<B9T$5$l$F(B, @samp{ox_plot} $B$,(B
   $BN)$A>e$,$j(B, $B$=$l$,MQ$$$i$l$k(B.
   
 @item  @item
 $B0z?t$NFb(B, @var{func} $B$OI,?\$G$"$k(B. $B$=$NB>$N0z?t$O%*%W%7%g%s$G$"$k(B.  $B0z?t$NFb(B, @var{func} $B$OI,?\$G$"$k(B. $B$=$NB>$N0z?t$O%*%W%7%g%s$G$"$k(B.
Line 2029  Function @code{ifplot()} draws a graph of real zeros o
Line 2058  Function @code{ifplot()} draws a graph of real zeros o
 function.  function.
 Function @code{conplot()} plots the contour lines for a same argument.  Function @code{conplot()} plots the contour lines for a same argument.
 Function @code{plot()} draws the graph of a uninivariate function.  Function @code{plot()} draws the graph of a uninivariate function.
   Function @code{polarplot()} draws the graph of a curve given in polar form
   @var{r=f(theta)}.
   
 @item  @item
 The plotting functions are realized by an OpenXM server.  The plotting functions are realized by an OpenXM server.
 On UNIX it is @samp{ox_plot} in @b{Asir} root directory.  On UNIX it is @samp{ox_plot} in @b{Asir} root directory.
 On Windows @samp{engine} acts as @samp{ox_plot}.  On Windows @samp{engine} acts as @samp{ox_plot}.
 Of course, it must be activated by @code{ox_launch()} @code{ox_launch_nox()}.  Of course, it must be activated by @code{ox_launch()} @code{ox_launch_nox()}.
   If the identifier of an active @samp{ox_plot} is specified as @var{id},
   the server is used for drawing pictures.
   If @var{id} is not specified, an available @samp{ox_plot} server
   is used if it exists. If no @samp{ox_plot} server is available,
   then @code{ox_launch_nox()} is automatically executed to
   invoke @samp{ox_plot}.
   
 @item  @item
 Argument @var{func} is indispensable. Other arguments are optional.  Argument @var{func} is indispensable. Other arguments are optional.
Line 2188  plot*form*ydone*background:white
Line 2225  plot*form*ydone*background:white
 @fref{ox_launch ox_launch_nox ox_shutdown}, @fref{ox_reset ox_intr register_handler}  @fref{ox_launch ox_launch_nox ox_shutdown}, @fref{ox_reset ox_intr register_handler}
 @end table  @end table
   
 \JP @node open_canvas clear_canvas draw_obj,,, $BJ,;67W;;$K4X$9$k4X?t(B  \JP @node open_canvas clear_canvas draw_obj draw_string,,, $BJ,;67W;;$K4X$9$k4X?t(B
 \EG @node open_canvas clear_canvas draw_obj,,, Functions for distributed computation  \EG @node open_canvas clear_canvas draw_obj draw_string,,, Functions for distributed computation
 @subsection @code{open_canvas}, @code{clear_canvas}, @code{draw_obj}  @subsection @code{open_canvas}, @code{clear_canvas}, @code{draw_obj}, @code{draw_string}
 @findex open_canvas  @findex open_canvas
 @findex clear_canvas  @findex clear_canvas
 @findex draw_obj  @findex draw_obj
   @findex draw_string
   
 @table @t  @table @t
 @item open_canvas(@var{id}[,@var{geometry}])  @item open_canvas(@var{id}[,@var{geometry}])
Line 2205  plot*form*ydone*background:white
Line 2243  plot*form*ydone*background:white
 @item draw_obj(@var{id},@var{index},@var{pointorsegment} [,@var{color}])  @item draw_obj(@var{id},@var{index},@var{pointorsegment} [,@var{color}])
 \JP :: $B%-%c%s%P%9>e$KE@$^$?$O@~J,$rIA2h$9$k(B.  \JP :: $B%-%c%s%P%9>e$KE@$^$?$O@~J,$rIA2h$9$k(B.
 \EG :: Draws a point or a line segment on a canvas.  \EG :: Draws a point or a line segment on a canvas.
   @item draw_string(@var{id},@var{index},@var{[x,y]},@var{string} [,@var{color}])
   \JP :: $B%-%c%s%P%9>e$KJ8;zNs$rIA2h$9$k(B.
   \EG :: Draws a character string on a canvas.
 @end table  @end table
   
 @table @var  @table @var
 @item return  @item return
 0  0
 @item id, index, color  @item id, index, color, x, y
 \JP $B@0?t(B  \JP $B@0?t(B
 \EG integer  \EG integer
 @item pointorsegment  @item pointorsegment
 \JP $B%j%9%H(B  \JP $B%j%9%H(B
 \EG list  \EG list
   @item string
   \JP $BJ8;zNs(B
   \EG character string
 @end table  @end table
   
 @itemize @bullet  @itemize @bullet
Line 2269  and a canvas id @var{index}.
Line 2313  and a canvas id @var{index}.
 $B$NCM(B ($B:GBg(B 255) $B$H$_$J$9(B.  $B$NCM(B ($B:GBg(B 255) $B$H$_$J$9(B.
 \E  \E
 \BEG  \BEG
 @code{draw_obj_canvas} draws a point or a line segment on  @code{draw_obj} draws a point or a line segment on
 a canvas specified by a server id @var{id} and a canvas id @var{index}.  a canvas specified by a server id @var{id} and a canvas id @var{index}.
 If @var{pointorsegment} is @var{[x,y]}, it is regarded as a point.  If @var{pointorsegment} is @var{[x,y]}, it is regarded as a point.
 If @var{pointorsegment} is @var{[x,y,u,v]}, it is regarded  If @var{pointorsegment} is @var{[x,y,u,v]}, it is regarded
Line 2278  If @var{color} is specified, @var{color/65536} mod 256
Line 2322  If @var{color} is specified, @var{color/65536} mod 256
 @var{color/256} mod 256, @var{color} mod 256 are regarded as the vaules  @var{color/256} mod 256, @var{color} mod 256 are regarded as the vaules
 of Red, Green, Blue (Max. 255) respectively.  of Red, Green, Blue (Max. 255) respectively.
 \E  \E
   @item
   \BJP
   @code{draw_string} $B$O(B, $B%5!<%P(B id @var{id}, $B%-%c%s%P%9(B id @var{index}
   $B$G;XDj$5$l$k%-%c%s%P%9$KJ8;zNs$rIA2h$9$k(B. $B0LCV$O(B @var{[x,y]} $B$K$h$j;XDj$9$k(B.
   \E
   \BEG
   @code{draw_string} draws a character string @var{string} on
   a canvas specified by a server id @var{id} and a canvas id @var{index}.
   The position of the string is specified by @var{[x,y]}.
   \E
 @end itemize  @end itemize
   
 @example  @example
Line 2293  of Red, Green, Blue (Max. 255) respectively.
Line 2347  of Red, Green, Blue (Max. 255) respectively.
 0  0
 [187] draw_obj(Id,Ind,[10,10,50,50],0xff00ff);  [187] draw_obj(Id,Ind,[10,10,50,50],0xff00ff);
 0  0
 [188] clear_canvas(Id,Ind);  [187] draw_string(Id,Ind,[100,50],"hello",0xffff00);
   0
   [189] clear_canvas(Id,Ind);
 0  0
 @end example  @end example
   

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.12

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>