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

Diff for /OpenXM/src/asir-doc/parts/builtin/misc.texi between version 1.22 and 1.27

version 1.22, 2017/03/28 03:47:36 version 1.27, 2019/03/29 01:57:46
Line 1 
Line 1 
 @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.26 2018/09/06 05:42:43 takayama Exp $
 \BJP  \BJP
 @node $B$=$NB>(B,,, $BAH$_9~$_H!?t(B  @node $B$=$NB>(B,,, $BAH$_9~$_H!?t(B
 @section $B$=$NB>(B  @section $B$=$NB>(B
Line 38 
Line 38 
 @item ctrl("@var{switch}"[,@var{obj}])  @item ctrl("@var{switch}"[,@var{obj}])
 \JP :: $B4D6-@_Dj(B  \JP :: $B4D6-@_Dj(B
 \EG :: Sets the value of @var{switch}.  \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  @end table
   
 @table @var  @table @var
Line 61 
Line 67 
 @item  @item
 $B%9%$%C%A$OJ8;zNs$H$7$FF~NO$9$k(B. $B$9$J$o$A%@%V%k%/%)!<%H$G0O$`(B.  $B%9%$%C%A$OJ8;zNs$H$7$FF~NO$9$k(B. $B$9$J$o$A%@%V%k%/%)!<%H$G0O$`(B.
 @item  @item
 $B%9%$%C%A$O<!$NDL$j(B. $B0J2<$G(B, on $B$O(B 1, off $B$O(B 0 $B$r0UL#$9$k(B.  $B%9%$%C%A$O<!$NDL$j(B.
   
 @table @code  @table @code
 @item cputime  
 on $B$N;~(B CPU time $B$*$h$S(B GC time $B$rI=<((B, off $B$N;~(B $BI=<($7$J$$(B. @code{cputime()}  
 $B$r;2>H(B.  
 @code{ctrl("cputime",@var{onoff})} $B$O(B @code{cputime(@var{onoff})} $B$HF1$8$G$"$k(B.  
 @item nez  
 EZGCD $B$N%"%k%4%j%:%`$N@ZBX$((B. $B%G%U%)%k%H$G(B 1 $B$G$"$j(B, $B$H$/$K@ZBX$($kI,MW(B  
 $B$O$J$$(B.  
 @item echo  
 on $B$N;~$OI8=`F~NO$r7+$jJV$7$F=PNO$7(B, off $B$N;~$OI8=`F~NO$r7+$jJV$5$J$$(B.  
 @code{output} $B%3%^%s%I$rMQ$$$k:]$KM-8z$G$"$k(B.  
 @item bigfloat  
 on $B$N;~(B, $BF~NO$5$l$?IbF0>.?t$O(B @b{bigfloat} $B$KJQ49$5$l(B, $BIbF0>.?t1i;;$O(B  
 @b{PARI} (@ref{pari}) $B$K$h$j9T$o$l$k(B. $B%G%U%)%k%H$NM-8z7e?t$O(B 9 $B7e$G$"$k(B.  
 $BM-8z7e?t$rA}$d$7$?$$;~$K$O(B @code{setprec()} $B$rMQ$$$k(B.  
 off $B$N;~(B, $BF~NO$5$l$?IbF0>.?t$O(B, $BG\@:EYIbF0>.?t$KJQ49$5$l$k(B.  
 @cindex PARI  
 @item adj  @item adj
 $B%,!<%Y%C%8%3%l%/%7%g%s$NIQEY$NJQ99(B. 1 $B0J>e$NM-M}?t$,;XDj$G$-$k(B.  $B%,!<%Y%C%8%3%l%/%7%g%s$NIQEY$NJQ99(B. 1 $B0J>e$NM-M}?t$,;XDj$G$-$k(B.
 $B%G%U%)%k%HCM$O(B 3. 1 $B$K6a$$Dx(B, $B%,!<%Y%C%8%3%l%/%7%g%s$;$:$K%R!<%W$r(B  $B%G%U%)%k%HCM$O(B 3. 1 $B$K6a$$Dx(B, $B%,!<%Y%C%8%3%l%/%7%g%s$;$:$K%R!<%W$r(B
 $BBg$-$/$H$k$h$&$K$J$k(B. $B@0?tCM$O%3%^%s%I%i%$%s$G;XDj$G$-$k(B.  $BBg$-$/$H$k$h$&$K$J$k(B. $B@0?tCM$O%3%^%s%I%i%$%s$G;XDj$G$-$k(B.
 @xref{$B%3%^%s%I%i%$%s%*%W%7%g%s(B}.  @xref{$B%3%^%s%I%i%$%s%*%W%7%g%s(B}.
 @item verbose  
 on $B$N;~(B, $BH!?t$N:FDj5A;~$K%a%C%;!<%8$rI=<($9$k(B.  @item allow_laurent
 @item quiet_mode  1 $B$N;~(B, $BC19`<0$N;X?t$KIi$N@0?t$r5v$9(B.
 1 $B$N$H$-(B, $B5/F0;~$KCx:n8"I=<($r9T$o$J$$(B.  
 @xref{$B%3%^%s%I%i%$%s%*%W%7%g%s(B}.  @item bigfloat
 @item prompt  1 $B$N;~(B, $BF~NO$5$l$?IbF0>.?t$O(B @b{bigfloat} $B$KJQ49$5$l(B, $BIbF0>.?t1i;;$O(B
 0 $B$N$H$-%W%m%s%W%H$rI=<($7$J$$(B. 1 $B$N$H$-I8=`%W%m%s%W%H$rI=<((B.  @b{PARI} (@ref{pari}) $B$K$h$j9T$o$l$k(B. $B%G%U%)%k%H$NM-8z7e?t$O(B 9 $B7e$G$"$k(B.
 C $B%9%?%$%k$N%U%)%^%C%HJ8;zNs$r$b$A$$$k$H%f!<%6Dj5A$N%W%m%s%W%H(B.  $BM-8z7e?t$rA}$d$7$?$$;~$K$O(B @code{setprec()} $B$rMQ$$$k(B.
 $BNc(B(asirgui $B$G$OIT2D(B):  0 $B$N;~(B, $BF~NO$5$l$?IbF0>.?t$O(B, $BG\@:EYIbF0>.?t$KJQ49$5$l$k(B.
 @code{ ctrl("prompt","\033[32m[%d]:= \033[0m")}  @cindex PARI
 @item hex  
 1 $B$N$H$-(B, $B@0?t$O(B 0x $B$G;O$^$k(B 16 $B?J?t$H$7$FI=<($5$l$k(B. -1 $B$N$H$-(B, 16 $B?J?t$O(B,  @item cputime
 $B4V$K(B @samp{|} $B$r$O$5$s$G(B 8 $B7e$4$H$K6h@Z$C$FI=<($5$l$k(B.  1 $B$N;~(B CPU time $B$*$h$S(B GC time $B$rI=<((B, 0 $B$N;~I=<($7$J$$(B. @code{cputime()}
 @item real_digit  $B$r;2>H(B.
 $BG\@:EYIbF0>.?t$NI=<($N7e?t$r;XDj$9$k(B.  @code{ctrl("cputime",@var{onoff})} $B$O(B @code{cputime(@var{onoff})} $B$HF1$8$G$"$k(B.
   
   @item debug_plot
   1 $B$N;~(B, @code{ox_plot} $B$,%a%C%;!<%8%&%#%s%I%&$D$-$G5/F0$5$l$k(B.
   
   @item debug_up
   1$B$N;~(B, 1$BJQ?t@lMQB?9`<04D4X?t(B(@code{umul()}$B$J$I(B)$B<B9T;~$K%a%C%;!<%8$rI=<($9$k(B.
   
   @item debug_window
   1 $B$N;~(B debug_window $B$,%]%C%W%"%C%W$7$F3+$/(B.
   ($B%G%U%)%k%HCM$O(B 0.)
   
   @item diag_period
   @code{nd_gr()}, @code{nd_gr_trace()} $B$r@F<!%$%G%"%k$KBP$7$F<B9T$9$k:](B, $BESCf$G<B9T$5$l$kCf4V4pDl4V$NAj8_4JLs(B
   $B$NIQEY$r;XDj$9$k(B. $BCM$,(B @code{n} $B$J$i(B, $B?7$7$/4pDl$,(B @code{n}$B8D@8@.$5$l$k$?$S$KAj8_4JLs$,(B
   $B<B9T$5$l$k(B.
   
 @item double_output  @item double_output
 1 $B$N$H$-(B, $BG\@:EYIbF0>.?t$O$D$M$K(B ddd.ddd $B$N7A$GI=<($5$l$k(B.  1 $B$N;~(B, $BG\@:EYIbF0>.?t$O$D$M$K(B ddd.ddd $B$N7A$GI=<($5$l$k(B.
   
   @item echo
   1 $B$N;~$OI8=`F~NO$r7+$jJV$7$F=PNO$7(B, 0 $B$N;~$OI8=`F~NO$r7+$jJV$5$J$$(B.
   @code{output} $B%3%^%s%I$rMQ$$$k:]$KM-8z$G$"$k(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$H<B9T$9$k$H(B sin(0.1) $B$,$=$l0J>eI>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}
   
   @item error_in_timer
   1 $B$N;~(B, $B%?%$%^!<=*N;;~$KDL>o$N%(%i!<=hM}$,<B9T$5$l$k(B.
   
   @item f4_nocheck
   1$B$N;~(B, @code{nd_f4}, @code{nd_f4_trace} $B$K$*$1$k9TNs$N4JLs$r(BCRT$B$G9T$&:]$K(B, $B7k2L$N(B
   $B%A%'%C%/$r9T$o$J$$(B.
   
   @item fake_ox_reset
   @itemx no_ox_reset
   1 $B$N$H$-(B, ox_reset $B$r<BAu$7$F$J$$%5!<%P!<$K$OBe$o$j$K(B ox_shutdown $B$rAw?.$9$k(B.
   ox_reset $B$N<BAu$NM-L5$O(B mathcap $B$N(B optional argument ($BBh;M0z?t(B)
   $B$KJ8;zNs(B no_ox_reset $B$,@_Dj$5$l$F$$$k$+$I$&$+$GH=CG$9$k(B.
   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 fortran_output  @item fortran_output
 1 $B$N$H$-(B, $BB?9`<0$NI=<($,(B FORTRAN $B%9%?%$%k$K$J$k(B. $B$9$J$o$AQQ$,(B  1 $B$N;~(B, $BB?9`<0$NI=<($,(B FORTRAN $B%9%?%$%k$K$J$k(B. $B$9$J$o$AQQ$,(B
 @samp{^} $B$NBe$o$j$K(B @samp{**} $B$GI=$5$l$k(B.  @samp{^} $B$NBe$o$j$K(B @samp{**} $B$GI=$5$l$k(B.
 ($B%G%U%)%k%HCM$O(B 0.)  ($B%G%U%)%k%HCM$O(B 0.)
   
   @item hex
   1 $B$N;~(B, $B@0?t$O(B 0x $B$G;O$^$k(B 16 $B?J?t$H$7$FI=<($5$l$k(B. -1 $B$N$H$-(B, 16 $B?J?t$O(B,
   $B4V$K(B @samp{|} $B$r$O$5$s$G(B 8 $B7e$4$H$K6h@Z$C$FI=<($5$l$k(B.
   
   @item hideargs
   1$B$N;~(B, $B4X?t8F$S=P$7$rI=<($9$k:]$K0z?t$,I=<($5$l$J$$(B.
   
   @item loadpath
   @code{ASIRLOADPATH} $B$r>e=q$-$9$k(B.
   
   @item message
   1 $B$N;~(B, @code{ox_asir}, @code{ox_plot} $B<B9T;~$K3+;O%a%C%;!<%8$rI=<($9$k(B.
   
   @item new_hensel
   1 $B$N;~(B, $BM-M}?tBN>e$N(B1$BJQ?tB?9`<0$N0x?tJ,2r$K$*$$$F(B, $B4X?t(B @code{hensel2()} $B$,MQ$$$i$l$k(B.
   
   @item nez
   EZGCD $B$N%"%k%4%j%:%`$N@ZBX$((B. $B%G%U%)%k%H$G(B 1 $B$G$"$j(B, $B$H$/$K@ZBX$($kI,MW(B
   $B$O$J$$(B.
   
   @item no_debug_on_error
   1 $B$N;~(B, $B%(%i!<;~$K%G%P%C%0%b!<%I$KF~$i$J$$(B.
   
   @item no_prompt
   1$B$N;~(B, $B%W%m%s%W%H$,I=<($5$l$J$$(B.
   
   @item outputstyle
   1 $B$N;~(B, $B9TNs(B, $B%Y%/%H%k$,(B @code{mat(...)}, @code{vect(...)} $B$N7A$GI=<($5$l$k(B.
   
 @item ox_batch  @item ox_batch
 1 $B$N$H$-(B, $BAw?.%P%C%U%!$,$$$C$Q$$$K$J$C$?;~$N$_<+F0E*$K(B flush.  1 $B$N$H$-(B, $BAw?.%P%C%U%!$,$$$C$Q$$$K$J$C$?;~$N$_<+F0E*$K(B flush.
 0 $B$N$H$-(B, $B%G!<%?(B, $B%3%^%s%IAw?.Kh$K(B flush. ($B%G%U%)%k%HCM$O(B 0.)  0 $B$N$H$-(B, $B%G!<%?(B, $B%3%^%s%IAw?.Kh$K(B flush. ($B%G%U%)%k%HCM$O(B 0.)
 @xref{$BJ,;67W;;(B}.  @xref{$BJ,;67W;;(B}.
   
 @item ox_check  @item ox_check
 1 $B$N$H$-(B, $BAw?.%G!<%?$rAj<j%W%m%;%9$,<u$1<h$l$k$+$I$&$+%A%'%C%/$9$k(B.  1 $B$N$H$-(B, $BAw?.%G!<%?$rAj<j%W%m%;%9$,<u$1<h$l$k$+$I$&$+%A%'%C%/$9$k(B.
 0 $B$N$H$-$7$J$$(B. ($B%G%U%)%k%HCM$O(B 1.)  0 $B$N$H$-$7$J$$(B. ($B%G%U%)%k%HCM$O(B 1.)
 @xref{$BJ,;67W;;(B}.  @xref{$BJ,;67W;;(B}.
   
 @item ox_exchange_mathcap  @item ox_exchange_mathcap
 1 $B$N$H$-(B, OX server $B$H$N@\B33+;O;~$K(B, $B<+F0E*$K(B mathcap $B$N8r49$r9T$&(B.  1 $B$N$H$-(B, OX server $B$H$N@\B33+;O;~$K(B, $B<+F0E*$K(B mathcap $B$N8r49$r9T$&(B.
 ($B%G%U%)%k%HCM$O(B 1.)  ($B%G%U%)%k%HCM$O(B 1.)
 @xref{$BJ,;67W;;(B}.  @xref{$BJ,;67W;;(B}.
 @item debug_window  
 1 $B$N;~(B debug_window $B$,%]%C%W%"%C%W$7$F3+$/(B.  @item plot_by_bigfloat
 ($B%G%U%)%k%HCM$O(B 0.)  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.
 @item fake_ox_reset  ($B%G%U%)%k%H$G$O(B double $B$rMQ$$$F(B plot $B$r9T$&(B.)
 1 $B$N$H$-(B, ox_reset $B$r<BAu$7$F$J$$%5!<%P!<$K$OBe$o$j$K(B ox_shutdown $B$rAw?.$9$k(B.  
 ox_reset $B$N<BAu$NM-L5$O(B mathcap $B$N(B optional argument ($BBh;M0z?t(B)  @item print_quote
 $B$KJ8;zNs(B no_ox_reset $B$,@_Dj$5$l$F$$$k$+$I$&$+$GH=CG$9$k(B.  quote $B%G!<%?$NI=<(J}K!$r;XDj$9$k(B.
 ox_pari $B$rMxMQ$9$k$H$-$O$3$N%U%i%0$r(B1$B$K$7$F$*$/$3$H$,K>$^$7$$(B.  0 $B$N;~(B, quote $B%G!<%?$OC1$K(B @code{<...quoted...>}$B$HI=<($5$l$k(B. 1 $B$N;~(B, $B%j%9%H7A<0$GI=<($5$l$k(B.
 ($B%G%U%)%k%HCM$O(B 0.)  2 $B$N;~(B, $B<+A3$J?t<0$N7A$GI=<($5$l$k(B.
 @xref{$BJ,;67W;;(B}.  
   @item prompt
   0 $B$N$H$-%W%m%s%W%H$rI=<($7$J$$(B. 1 $B$N$H$-I8=`%W%m%s%W%H$rI=<((B.
   C $B%9%?%$%k$N%U%)%^%C%HJ8;zNs$r$b$A$$$k$H%f!<%6Dj5A$N%W%m%s%W%H(B.
   $BNc(B(asirgui $B$G$OIT2D(B):
   @code{ ctrl("prompt","\033[32m[%d]:= \033[0m")}
   
   @item quiet_mode
   1 $B$N$H$-(B, $B5/F0;~$KCx:n8"I=<($r9T$o$J$$(B.
   @xref{$B%3%^%s%I%i%$%s%*%W%7%g%s(B}.
   
   @item real_binary
   1$B$N;~(B, $BG\@:EYIbF0>.?t$r(B2$B?JI=<($9$k(B.
   
   @item real_digit
   $BG\@:EYIbF0>.?t$NI=<($N7e?t$r;XDj$9$k(B.
   
   @item show_crossref
   1 $B$N;~(B, $B4X?tDj5A$rFI$_9~$`:]$K(B, $B%/%m%9%j%U%!%l%s%9$,I=<($5$l$k(B.
   
   @item show_orderspec
   1 $B$N;~(B, dp $B7O4X?t$K$h$k%0%l%V%J!<4pDl7W;;4X?t$KBP$9$kJ#9gE*$J9`=g=x$N;XDj;~$K(B
   $B$=$N>\:Y$rI=<($9$k(B.
   
   @item StrassenSize
   Strassen-Winograd $B$K$h$k9TNs$N9bB.>h;;%"%k%4%j%:%`<B9T$K$*$1$k%Q%i%a%?$NCM$r@_Dj$9$k(B.
   
   @item terse
   1 $B$N;~(B, $B%f!<%6Dj5A(B callback $B<B9T;~$K%a%C%;!<%8$rI=<($7$J$$(B.
   
   @item weight_check
   1 $B$N;~(B, nd $B7O4X?t$K$h$k%0%l%V%J!<4pDl$K$*$$$F(B, $B;XDj$5$l$?(B weight $B$rMQ$$$?(Bweight $B$N(Boverflow $B%A%'%C%/$r9T$&(B.
   @item verbose
   1 $B$N;~(B, $BH!?t$N:FDj5A;~$K%a%C%;!<%8$rI=<($9$k(B.
   
 @end table  @end table
 \E  \E
 \BEG  \BEG
Line 220  of mathcap if ox_reset is implemented or not.
Line 323  of mathcap if ox_reset is implemented or not.
 When you use ox_pari, it is recommended to set this flag 1.  When you use ox_pari, it is recommended to set this flag 1.
 (The default value is 0.)  (The default value is 0.)
 @xref{Distributed computation}.  @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  @end table
 \E  \E
 @end itemize  @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  @table @t
 \JP @item $B;2>H(B  \JP @item $B;2>H(B
 \EG @item References  \EG @item References
 @fref{cputime tstart tstop}, @fref{output},  @fref{cputime tstart tstop}, @fref{output},
 @fref{pari}, @fref{setbprec setprec}, @fref{eval deval}.  @fref{pari}, @fref{setbprec setprec}, @fref{eval deval}.
 @end table  @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 $B7g$1$F$$$?%9%$%C%A$N@bL@$rDI2C$7$?(B (2018.3.29).
   @item plot_by_bigfloat $B%9%$%C%A$O(B 2017.09.04 $B$K2C$($i$l$?(B. $BJQ99$r<u$1$?%U%!%$%k$O2<5-$N$H$*$j(B.
   \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,,, $B$=$NB>(B  \JP @node debug,,, $B$=$NB>(B
 \EG @node debug,,, Miscellaneouses  \EG @node debug,,, Miscellaneouses

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.27

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