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

Diff for /OpenXM/src/asir-doc/exp/exp-ja.texi between version 1.14 and 1.15

version 1.14, 2004/07/10 05:50:57 version 1.15, 2004/07/14 05:48:44
Line 1 
Line 1 
 %% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.13 2004/07/09 02:17:45 takayama Exp $  %% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.14 2004/07/10 05:50:57 takayama Exp $
 \input texinfo  \input texinfo
 @iftex  @iftex
 @catcode`@#=6  @catcode`@#=6
Line 121  ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe
Line 121  ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe
 * set_print_function::  * set_print_function::
 * small_jacobi::  * small_jacobi::
 * flatten_quote::  * flatten_quote::
   * sprintf::
   * quote_to_funargs::
   * funargs_to_quote::
   * remove_paren::
 @end menu  @end menu
   
 @comment --- $B"~"~"~"~(B  $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B  @comment --- $B"~"~"~"~(B  $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B
Line 1195  ChangeLog
Line 1199  ChangeLog
  parse/quote.c 1.14--1.16.   parse/quote.c 1.14--1.16.
 @end itemize  @end itemize
   
   
   @node sprintf,,, $B<B83E*;EMM$N4X?t(B
   @subsection @code{sprintf}
   @findex sprintf
   
   @table @t
   @item sprintf(@var{format}[,@var{args}])
   :: C $B$K;w$?%W%j%s%H4X?t(B
   @end table
   
   @table @var
   @item return
   $BJ8;zNs(B
   @item format
   $BJ8;zNs(B
   @item args
   $B%*%V%8%'%/%H(B
   @end table
   
   @itemize @bullet
   @item
   $B%U%)!<%^%C%HJ8;zNs(B @var{format } $B$K$7$?$,$$(B @var{args} $B$rJ8;zNs$KJQ49$9$k(B.
   @item
   $B%U%)!<%^%C%HJ8;zNs$NCf$K(B @code{%a} (any) $B$,MxMQ2DG=(B.
   @var{args} $B$N8D?t$O%U%)!<%^%C%HJ8;zNs$NCf$N(B @code{%a} $B$N8D?t$KEy$7$/$9$k$3$H(B.
   @end itemize
   
   @example
   [0] sprintf("%a: rat = %a",10,x^2-1);
     10: rat = x^2-1
   @end example
   
   @table @t
   @item $B;2>H(B
   @ref{rtostr}
   @end table
   
   @comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
   @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
   @noindent
   ChangeLog
   @itemize @bullet
   @item
    $B$3$N4X?t$O(B 2004-7-13 $B$K%3%_%C%H$5$l$?(B.
    $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/strobj (1.50) $B$G$"$k(B.
   @item
    @code{%a} $B$O(B Maple $B$N(B sprintf $B$N??;w$+(B.
   @end itemize
   
   
   @node quote_to_funargs,,, $B<B83E*;EMM$N4X?t(B
   @subsection @code{quote_to_funargs}, @code{funargs_to_quote}, @code{remove_paren}
   @findex quote_to_funargs
   @findex funargs_to_quote
   @findex remove_paren
   
   @table @t
   @item quote_to_funargs(@var{q})
   ::  quote $B$r(B funarg $B7A<0(B($B%j%9%H(B) $B$X(B.
   @item funargs_to_quote(@var{f})
   ::  funarg $B7A<0$r(B quote $B$X(B.
   @item remove_paren(@var{q})
   ::  $B>e$N4X?t$rMQ$$$F=q$+$l$?M>J,$J3g8L$r<h$j5n$k(B simplifier (asir-contrib $B%^%K%e%"%k$X(B: todo)
   @end table
   
   @table @var
   @item return
   quote(funargs_to_quote, remove_paren) $B$+(B $B%j%9%H(B(quote_to_funargs)
   @item q
   quote
   @item f
   $B%j%9%H(B
   @end table
   
   @itemize @bullet
   @item
    @code{quote_to_funargs} $B$O(B quote $B7?$N%G!<%?(B ($BFbItE*$K$O(B FNODE) $B$r(B
   quote $B$X$NI|852DG=$J7A$G%j%9%H$XJQ49$9$k(B.
   @code{quotetolist} $B$O(B quote $B$r%j%9%H$XJQ49$9$k$,(B, $B0lIt$N>pJs$r<N$F$k$?$a(B
   $B$b$H$N(B quote $B$NI|85$O$G$-$J$$(B.
   @item
    @code{quote_to_funargs} $B$NLa$jCM$O(B [fid, op, arg1, arg2] $B$J$k7A<0$r$7$F$$$k(B.
   $B$3$3$G(B op $B$O$J$K$+Ff(B (Todo)
   @item
    $B2<$NNc$G(B
    quote_to_funargs(FA[2]);
   [34,[b_op,+,[internal,x],[internal,1]]]
   $B$H$J$k$,(B, $B$3$N(B 34 $B$bFf(B (Todo).
   @end itemize
   
   $B<!$NNc$G$O(B (x+1)+(x+2) $B$N3g8L$r$O$:$7$F(B x+1+x+2 $B$KJQ49$7$F$$$k(B.
   @example
   [0] ctrl("print_quote",1) $
   
   [1] Q=quote((x+1)+(x+2));
   [b_op,+,[u_op,(),[b_op,+,[internal,x],[internal,1]]],
           [u_op,(),[b_op,+,[internal,x],[internal,2]]]]
   
   [2] FA=quote_to_funargs(Q);
   [0,<...quoted...>,
     [u_op,(),[b_op,+,[internal,x],[internal,1]]],
     [u_op,(),[b_op,+,[internal,x],[internal,2]]]]
   
   [3] FA2=quote_to_funargs(FA[2])[1];
   [b_op,+,[internal,x],[internal,1]]
   
   [4] FA3=quote_to_funargs(FA[3])[1];
   [b_op,+,[internal,x],[internal,2]]
   
   [5] funargs_to_quote([FA[0],FA[1],FA2,FA3]);
   [b_op,+,[b_op,+,[internal,x],[internal,1]],
           [b_op,+,[internal,x],[internal,2]]]
   @end example
   
   $B<!$NNc$O(B OpenXM/asir-contrib $BHG$N(B asir $B$G<B9T(B.
   @example
   [1287] load("noro_simplify.rr");
   1
   [1293] noro_simplify.remove_paren(quote( f(1-(x))));
   quote(f(1-x))
   @end example
   
   @table @t
   @item $B;2>H(B
   @ref{quotetolist}
   @end table
   
   @noindent
   ChangeLog
   @itemize @bullet
   @item
    $B$3$N%^%K%e%"%k$O3P$(=q$-$G$"$k(B. $B3+H/<T$,K\3JE*$J$N$r=q$/$@$m$&(B.
   @item
    $B$3$l$i$N4X?t$O(B 2004-7-8 $B$+$i3+H/$N$O$8$^$C$F$$$k(B quote $B$N(B simplification $B4XO"(B
    $B$N<B83E*4X?t$G$"$k(B.
    $BJQ99$r$&$1$?%=!<%9%3!<%I$OB?4t$K$o$?$k$N$G$^$@=q$+$J$$(B.
   @item
    $B3g8L$r<h$j5n$kLdBj$O(B OpenXM/fb $B$,C_$($F$$$k8x<0$r(B tex $B$Ge:No$KI=<($9$k$N$,F05!$N0l$D(B.
   @item
    2004-6-26 $B$N7W;;Be?t%;%_%J!<$K$*$$$F(B, $BCf@n$5$s$,(B simplifier $B$K$D$$$F$$$m$$$mLdBjDs5/(B
   $B$r$7$?(B ($B7W;;Be?t%;%_%J!<%S%G%*;2>H(B).
   @end itemize
   
 @comment --- $B"~"~"~"~(B  $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B  @comment --- $B"~"~"~"~(B  $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B
   

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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