=================================================================== RCS file: /home/cvs/OpenXM/src/asir-doc/parts/builtin/misc.texi,v retrieving revision 1.20 retrieving revision 1.26 diff -u -p -r1.20 -r1.26 --- OpenXM/src/asir-doc/parts/builtin/misc.texi 2016/08/26 04:56:07 1.20 +++ OpenXM/src/asir-doc/parts/builtin/misc.texi 2018/09/06 05:42:43 1.26 @@ -1,4 +1,4 @@ -@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.19 2009/02/22 16:40:05 ohara Exp $ +@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.25 2018/03/29 02:48:36 takayama Exp $ \BJP @node $B$=$NB>(B,,, $BAH$_9~$_H!?t(B @section $B$=$NB>(B @@ -38,6 +38,12 @@ @item ctrl("@var{switch}"[,@var{obj}]) \JP :: $B4D6-@_Dj(B \EG :: Sets the value of @var{switch}. +@item ctrl() +\JP :: $B4D6-$NI=<((B +\EG :: Show the values of @var{switch}'s. +@item ctrl(|desc=1) +\JP :: $B4D6-$*$h$S$=$NC;$$@bL@$NI=<((B +\EG :: Show the values of @var{swtich}'s and short descriptions @end table @table @var @@ -127,6 +133,17 @@ ox_pari $B$rMxMQ$9$k$H$-$O$3$N%U%i%0$r(B1$B$K$7$F$* ox_pari $B$rMxMQ$9$k$H$-$O$3$N%U%i%0$r(B1$B$K$7$F$*$/$3$H$,K>$^$7$$(B. ($B%G%U%)%k%HCM$O(B 0.) @xref{$BJ,;67W;;(B}. +@item plot_by_bigfloat +N $B$N$H$-(B, 10$B?J?t$G$N@:EY$r(B N $B7e$H$7$F(B, bigfloat $B$rMQ$$$F(B plot $B$r9T$&(B. +($B%G%U%)%k%H$G$O(B double $B$rMQ$$$F(B plot $B$r9T$&(B.) +@item evalef +0 $B$N;~(B eval $B$N0z?t$,I>2A$5$l$?$H$-$=$l0J>eI>2A$G$-$J$/$J$C$?>l9g(B, $BITDj85%j%9%H$K(B +$BEPO?$5$l$k(B. $B$?$H$($P(B eval(sin(0.1)) $B$HeI>2A$G$-$J$$$?$a(B +$BITDj85%j%9%H$KEPO?$5$l$k(B. +1 $B$N;~$O(B, $BEPO?$5$l$J$$(B. +$B=iEy4X?t$N?tCMI>2A$r7+$jJV$79T$&;~$O$3$N%*%W%7%g%s$r;HMQ$9$Y$-$G$"$k(B. +($B%G%U%)%k%HCM$O(B 0.) +@xref{ord} @end table \E \BEG @@ -161,7 +178,7 @@ Default precision is set to 9 digits. To change the p If `on', floating operations will be done by @b{PARI} system with arbitrary precision floating point operations. Default precision is set to 9 digits. To change the precision, use -command @code{setprec}. +command @code{setbprec setprec}. If `off', floating operations will be done by @b{Asir}'s own floating operation routines with a fixed precision operations of standard floating double. @@ -220,17 +237,59 @@ When you use ox_pari, it is recommended to set this fl When you use ox_pari, it is recommended to set this flag 1. (The default value is 0.) @xref{Distributed computation}. +@item plot_by_bigfloat +If its value N is not equal to zero, then plotting is done by bigfloat. +(The double numbers are used as the default.) +@item evalef +When it is set to 0, the arguments of eval are registered to the list of +indeterminants when arguments are no longer to be simplified. +For example, when this flag is 0, sin(0.1) is registered to the list of +indeterminants when eval(sin(0.1)) is evaluated. +When it is set to 1, arguments are numerically evaluated. +It is recommended to turn on this option, when you repeat to evaluate elementary functions numerically. +(The default value is 0.) +@xref{ord} @end table \E @end itemize +@example +[1917] ctrl(); +[[oxpari_start,0],[oxpari_id,-1],... snip ....,[plot_by_bigfloat,0],[debug_plot,0]] +[1918] map(print,ctrl(|desc=1)); +[oxpari_start,0,oxpari starting function.] +[oxpari_id,-1,Id of ox_pari.] +... snip ... +[plot_by_bigfloat,0,If set to 1, computation is done by using MPFR bigfloat functions in ox_plot.] +[debug_plot,0,If set to 1, ox_plot is executed with the message window.] +@end example + @table @t \JP @item $B;2>H(B \EG @item References @fref{cputime tstart tstop}, @fref{output}, -@fref{pari}, @fref{setprec}, @fref{eval deval}. +@fref{pari}, @fref{setbprec setprec}, @fref{eval deval}. @end table +@noindent +ChangeLog +@itemize @bullet +@item @xref{ChangeLog} +\BEG +@item plot_by_bigfloat switch is added on 2017.09.04. The following files are changed. +\E +\BJP +@item plot_by_bigfloat $B%9%$%C%A$O(B 2017.09.04 $B$K2C$($i$l$?(B. $BJQ99$r(B \EG @node debug,,, Miscellaneouses @subsection @code{debug} @@ -984,9 +1043,12 @@ returns the value of @var{function}(@var{arg0},@var{ar @findex flist @table @t -@item flist() +@item flist([mname]) \JP :: $B8=:_Dj5A$5$l$F$$$kH!?tL>$rJ8;zNs%j%9%H$H$7$FJV$9(B. \EG :: Returns the list of function names currently defined. +@item mname +\JP $B%b%8%e!<%kL>(B +\EG a module name @end table @table @var @@ -999,7 +1061,8 @@ returns the value of @var{function}(@var{arg0},@var{ar \BJP @item $B8=:_Dj5A$5$l$F$$$kAH$_9~$_H!?t(B, $B%f!<%6Dj5AH!?t$NH!?tL>$rJ8;zNs%j%9%H(B -$B$H$7$FJV$9(B. +$B$H$7$FJV$9(B. $B%b%8%e!<%kL>$,;XDj$5$l$?>l9g(B, $B$=$N%b%8%e!<%k$GDj5A$5$l$F$$$k(B +$B4X?tL>$N$_$rJV$9(B. @item $B%7%9%F%`H!?t$N8e$K%f!<%6Dj5AH!?t$,B3$/(B. \E @@ -1007,6 +1070,8 @@ currently defined. The return value is a list of chara @item Returns the list of names of built-in functions and user defined functions currently defined. The return value is a list of character strings. +If a module name is specified, only the names of functions defined in the module +are returned. @item The names of built-in functions are followed by those of user defined functions.