=================================================================== RCS file: /home/cvs/OpenXM/src/asir-doc/parts/builtin/misc.texi,v retrieving revision 1.22 retrieving revision 1.25 diff -u -p -r1.22 -r1.25 --- OpenXM/src/asir-doc/parts/builtin/misc.texi 2017/03/28 03:47:36 1.22 +++ OpenXM/src/asir-doc/parts/builtin/misc.texi 2018/03/29 02:48:36 1.25 @@ -1,4 +1,4 @@ -@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.21 2016/08/29 04:56:58 noro Exp $ +@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/misc.texi,v 1.24 2018/03/28 07:44:06 takayama Exp $ \BJP @node その他,,, 組み込み函数 @section その他 @@ -38,6 +38,12 @@ @item ctrl("@var{switch}"[,@var{obj}]) \JP :: 環境設定 \EG :: Sets the value of @var{switch}. +@item ctrl() +\JP :: 環境の表示 +\EG :: Show the values of @var{switch}'s. +@item ctrl(|desc=1) +JP :: 環境およびその短い説明の表示 +\EG :: Show the values of @var{swtich}'s and short descriptions @end table @table @var @@ -127,6 +133,17 @@ ox_reset の実装の有無は mathcap の optiona ox_pari を利用するときはこのフラグを1にしておくことが望ましい. (デフォルト値は 0.) @xref{分散計算}. +@item plot_by_bigfloat +N のとき, 10進数での精度を N 桁として, bigfloat を用いて plot を行う. +(デフォルトでは double を用いて plot を行う.) +@item evalef +0 の時 eval の引数が評価されたときそれ以上評価できなくなった場合, 不定元リストに +登録される. たとえば eval(sin(0.1)) と実行すると sin(0.1) がそれ以上評価できないため +不定元リストに登録される. +1 の時は, 登録されない. +初等関数の数値評価を繰り返し行う時はこのオプションを使用すべきである. +(デフォルト値は 0.) +@xref{ord} @end table \E \BEG @@ -220,16 +237,58 @@ of mathcap if ox_reset is implemented or not. 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 参照 \EG @item References @fref{cputime tstart tstop}, @fref{output}, @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 スイッチは 2017.09.04 に加えられた. 変更を受けたファイルは下記のとおり. +\E +@item 1.54 ctrl.c, + 1.14 bf.c, + 1.75 tcpf.c, + 1.13 calc.c, + 1.36 if.c, + 1.25 ifplot.h, + 1.33 plotf.c +@end itemize \JP @node debug,,, その他 \EG @node debug,,, Miscellaneouses