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

Annotation of OpenXM/src/asir-doc/exp/exp-ja.texi, Revision 1.24

1.24    ! takayama    1: %% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.23 2006/03/12 07:05:41 takayama Exp $
1.1       takayama    2: \input texinfo
                      3: @iftex
                      4: @catcode`@#=6
                      5: @def@fref#1{@xrefX[#1,,@code{#1},,,]}
                      6: @def@b#1{{@bf@gt #1}}
                      7: @catcode`@#=@other
                      8: @end iftex
                      9: @overfullrule=0pt
                     10: @c -*-texinfo-*-
                     11: @comment %**start of header
                     12: @comment --- $B$*$^$8$J$$=*$j(B ---
                     13:
                     14: @comment --- GNU info $B%U%!%$%k$NL>A0(B ---
                     15: @setfilename xyzman
                     16:
                     17: @comment --- $B%?%$%H%k(B ---
                     18: @settitle $B<B83E*;EMM$N4X?t(B
                     19:
                     20: @comment %**end of header
                     21: @comment %@setchapternewpage odd
                     22:
                     23: @comment --- $B$*$^$8$J$$(B ---
                     24: @ifinfo
                     25: @macro fref{name}
                     26: @ref{\name\,,@code{\name\}}
                     27: @end macro
                     28: @end ifinfo
                     29:
                     30: @iftex
                     31: @comment @finalout
                     32: @end iftex
                     33:
                     34: @titlepage
                     35: @comment --- $B$*$^$8$J$$=*$j(B ---
                     36:
                     37: @comment --- $B%?%$%H%k(B, $B%P!<%8%g%s(B, $BCx<TL>(B, $BCx:n8"I=<((B ---
                     38: @title $B<B83E*;EMM$N4X?t(B
                     39: @subtitle Risa/Asir $B<B83E*;EMM4X?t@bL@=q(B
                     40: @subtitle 1.0 $BHG(B
1.24    ! takayama   41: @subtitle 2007 $BG/(B 8 $B7n(B
1.1       takayama   42:
1.16      ohara      43: @author  by Risa/Asir committers
1.1       takayama   44: @page
                     45: @vskip 0pt plus 1filll
                     46: Copyright @copyright{} Risa/Asir committers
                     47: 2004. All rights reserved.
                     48: @end titlepage
                     49:
                     50: @comment --- $B$*$^$8$J$$(B ---
                     51: @synindex vr fn
                     52: @comment --- $B$*$^$8$J$$=*$j(B ---
                     53:
                     54: @comment --- @node $B$O(B GNU info, HTML $BMQ(B ---
                     55: @comment --- @node  $B$N0z?t$O(B node-name,  next,  previous,  up ---
                     56: @node Top,, (dir), (dir)
                     57:
                     58: @comment --- @menu $B$O(B GNU info, HTML $BMQ(B ---
                     59: @comment --- chapter $BL>$r@53N$KJB$Y$k(B ---
                     60: @comment --- $B$3$NJ8=q$G$O(B chapter XYZ, Chapter Index $B$,$"$k(B.
                     61: @comment ---  Chapter XYZ $B$K$O(B section XYZ$B$K$D$$$F(B, section XYZ$B$K4X$9$k4X?t$,$"$k(B.
                     62: @menu
                     63: * Experimental Functions::
                     64: * Index::
                     65: @end menu
                     66:
                     67: @comment --- chapter $B$N3+;O(B ---
                     68: @comment --- $B?F(B chapter $BL>$r@53N$K(B. $B?F$,$J$$>l9g$O(B Top ---
                     69: @node $B<B83E*;EMM$N4X?t(B,,, Top
                     70: @chapter $B<B83E*;EMM$N4X?t(B
                     71:
                     72: @comment --- section $BL>$r@53N$KJB$Y$k(B.  ---
                     73: @menu
                     74: * $B<B83E*;EMM$N4X?t@bL@=q$K$D$$$F(B::
                     75: * $B<B83E*;EMM$N4X?t(B::
                     76: @end menu
                     77:
                     78: @comment --- section ``XYZ$B$K$D$$$F(B'' $B$N3+;O(B ---  section XYZ$B$K$D$$$F$N?F$O(B chapter XYZ
                     79: @node $B<B83E*;EMM$N4X?t@bL@=q$K$D$$$F(B,,, XYZ
                     80: @section $B<B83E*;EMM$N4X?t@bL@=q$K$D$$$F(B
                     81:
                     82: @comment --- $B=qBN;XDj$K$D$$$F(B ---
                     83: @comment --- @code{} $B$O%?%$%W%i%$%?BNI=<((B ---
                     84: @comment --- @var{} $B$O<P;zBNI=<((B ---
                     85: @comment --- @b{} $B$O%\!<%k%II=<((B ---
                     86: @comment --- @samp{} $B$O%U%!%$%kL>$J$I$NI=<((B ---
                     87:
                     88: $B$3$N@bL@=q$G$O(B
                     89: @b{Asir} $B$KF3F~$5$l$?<B83E*;EMM$N4X?t$K$D$$$F@bL@$9$k(B.
                     90: $B@5<0$J4X?t$H$7$FF3F~$5$l$?$b$N$N5-=R$O(B Risa/Asir $B%^%K%e%"%k(B
                     91: $B$K0\F0$5$l$k(B.
                     92: ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvsweb $B$G(B
                     93: $B%=!<%9%3!<%I$rFI$`;~$N=u$1$K$J$k>pJs$,=q$+$l$F$$$k(B.
                     94:
                     95: @comment --- section ``$B<B83E*4X?t(B'' $B$N3+;O(B ---
                     96: @node $B<B83E*;EMM$N4X?t(B,,, $B<B83E*;EMM$N4X?t(B
                     97: @section $B<B83E*;EMM$N4X?t(B
                     98:
                     99: @comment --- section ``$B<B83E*4X?t(B'' $B$N(B subsection xyz_abc
                    100: @comment --- subsection xyz_pqr xyz_stu $B$,$"$k(B.
                    101: @menu
1.2       takayama  102: * quotetotex::
                    103: * quotetotex_env::
                    104: * objtoquote::
1.3       takayama  105: * copyright::
1.2       takayama  106: * string_to_tb::
                    107: * tb_to_string::
                    108: * write_to_tb::
1.3       takayama  109: * dp_gr_main::
1.4       takayama  110: * asir-port.sh::
                    111: * asir-install.sh::
                    112: * get_struct_name::
                    113: * get_element_names::
                    114: * get_element_at::
                    115: * put_element_at::
1.6       takayama  116: * dp_initial_term::
                    117: * dp_order::
                    118: * dp_weyl_gr_main::
1.8       takayama  119: * list::
                    120: * mapat::
1.9       takayama  121: * set_print_function::
1.12      takayama  122: * small_jacobi::
1.13      takayama  123: * flatten_quote::
1.15      takayama  124: * sprintf::
                    125: * quote_to_funargs::
                    126: * funargs_to_quote::
1.19      takayama  127: * get_function_name::
1.15      takayama  128: * remove_paren::
1.17      takayama  129: * set_secure_mode::
                    130: * set_secure_flag::
1.22      takayama  131: * initialize_static_variable::
1.23      takayama  132: * eval_quote::
                    133: * nqt_match::
                    134: * nqt_match_rewrite::
                    135: * qt_normalize::
                    136: * qt_set_coef::
                    137: * qt_set_ord::
                    138: * qt_set_weight::
                    139: * nqt_comp::
                    140: * qt_is_var::
                    141: * qt_is_ceof::
                    142: * qt_rewrite::
1.24    ! takayama  143: * asirgui.hnd::
1.23      takayama  144:
1.1       takayama  145: @end menu
                    146:
1.3       takayama  147: @comment --- $B"~"~"~"~(B  $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B
1.1       takayama  148: @comment --- $B8D!9$N4X?t$N@bL@$N3+;O(B ---
                    149: @comment --- section $BL>$r@53N$K(B ---
1.2       takayama  150: @node quotetotex quotetotex_env,,, $B<B83E*;EMM$N4X?t(B
                    151: @subsection @code{quotetotex}, @code{quotetotex_env}
1.1       takayama  152: @comment --- $B:w0zMQ%-!<%o!<%I(B
1.2       takayama  153: @findex quotetotex
                    154: @findex quotetotex_env
1.1       takayama  155:
                    156: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    157: @table @t
1.2       takayama  158: @item quotetotex(@var{q})
                    159: :: @var{q} $B$r(B latex $B7A<0$GI=8=$7$?J8;zNs$KJQ49$9$k(B.
                    160: @item quotetotex_env(@var{key},@var{value})
                    161: :: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$rJQ99$9$k(B.
                    162: @item quotetotex_env()
                    163: :: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$N8=:_CM$rLa$9(B.
                    164: @item quotetotex_env(0)
                    165: :: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$r%G%U%)!<%k%HCM$KLa$9(B.
1.1       takayama  166: @end table
                    167:
                    168: @comment --- $B0z?t$N4JC1$J@bL@(B ---
                    169: @table @var
                    170: @item return
1.2       takayama  171: $BJ8;zNs(B(quotetotex) $B$^$?$O(B $B%j%9%H$^$?$O%*%V%8%'%/%H(B(quotetotex_env)
                    172: @item q
                    173: quote
                    174: @item key
                    175: $BJ8;zNs(B
                    176: @item value
                    177: $B%*%V%8%'%/%H(B
1.1       takayama  178: @end table
                    179:
                    180: @comment --- $B$3$3$G4X?t$N>\$7$$@bL@(B ---
                    181: @comment --- @itemize$B!A(B@end itemize $B$O2U>r=q$-(B ---
                    182: @comment --- @bullet $B$O9uE@IU$-(B ---
                    183: @itemize @bullet
                    184: @item
1.2       takayama  185: quotetotex $B$O(B @var{q} $B$r(B latex $B7A<0$GI=8=$7$?J8;zNs$KJQ49$9$k(B.
                    186: @item
                    187: $B0J2<(B quotetotex_env $B$N%Q%i%a!<%?$N0UL#$r@bL@$9$k(B.
                    188: @item
                    189: conv_rule: 3 $B%S%C%H$rMQ$$$FJQ49%k!<%k$r;XDj$9$k(B.
                    190: 0$B%S%C%HL\$O(B symbol_table $B$K$h$kJQ49$r9T$&$+(B,
                    191: 1$B%S%C%HL\$OE:;zJQ49$r9T$&$+(B,
1.3       takayama  192: 2$B%S%C%HL\$O(B d $B$+$i;O$^$kJQ?tL>$rHyJ,:nMQAG$H$_$J$7$F=hM}$9$k$+(B,
1.2       takayama  193: $B$r0UL#$9$k(B.
                    194: $B$?$H$($P(B conv_rule $B$H$7$F(B 3 $B$r;XDj$9$k$H(B,
                    195: 0$B%S%C%HL\(B, 1 $B%S%C%HL\$,(B 1 $B$H$J$k$N$G(B
                    196: symbol_table $B$K$h$kJQ49$r9T$$(B, $BE:;zJQ49$r$*$3$J$&(B.
                    197: $BE:;zJQ49$O?t;z$H1Q;z$N6-L\$*$h$S(B _ $B5-9f$r6h@Z$j$H$9$k(B.
                    198: symbol_table $B$K$h$kJQ49$,:G=i$KE,MQ$5$l$k(B.
                    199: alpha, beta, $BEy$O<+F0E*$r%.%j%7%cJ8;z$KJQ49$9$k%F!<%V%k$O(B
                    200: $BFbB"$:$_(B.
                    201: @item
1.5       takayama  202:   dp_vars_prefix: $BJ,;6I=8=B?9`<0$O(B
                    203:   @tex
                    204:   $x_0, x_1, \cdots$
                    205:   @end tex
                    206:   $B$NB?9`<0$H$7$F(B latex $B7A<0$KJQ49$5$l$k$,$3$N(B
                    207:   x $B$NItJ,$rJQ99$9$k(B.
                    208: @item
                    209:   dp_vars_origin: $B%$%s%G%C%/%9$N;O$^$j$NCM$r;XDj$9$k(B.
                    210:   $B%G%U%)!<%k%H$O(B 0.
1.1       takayama  211: @item
1.2       takayama  212: dp_vars_hweyl: $BJ,;6I=8=B?9`<0$r%o%$%kBe?t$N85$H$_$J$7$F(B
1.3       takayama  213: latex $B7A<0$KJQ49$9$k(B.
1.2       takayama  214: $B6v?t8DJQ?t$,$"$k$H$-$O(B $B:G=i$NH>J,$r(B
                    215: @tex
                    216: $x_0, x_1, \cdots$
                    217: @end tex
                    218: $B$K(B
                    219: $B8eH>$NH>J,$r(B
                    220: @tex
                    221: $\partial_0, \partial_1, \cdots$
                    222: @end tex
                    223: $B$KJQ49$9$k(B.
                    224: $B4q?t8D$N>l9g$O:G8e$NJQ?t$,F1;~2=JQ?t$H$7$F(B h $B$GI=<($5$l$k(B.
1.5       takayama  225: @item
                    226:   dp_dvars_prefix: dp_vars_hweyl $B$,(B 1 $B$N;~$K8eH>ItJ,$N(B prefix $B$r;XDj$9$k(B.
                    227:   $B%G%U%)!<%k%H$O(B @tex $\partial$ @end tex
                    228: @item
                    229:   dp_dvars_origin: dp_vars_hweyl $B$,(B 1 $B$N;~$N%$%s%G%C%/%9$N;O$^$j$NCM(B.
1.2       takayama  230: @item
                    231: conv_func: $B%f!<%6Dj5A$NJQ494X?t$r$h$V(B.
                    232: @item
                    233:
1.1       takayama  234: @end itemize
                    235:
                    236: @comment --- @example$B!A(B@end example $B$O<B9TNc$NI=<((B ---
                    237: @example
1.2       takayama  238: [3] quotetotex(quote(1/(x+1)));
                    239: \frac@{ 1@} @{ (  @{x@}+ 1)@}
                    240: [4]  quotetotex(objtoquote(diff(x^x,x)));
                    241:    @{x@}^@{  @{x@}- 1@}   @{x@}+  \log( @{x@})   @{x@}^@{ @{x@}@}
                    242: [5] quotetotex_env("conv_rule",3);
                    243: [6] quotetotex(objtoquote( (alpha2beta+x_i_j)^2));
                    244:   @{\alpha@}_@{2,\beta@}^@{ 2@} +   2  @{x@}_@{i,j@}  @{\alpha@}_@{2,\beta@}+  @{x@}_@{i,j@}^@{ 2@}
1.1       takayama  245: @end example
                    246:
                    247: @comment --- $B;2>H(B($B%j%s%/(B)$B$r=q$/(B ---
                    248: @table @t
                    249: @item $B;2>H(B
1.2       takayama  250: @ref{objtoquote}
1.3       takayama  251: print_tex_form(contrib)
1.1       takayama  252: @end table
                    253:
                    254: @comment --- ChangeLog $B$r=q$/(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
                    255: @noindent
                    256: ChangeLog
                    257: @itemize @bullet
1.5       takayama  258: @item
                    259:  $B$3$N4X?t$O(B 2004$BG/(B2$B7nKv$+$i(B3$B7n$K$+$1$F(B asir $B$r(B
                    260:  knoppix $BHG(B texmacs $B$KBP1~$5$;$k$?$a$K=q$+$l$?(B.
                    261:  Asir-contrib $B$N(B print_tex_form $B$,$=$N867?$G$"$j(B, $B$=$l$r8zN(2=$7$^$?(B
                    262:  $B=PNO7A<0$r2~A1$7$?(B.
                    263:  OpenXM/src/kxx/ox_texmacs.c, OpenXM/src/texmacs $B$b;2>H(B.
                    264: @item
                    265:  OpenXM/src/asir-contrib/packages/src/noro_print.rr 1.1--1.8,
                    266:  noro_print_default.rr 1.1--1.3 $B$b;2>H(B.
                    267: @item
                    268:  $BJQ99$r<u$1$?%U%!%$%k$O(B OpenXM_contrib2/asir2000 $B$N2<$N<!$N%U%!%$%k(B.
1.3       takayama  269:   builtin/strobj.c 1.14--1.43,
                    270:   include/ca.h 1.46, io/cexpr.c 1.18, io/pexpr.c 1.32, io.sexpr.c 1.29,
                    271:   parse/arith.c 1.12, parse/parse.h 1.28--1.29,
                    272:   parse/quote.c 1.7--1.8, 1.12.
                    273: @item
                    274:   knoppix/math $B$O(B $BJ!2,Bg3X$N_@ED$5$s$,Cf?4$H$J$j3+H/$5$l$F$$$k(B.
1.5       takayama  275: @item
                    276:   dp_dvars_prefix, *_origin $B$O(B builtin/strobj.c 1.46 $B$GF3F~$5$l$?(B.
                    277: @item
                    278:   Todo: quotetoterminalform ($BJ,;6I=8=B?9`<0$N8+0W$$=PNO(B).
1.3       takayama  279: @end itemize
                    280:
                    281:
                    282:
                    283: @comment --- $B"~"~"~"~(B  $B4X?t(B objtoquote $B$N@bL@(B $B"~"~"~"~(B
                    284: @node objtoquote,,, $B<B83E*;EMM$N4X?t(B
                    285: @subsection @code{objtoquote}
                    286: @findex objtoquote
                    287:
                    288: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    289: @table @t
                    290: @item objtoquote(@var{ob})
                    291: :: $B%*%V%8%'%/%H$H(B quote $B7?$N%G!<%?$KJQ49$9$k(B.
                    292: @end table
                    293:
                    294: @table @var
                    295: @item return
                    296: quote
                    297: @item ob
                    298: $B%*%V%8%'%/%H(B
                    299: @end table
                    300:
                    301: @itemize @bullet
                    302: @item
                    303: @code{objtoquote(ob)} $B$O(B, @var{ob} $B$r(B quote $B7?$N%G!<%?$KJQ49$9$k(B.
                    304: @end itemize
                    305:
                    306: @example
                    307: [1150] quotetolist(quote(1+2));
                    308: [b_op,+,[internal,1],[internal,2]]
                    309: [1151] quotetolist(objtoquote(1+x));
                    310: [b_op,+,[internal,x],[internal,1]]3
                    311: @end example
                    312:
                    313: @table @t
                    314: @item $B;2>H(B
                    315: @ref{quotetotex} @ref{quotetolist}
                    316: @end table
                    317:
                    318: @comment --- ChangeLog $B$r=q$/(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
                    319: @noindent
                    320: ChangeLog
                    321: @itemize @bullet
                    322: @item $B$3$N4X?t$O(B quotetotex $B$NA0=hM}$r$9$k$?$a$K=q$+$l$?(B.
                    323: @item asir-contrib $B$N4X?t(B quote_to_quote $B$b;2>H(B.
                    324: @item OpenXM_contrib2/asir2000/builtin/print.c 1.16.
                    325: @end itemize
                    326:
                    327:
                    328: @comment --- $B"~"~"~"~(B  $B4X?t(B copyright $B$N@bL@(B $B"~"~"~"~(B
                    329: @node copyright,,, $B<B83E*;EMM$N4X?t(B
                    330: @subsection @code{copyright}
                    331: @findex copyright
                    332:
                    333: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    334: @table @t
                    335: @item copyright()
                    336: :: Risa/Asir $B$N(B copyright $BI=<($rJ8;zNs$H$7$FLa$9(B.
                    337: @end table
                    338:
                    339: @table @var
                    340: @item return
                    341: $BJ8;zNs(B
                    342: @end table
                    343:
                    344: @itemize @bullet
                    345: @item
                    346: Risa/Asir $B$N(B copyright $BI=<($rJ8;zNs$H$7$FLa$9(B.
                    347: @end itemize
                    348:
                    349: @example
                    350: [1150] copyright();
                    351: This is Risa/Asir, Version 20040312 (Kobe Distribution).
                    352: Copyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.
                    353: Copyright 2000-2003, Risa/Asir committers, http://www.openxm.org/.
                    354: GC 6.2(alpha6) copyright 1988-2003, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.
                    355: PARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,
                    356:    H. Cohen and M. Olivier.
                    357: @end example
                    358:
                    359: @comment --- ChangeLog $B$r=q$/(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
                    360: @noindent
                    361: ChangeLog
                    362: @itemize @bullet
                    363: @item $B$3$N4X?t$O(B texmacs $BMQ$K=q$+$l$?(B (2004-03).
                    364: @item OpenXM_contrib2/asir2000 $B$N2<$N0J2<$N%U%!%$%k$r$_$h(B. builtin/miscf.c 1.21,
                    365:       parse/glob.c 1.47.
                    366: @end itemize
                    367:
                    368:
                    369:
                    370: @comment --- $B"~"~"~"~(B  $B4X?t(B string_to_tb, ... $B$N@bL@(B $B"~"~"~"~(B
                    371: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
                    372: @node string_to_tb tb_to_string write_to_tb,,, $B<B83E*;EMM$N4X?t(B
                    373: @subsection @code{string_to_tb}, @code{tb_to_string}, @code{write_to_tb}
                    374: @findex string_to_tb
                    375: @findex tb_to_string
                    376: @findex write_to_tb
                    377:
                    378: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    379: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                    380: @table @t
                    381: @item string_to_tb(@var{s})
                    382: @itemx tb_to_string(@var{tb})
                    383: @itemx write_to_tb(@var{s},@var{tb})
                    384: :: $BJ8;zNs2DJQD9G[Ns7?(B(text buffer)$B$N%G!<%?$N=hM}(B
                    385: @end table
                    386:
                    387: @table @var
                    388: @item return
                    389: $BJ8;zNs2DJQD9G[Ns7?(B(string_to_tb), $BJ8;zNs7?(B(tb_to_string)
                    390: @item s
                    391: $BJ8;zNs(B
                    392: @item tb
                    393: $BJ8;zNs2DJQD9G[Ns7?(B
                    394: @end table
                    395:
                    396: @itemize @bullet
                    397: @item
                    398: @code{string_to_tb(@var{s})} $B$O(B, $BJ8;zNs(B @var{s} $B$r$O$8$a$NMWAG$H$9$k(B
                    399: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H$r@8@.$9$k(B.
                    400: @item
                    401: @code{tb_to_string_(@var{tb})} $B$O(B,
                    402: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H(B @var{tb} $B$+$iDL>o$NJ8;zNs%*%V%8%'%/%H$r@8@.$9$k(B.
                    403: @item
                    404: @code{write_to_tb(@var{s},@var{tb})} $B$O(B, $BJ8;zNs(B @var{s} $B$r(B
                    405: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H(B @var{tb} $B$X=q$-=P$9(B.
                    406: @item @var{SS} $B$rJ8;zNsJQ?t$H$9$k$H$-(B,
                    407: @var{SS} += "$BJ8;zNs(B" $B$G(B @var{SS} $B$XJ8;zNs$r=q$-B-$7$F$$$/$3$H$,$G$-$k$,(B,
                    408: $BL5BL$J%a%b%j$rBgNL$K>CHq$9$k(B.
                    409: $BBe$j$K4X?t(B @code{write_to_tb} $B$rMQ$$$k$Y$-$G$"$k(B.
                    410: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H$OJ8;zNs$N2DJQD9$NG[Ns$G$"$j%a%b%j4IM}$KM%$7$$(B
                    411: $B%G!<%?9=B$$G$"$k(B.
                    412: @end itemize
                    413:
                    414: @example
                    415: [219] T=string_to_tb("");
                    416:
                    417: [220] write_to_tb("Hello",T);
                    418: 0
                    419: [221] write_to_tb(" world!",T);
                    420: 0
                    421: [222] tb_to_string(T);
                    422: Hello world!
                    423: @end example
                    424:
                    425:
                    426: @comment --- ChangeLog $B$r=q$/(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
                    427: @noindent
                    428: ChangeLog
                    429: @itemize @bullet
1.5       takayama  430: @item
                    431:  $B$3$N4X?t$O(B 2004-3 $B$K(B print_tex_form $B$r8zN(2=$9$k$?$a$K=q$+$l$?(B.
                    432: @item
                    433:  OpenXM_contrib2/asir2000 $B$N2<$N0J2<$N%U%!%$%k$r8+$h(B.
1.3       takayama  434: io/ox_asir.c 1.52, builtin/strobj.c 1.12--1.13, 1.16,
                    435: engine/str.c 1.5, parse/quote.c 1.9.
1.5       takayama  436: @item
                    437:  rtostr $B$,(B text buffer $B7?$N%G!<%?$K4X$7$F$*$=$+$C$?(B. $BB.EY$N2~A1$O(B
                    438:  asir2000/io/pexpr_body.c 1.2, asir2000/parse/lex.c 1.32.
1.3       takayama  439: @end itemize
                    440:
                    441:
                    442:
                    443: @comment --- $B"~"~"~"~(B  $B4X?t(B dp_gr_main $B$N@bL@(B $B"~"~"~"~(B
                    444: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
                    445: @node dp_gr_main,,, $B<B83E*;EMM$N4X?t(B
                    446: @subsection @code{dp_gr_main}
                    447: @findex dp_gr_main
                    448:
                    449: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    450: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                    451: @table @t
                    452: @item dp_gr_main(@var{f} | v=@var{vv}, order=@var{oo}, homo=@var{n}, matrix=@var{m}, block=@var{b}, sugarweight=@var{sw})
                    453: :: dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9(B.
                    454: @end table
                    455:
                    456: @table @var
                    457: @item return
                    458: $B%j%9%H(B ($B%0%l%V%J4pDl(B. $B:F5"I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B)
                    459: @item f
                    460: $B%j%9%H(B  ($BF~NOB?9`<07O(B. $B:F5"I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B)
                    461: @item vv
                    462: $B%j%9%H(B  ($BJQ?t$N%j%9%H(B)
                    463: @item oo
                    464: $B%j%9%H(B  ($B=g=x$r$"$i$o$9%j%9%H(B)
                    465: @item n
                    466: 0 $B$+(B1 (homogenization $B$r$9$k$+(B)
                    467: @item m
                    468: $B=g=x$r(B matrix $B$GI=8=$9$k>l9g(B (cf. dp_ord).
                    469: @item b
                    470: ???
                    471: @item sw
1.5       takayama  472: Sugar strategy $B$rE,MQ$9$k$H$-$N(B weight vector. $BA4$F$NMWAG$OHsIi(B.
1.3       takayama  473: @end table
                    474:
                    475: @itemize @bullet
                    476: @item
                    477:  @code{dp_gr_main(@var{f})} $B$O(B, @var{f} $B$N%0%l%V%J4pDl$r7W;;$9$k(B.
                    478:  $B%0%l%V%J4pDl$O=g=x$rJQ$($k$H$=$N7A$,JQ$o$k(B.   asir $B$G$O$$$^$^$G=g=x$N;XDjJ}K!$,(B
                    479:  $B7OE}$@$C$F$$$J$+$C$?(B.
                    480:  dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
                    481: @comment  ~taka/this03/misc-2003/A2/dp
                    482: @item $B=g=x(B order $B$O<!$NJ8K!$GDj5A$9$k(B.  @{, @} $B$O(B 0 $B2s0J>e$N7+$jJV$7$r0UL#$9$k(B.
1.11      ohara     483: @example
1.3       takayama  484:   order         : '[' orderElement { ',' orderElement } ']'
1.5       takayama  485:   orderElement   :  weightVec | builtinOrder
1.3       takayama  486:   weightVec     : '[' weightElement { ',' weightElement } ']'
                    487:   builtiniOrder : '[' orderName  ',' setOfVariables ']'
                    488:   weightElement :   NUMBER | setOfVariables ',' NUMBER
                    489:   setOfVariables:  V | range(V,V)
1.11      ohara     490:   orderName    : @@grlex | @@glex | @@lex
                    491: @end example
1.3       takayama  492: $B$3$3$G(B @code{V} $B$O(B $BJQ?tL>(B, @code{NUMBER} $B$O@0?t$r$"$o$i$9(B.
                    493: $BNc(B1:  @code{v=[x,y,z,u,v], order=[[x,10,y,5,z,1],[@@grlex,range(x,v)]]}
                    494: $B$O(B @code{x},@code{y},@code{z} $B$,$=$l$>$l(B weight 10, 5, 1 $B$r$b$D(B
                    495: $B=g=x$GHf3S$7$?$"$H(B, @code{[x,y,z,u,v]} $B$K$D$$$F$N(B
                    496: graded reverse lexicographic order $B$r(B tie-breaker $B$H$7$FMQ$$$k$3$H$r0UL#$9$k(B.
1.5       takayama  497: $B;29M=q(B: B.Sturmfels: Gr\"obner Bases and Convex Polytopes (1995).
                    498: M.Saito, B.Sturmfels, N.Takayama:
                    499: Gr\"obner Deformations of Hypergeometric Differential Equations (2000).
                    500: @item
                    501:   $B=g=xMWAG(B (orderElement) $B$N;XDjJ}K!$O(B
                    502:  (1) $BJQ?tL>$^$?$O(B range$B$G;XDj$5$l$?JQ?t$N=89g$H=E$_$NCM$N7+$jJV$7(B
                    503:  (2) $B=E$_$NCM$rJQ?t%j%9%H$N=gHV$KJB$Y$kJ}K!(B
                    504:  (3) $BJQ?tL>$^$?$O(B range$B$G;XDj$5$l$?JQ?t$N=89g$H=g=xL>$NAH(B
                    505:  $B$N;0DL$j$N4pACE*J}K!$,$"$k(B.
                    506:  $B;w$?;XDjJ}K!$,(B Macaulay, Singular, CoCoA, Kan/sm1 $BEy$N4DO@%7%9%F%`$G(B
                    507:  $B;HMQ$5$l$F$$$?(B. Risa/Asir $B$N;XDjJ}K!$O$3$l$i$N%7%9%F%`$N;XDjJ}K!$r;29M$K(B
                    508:  $B$5$i$K2~NI$r2C$($?$b$N$G=@Fp@-$,9b$$(B.
1.3       takayama  509: @item
                    510:   order $B$N(B tie-breaker $B$O(B grlex $B$,%G%U%)!<%k%H(B.
                    511: @item
                    512:   $BJ,;6I=8=B?9`<0$r0z?t$H$7$?$H$-$O7k2L$bJ,;6I=8=B?9`<0$H$7$FLa$k(B.
                    513:   order $B;XDj$K$b$A$$$k%G%U%)!<%k%H$NJQ?tL>$O$3$N$H$-(B x0, x1, x2, ... $B$H$J$k(B.
1.5       takayama  514: @item
                    515:   $B%*%W%7%g%s$NCM$O(B option_list $B%-!<%o!<%I$rMQ$$$F%j%9%H$GM?$($F$b$h$$(B.
                    516:   $B2<$NNc$r;2>H(B.
1.3       takayama  517: @end itemize
                    518:
                    519: @example
                    520: [218] load("cyclic");
                    521: [219] V=vars(cyclic(4));
                    522: [c0,c1,c2,c3]
                    523: [220]dp_gr_main(cyclic(4) | v=V, order=[[c0,10,c1,1],[c2,5],[@@grlex,range(c0,c3)]]);
                    524: [ 10 1 0 0 ]
                    525: [ 0 0 5 0 ]
                    526: [ R R R R ]
                    527: [(-c3^6+c3^2)*c2^2+c3^4-1,c3^2*c2^3+c3^3*c2^2-c2-c3,
                    528:  (c3^4-1)*c1+c3^5-c3,(c2-c3)*c1+c3^4*c2^2+c3*c2-2*c3^2,-c1^2-2*c3*c1-c3^2,
                    529:  c0+c1+c2+c3]
                    530:
                    531: [1151]  F=map(dp_ptod,katsura(4), vars(katsura(4)));
                    532: [(1)*<<1,0,0,0,0>>+(2)*<<0,1,0,0,0>>+ ... ]
                    533: [1152] dp_gr_main(F | order=[[range(x0,x3),1]]);
                    534: [ 1 1 1 1 0 ]
                    535: [ R R R R R ]
                    536: [(47774098944)*<<0,0,0,0,13>>+ ... ]
1.5       takayama  537:
                    538: [1153] Opt=[["v",[x,y]], ["order",[[x,5,y,1]]]];
                    539: [[v,[x,y]],[order,[[x,5,y,1]]]]
                    540: [1154]  dp_gr_main([x^2+y^2-1,x*y-1] | option_list=Opt);
                    541: [ 5 1 ]
                    542: [ R R ]
                    543: [-y^4+y^2-1,x+y^3-y]
1.3       takayama  544: @end example
                    545:
                    546: @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
                    547: @noindent
                    548: ChangeLog
                    549: @itemize @bullet
                    550: @item $B$3$N4X?t$O(B 2003-12 $B$+$i(B 2004-2 $B$N;O$a$KBg$-$J=$@5$,9T$o$l$?(B.
                    551: @item
                    552:  @code{setOfVariables}$B$NI=8=$N$?$a$K(B range $B%*%V%8%'%/%H$,F3F~$5$l$?(B.
                    553: @item
                    554:   $B%0%l%V%J4pDl$O=g=x$rJQ$($k$H$=$N7A$,JQ$o$k(B.   asir $B$G$O$$$^$^$G=g=x$N;XDjJ}K!$,(B
                    555:   $B7OE}$@$C$F$$$J$+$C$?(B.
                    556:   dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
                    557: @item
                    558:   OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
                    559: builtin/gr.c 1.56--1.57,
                    560: builtin/dp-supp.c 1.27--1.31 (create_composite_order_spec),
                    561: builtin/dp.c 1.46--1.48 (parse_gr_option),
                    562: engine/Fgfs.c 1.20,
                    563: engine/dist.c 1.27--1.28
                    564: engine/nd.c 1.89,
                    565: include/ca.h 1.42--1.43,
                    566: io/pexpr.c 1.28,
                    567: io/sexpr.c 1.26,
                    568: parse/arith.c 1.11,
                    569: parse/glob.c 1.44-1.45,
                    570: parse/lex.c 1.29,
                    571: parse/parse.h 1.23--1.26
1.5       takayama  572: @item
                    573:  Todo: return $B%-!<%o!<%I$GLa$jCM$N%G!<%?$r(B quote $B$N%j%9%H$K$G$-$k$h$&$K(B.
                    574:   attribute, ring $B9=B$BN(B.
1.1       takayama  575: @end itemize
                    576:
                    577: @comment --- $B"~"~"~"~(B  $B4X?t(B syz_pqr, xyz_stu $B$N@bL@(B $B"~"~"~"~(B
                    578: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
1.3       takayama  579: @node asir-install.sh,,, $B<B83E*;EMM$N4X?t(B
                    580: @subsection @code{asir-port.sh}, @code{asir-install.sh}
                    581: @findex asir-port.sh
                    582: @findex asir-install.sh
1.1       takayama  583:
                    584: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    585: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                    586: @table @t
1.3       takayama  587: @item asir-install.sh
                    588: @itemx asir-port.sh
                    589: :: $B$3$l$O(B asir $B$NFbIt%3%^%s%I$G$O$J$$(B. asir $B$r%M%C%H%o!<%/$+$i%@%&%s%m!<%I$+$D<B9T$9$k%7%'%k%9%/%j%W%H(B
                    590: @end table
                    591:
                    592:
                    593: @itemize @bullet
                    594: @item
                    595: asir-port.sh $B$O(B knoppix $B@lMQ$G$"$k(B.
1.10      ohara     596: $B$3$N%3%^%s%I$O(B asir $B$N%P%$%J%j$*$h$S(B FLL $B$GG[I[$G$-$J$$ItJ,$r(B
1.3       takayama  597:  ftp.math.kobe-u.ac.jp $B$h$j%@%&%s%m!<%I$7$F(B
                    598: /home/knoppix/.asir-tmp $B$X%;!<%V$7$F(B, $B<B9T$9$k(B.
                    599: .asirrc $B$*$h$S(B .TeXmacs/plugins/ox/progs/init-ox.scm $B$b%@%&%s%m!<%I$9$k(B.
                    600: @item
                    601: asir-install.sh $B$O(B Debian GNU Linux / openxm-binary*.deb $B@lMQ$G$"$k(B.
                    602: asir-install.sh $B$O(B asir $B$r%@%&%s%m!<%I$7$F(B /usr/local/OpenXM/bin $B$*$h$S(B
                    603: /usr/local/OpenXM/lib/asir $B$X%$%s%9%H!<%k$9$k(B.
                    604: @end itemize
                    605:
                    606:
                    607: @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
                    608: @noindent
                    609: ChangeLog
                    610: @itemize @bullet
                    611: @item
                    612:  $B$3$l$i$N%7%'%k%9%/%j%W%H$O(B knoppix/math $B$N$?$a$K(B 2004/2, 3 $B7n$K=q$+$l$?(B.
                    613: @item
                    614:   knoppix/math $B$OJ!2,Bg3X$N_@ED$5$s$,Cf?4$H$J$j3+H/$5$l$F$$$k(B.
                    615: @item
                    616:   OpenXM/misc/packages/Linux/Debian $B$N2<$NA4$F$N%U%!%$%k(B (2004-2-22 $B$+$i(B
                    617:   2004-3 $B$NKv$^$G(B). ( ~taka/this03/misc-2003/A3/knoppix-03-05 ($B%W%i%$%Y!<%H%U%!%$%k(B) $B$b8+$h(B.)
                    618:   OpenXM/src/asir-port $B$N2<$N<!$N3F%U%!%$%k(B.
                    619:   Makefile 1.1--1.8, asir-install.sh 1.1--1.2, asir-port.sh 1.1--1.6.
                    620: @end itemize
                    621:
1.4       takayama  622:
                    623: @node get_struct_name,,, $B<B83E*;EMM$N4X?t(B
                    624: @subsection @code{get_struct_name}, @code{get_element_names}, @code{get_element_at}, @code{put_element_at}
                    625: @findex get_struct_name
                    626: @findex get_element_names
                    627: @findex get_element_at
                    628: @findex put_element_at
                    629:
                    630: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    631: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                    632: @table @t
                    633: @item get_struct_name(@var{s})
                    634: @itemx get_element_names(@var{s})
                    635: @itemx get_element_at(@var{s},@var{key})
                    636: @itemx put_element_at(@var{s},@var{key},@var{obj})
                    637: :: $B9=B$BN(B @var{s} $B$KBP$9$kA`:n(B
                    638: @end table
                    639:
                    640: @table @var
                    641: @item return
                    642: $BJ8;zNs(B (get_struct_name),
                    643: $BJ8;zNs$N%j%9%H(B (get_element_names),
                    644: $B%*%V%8%'%/%H(B (get_element_at),
                    645: $B%*%V%8%'%/%H(B (put_element_at)
                    646: @item s
                    647: $B9=B$BN(B
                    648: @item key
                    649: $BJ8;zNs(B
                    650: @item obj
                    651: $B%*%V%8%'%/%H(B
                    652: @end table
                    653:
                    654: @itemize @bullet
                    655: @item
                    656:  @code{get_struct_name(s)} $B$O(B, $B9=B$BN(B @var{s} $B$NL>A0$rLa$9(B.
                    657: @item
                    658:  @code{get_element_names(s)} $B$O(B, $B9=B$BN$N%a%s%P!<$NL>A0$N%j%9%H$rLa$9(B.
                    659: @item
                    660:  @code{get_element_at(s,key)} $B$O9=B$BN(B s $B$N%a%s%P!<(B key $B$NCM$rLa$9(B.
                    661: @item
                    662:  @code{put_element_at(s,key,obj)} $B$O9=B$BN(B s $B$N%a%s%P!<(B key $B$NCM$r(B obj $B$K@_Dj$9$k(B.
                    663: @end itemize
                    664:
                    665: @example
                    666: [219]  struct point { x, y, color};
                    667: [220]  P = newstruct(point);
                    668: {0,0,0}
                    669: [221]  P->x = 10$ P->y=5$ P->color="red"$
                    670: [222]  get_element_names(P);
                    671: [x,y,color]
                    672: [223] put_element_at(P,"color","blue");
                    673: blue
                    674: [224] P->color;
                    675: bule
                    676: @end example
                    677:
                    678: @table @t
                    679: @item $B;2>H(B
                    680: @ref{newstruct}, @ref{struct}
                    681: @end table
                    682:
                    683: @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
                    684: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                    685: @noindent
                    686: ChangeLog
                    687: @itemize @bullet
                    688: @item  $B9=B$BN$NDj5A$rCN$i$:$K9=B$BN$r07$&%f!<%64X?t$r=q$/$H$-$KJXMx(B.
                    689:        asir-contrib $B$N(B noro_print.rr $B$r8+$h(B.
                    690: @item  OpenXM_contrib2/asir2000/builtin/compobj.c 1.8.
                    691: @end itemize
                    692:
1.6       takayama  693: @comment --- $B"~"~"~"~(B  $B4X?t(B dp_gr_main $B$N@bL@(B $B"~"~"~"~(B
                    694: @node dp_weyl_gr_main,,, $B<B83E*;EMM$N4X?t(B
                    695: @subsection @code{dp_weyl_gr_main}
                    696: @findex dp_weyl_gr_main
                    697:
                    698: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    699: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                    700: @table @t
                    701: @item dp_weyl_gr_main(@var{f} | v=@var{vv}, order=@var{oo}, homo=@var{n}, matrix=@var{m}, block=@var{b}, sugarweight=@var{sw})
                    702: :: dp_weyl_gr_main $B$N?7$7$$%$%s%?%U%'!<%9(B.  dp_gr_main $B$HF1$87A<0$G$"$k(B.
                    703: @end table
                    704:
                    705: @table @var
                    706: @item return
                    707: $B%j%9%H(B ($B%0%l%V%J4pDl(B. $B:F5"I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B)
                    708: @item f
                    709: $B%j%9%H(B  ($BF~NOB?9`<07O(B. $B:F5"I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B)
                    710: @item vv
                    711: $B%j%9%H(B  ($BJQ?t$N%j%9%H(B)
                    712: @item oo
                    713: $B%j%9%H(B  ($B=g=x$r$"$i$o$9%j%9%H(B)
                    714: @item n
                    715: 0 $B$+(B1 (homogenization $B$r$9$k$+(B). [$B%F%9%H$^$@(B]
                    716: @item m
                    717: $B=g=x$r(B matrix $B$GI=8=$9$k>l9g(B (cf. dp_ord). [$B%F%9%H$^$@(B]
                    718: @item b
                    719: ???
                    720: @item sw
                    721: Sugar strategy $B$rE,MQ$9$k$H$-$N(B weight vector. $BA4$F$NMWAG$OHsIi(B. [$B%F%9%H$^$@(B]
                    722: @end table
                    723:
                    724: @itemize @bullet
                    725: @item
                    726:  @code{dp_weyl_gr_main(@var{f})} $B$O(B, @var{f} $B$N%0%l%V%J4pDl$r7W;;$9$k(B.
                    727:  $B%0%l%V%J4pDl$O=g=x$rJQ$($k$H$=$N7A$,JQ$o$k(B.   asir $B$G$O$$$^$^$G=g=x$N;XDjJ}K!$,(B
                    728:  $B7OE}$@$C$F$$$J$+$C$?(B.
                    729:  dp_weyl_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
                    730:  $B;XDjJ}K!$K$D$$$F$O(B dp_gr_main $B$N%^%K%e%"%k$r;2>H(B.
                    731: @item
                    732:  $BJ,;6I=8=B?9`<0$N3F%b%N%_%"%k$ND9$5$,6v?t$N$H$-$O%o%$%kBe?t(B
                    733:  K[x_1, ..., x_n, d_1, ..., d_n]
                    734: $B$G7W;;$,$*$3$J$o$l$k(B. $B%o%$%kBe?t$G$O(B x_i $B$H(B d_i $B$OHs2D49$J3]$1;;5,B'(B
                    735:  d_i x_i = x_i d_i +1 $B$r$_$?$7(B, x_i $B$H(B x_j $B$d(B d_i $B$H(B d_j $B$O2D49$G$"$k(B.
                    736:  $B$^$?(B i $B$H(B j $B$,0[$J$k>l9g$O(B x_i $B$H(B d_j $B$b2D49$G$"$k(B.
                    737: @item
                    738:  $BJ,;6I=8=B?9`<0$N3F%b%N%_%"%k$ND9$5$,4q?t$N$H$-$OF1<!2=%o%$%kBe?t(B
                    739:  K[x_1, ..., x_n, d_1, ..., d_n, h]
                    740: $B$G7W;;$,$*$3$J$o$l$k(B. $BF1<!2=%o%$%kBe?t$G$O(B x_i $B$H(B d_i $B$OHs2D49$J3]$1;;5,B'(B
                    741:  d_i x_i = x_i d_i + h^2
                    742: $B$r$_$?$7(B, h $B$OG$0U$N85$H2D49(B, $B$=$NB>$NJQ?t$b%o%$%kBe?t$HF1MM$J2D49@-$N5,B'$r$_$?$9(B.
                    743:  $B>\$7$/$O(B dp_gr_main $B$G;2>H$7$?(B Saito, Sturmfels, Takayama $B$N652J=q$r$_$h(B.
                    744: @end itemize
                    745:
                    746: @example
                    747: [1220] F=sm1.gkz([ [[1,1,1,1],[0,1,3,4]], [0,0]]);  /* Command in asir-contrib*/
                    748: [[x4*dx4+x3*dx3+x2*dx2+x1*dx1,4*x4*dx4+3*x3*dx3+x2*dx2,-dx1*dx4+dx2*dx3,-dx2^2*dx4+dx1*dx3^2,dx1^2*dx3-dx2^3,-dx2*dx4^2+dx3^3],[x1,x2,x3,x4]]
                    749: [1221] V=[x1,x2,x3,x4,dx1,dx2,dx3,dx4]$
1.7       takayama  750: [1222] dp_weyl_gr_main(F[0] | v=V, order=[[dx1,1,dx2,1,dx3,1,dx4,1]]);
                    751: ...
1.6       takayama  752: [1238] FF=map(dp_ptod,F[0],V);
                    753: [(1)*<<1,0,0,0,1,0,0,0>>+(1)*<<0,1,0,0,0,1,0,0>>+(1)*<<0,0,1,0,0,0,1,0>>+(1)*<<0,0,0,1,0,0,0,1>>,(1)*<<0,1,0,0,0,1,0,0>>+(3)*<<0,0,1,0,0,0,1,0>>+(4)*<<0,0,0,1,0,0,0,1>>,0,0,0,0]
                    754:
                    755: [1244] FF=map(dp_ptod,F[0],V);
                    756: [(1)*<<1,0,0,0,1,0,0,0>>+(1)*<<0,1,0,0,0,1,0,0>>+(1)*<<0,0,1,0,0,0,1,0>>+(1)*<<0,0,0,1,0,0,0,1>>,(1)*<<0,1,0,0,0,1,0,0>>+(3)*<<0,0,1,0,0,0,1,0>>+(4)*<<0,0,0,1,0,0,0,1>>,(1)*<<0,0,0,0,0,1,1,0>>+(-1)*<<0,0,0,0,1,0,0,1>>,(1)*<<0,0,0,0,1,0,2,0>>+(-1)*<<0,0,0,0,0,2,0,1>>,(-1)*<<0,0,0,0,0,3,0,0>>+(1)*<<0,0,0,0,2,0,1,0>>,(1)*<<0,0,0,0,0,0,3,0>>+(-1)*<<0,0,0,0,0,1,0,2>>]
                    757:
                    758: dp_weyl_gr_main(FF | v=V, order=[[0,0,0,0,1,1,1,1]]);
                    759:
1.7       takayama  760: [1246] dp_weyl_gr_main(FF | v=V, order=[[dx1,1,dx2,1,dx3,1,dx4,1]]);
1.6       takayama  761: [ 0 0 0 0 1 1 1 1 ]
                    762: [ R R R R R R R R ]
1.7       takayama  763:  ...
1.6       takayama  764:
                    765: @end example
                    766:
                    767: @table @t
                    768: @item $B;2>H(B
                    769: @ref{dp_gr_main}
                    770: @end table
                    771:
                    772: @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
                    773: @noindent
                    774: ChangeLog
                    775: @itemize @bullet
                    776: @item dp_gr_main $B$N%$%s%?%U%'!<%9$,(B dp_weyl_gr_main $B$X$bF3F~$5$l$?(B.
                    777: @item
                    778:   OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
                    779: builtin/dp-supp.c 1.32--1.33
                    780: builtin/dp.c 1.49--1.50
                    781: @end itemize
                    782:
                    783: @comment --- $B"~"~"~"~(B  $B4X?t(B dp_initial_term $B$N@bL@(B $B"~"~"~"~(B
                    784: @node dp_initial_term,,, $B<B83E*;EMM$N4X?t(B
                    785: @subsection @code{dp_initial_term}
                    786: @findex dp_initial_term
                    787:
                    788: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    789: @table @t
                    790: @item dp_initial_term(@var{f} | v=@var{vv}, order=@var{oo})
                    791: :: dp_initial_term $B$OM?$($i$l$?(B weight $B$KBP$9$k@hF,9`$NOB$rLa$9(B.
                    792: @end table
                    793:
                    794: @table @var
                    795: @item return
                    796: $BJ,;6I=8=B?9`<0$^$?$OJ,;6I=8=B?9`<0$N%j%9%H(B.
                    797: @item f
                    798: $BJ,;6I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B.
                    799: @item vv
                    800: $B%j%9%H(B  ($BJQ?t$N%j%9%H(B)
                    801: @item oo
                    802: $B%j%9%H(B  ($B=g=x$r$"$i$o$9%j%9%H(B)
                    803: @end table
                    804:
                    805: @itemize @bullet
                    806: @item
                    807:  dp_initial_term $B$OM?$($i$l$?(B weight w $B$KBP$9$k@hF,9`$NOB$rLa$9(B.
                    808:  $B$3$l$OB?$/$N652J=q$G(B @tex ${\rm in}_w(f)$ @end tex
                    809:  $B$H=q$+$l$F$$$k(B.
                    810: @item
                    811:  $B=g=x$rI=$9%j%9%H$O(B dp_gr_main $B$GDj5A$7$?J8K!$K=>$&(B.
                    812:  $B$3$N%j%9%H$N@hF,$,(B weight vector $B$GL5$$>l9g$O%(%i!<$H$J$k(B.
                    813:  $B$?$H$($P(B order=[[@@lex,...]] $B$O%(%i!<$H$J$k(B.
                    814: @item
                    815:  $B7k2L$OM?$($i$l$?=g=x$K4X$7$F%=!<%H$5$l$F$k$o$1$G$O$J$$(B.
                    816: @end itemize
                    817:
                    818: @example
                    819: [1220] F=<<2,0,0>>+<<1,1,0>>+<<0,0,1>>;
                    820: (1)*<<2,0,0>>+(1)*<<1,1,0>>+(1)*<<0,0,1>>
                    821: [1220] dp_initial_term(F | order=[[1,1,1]]);
                    822: [ 1 1 1 ]
                    823: [ R R R ]
                    824: (1)*<<2,0,0>>+(1)*<<1,1,0>>
                    825: [1221] dp_initial_term(F | v=[x,y,z], order=[[x,1]]);
                    826: [ 1 0 0 ]
                    827: [ R R R ]
                    828: (1)*<<2,0,0>>
                    829: @end example
                    830:
                    831: @table @t
                    832: @item $B;2>H(B
                    833: @ref{dp_gr_main}, @ref{dp_weyl_gr_main}, @ref{dp_order}, @ref{dp_hm}
                    834: @end table
                    835:
                    836: @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
                    837: @noindent
                    838: ChangeLog
                    839: @itemize @bullet
                    840: @item
                    841:   OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
                    842: builtin/dp-supp.c 1.32
                    843: builtin/dp.c 1.49
                    844: @end itemize
                    845:
                    846: @comment --- $B"~"~"~"~(B  $B4X?t(B dp_order $B$N@bL@(B $B"~"~"~"~(B
                    847: @node dp_order,,, $B<B83E*;EMM$N4X?t(B
                    848: @subsection @code{dp_order}
                    849: @findex dp_order
                    850:
                    851: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                    852: @table @t
                    853: @item dp_order(@var{f} | v=@var{vv}, order=@var{oo})
                    854: :: dp_order $B$OM?$($i$l$?(B weight $B$KBP$9$k<!?t$N:GBgCM$rLa$9(B.
                    855: @end table
                    856:
                    857: @table @var
                    858: @item return
                    859: $B?t$+?t$N%j%9%H(B
                    860: @item f
                    861: $BJ,;6I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B.
                    862: @item vv
                    863: $B%j%9%H(B  ($BJQ?t$N%j%9%H(B)
                    864: @item oo
                    865: $B%j%9%H(B  ($B=g=x$r$"$i$o$9%j%9%H(B)
                    866: @end table
                    867:
                    868: @itemize @bullet
                    869: @item
                    870:  $B=g=x$rI=$9%j%9%H$O(B dp_gr_main $B$GDj5A$7$?J8K!$K=>$&(B.
                    871:  $B$3$N%j%9%H$N@hF,$,(B weight vector $B$GL5$$>l9g$O%(%i!<$H$J$k(B.
                    872:  $B$?$H$($P(B order=[[@@lex,...]] $B$O%(%i!<$H$J$k(B.
                    873: @item
                    874:  dp_order $B$OM?$($i$l$?(B weight w $B$KBP$9$k<!?t$N:GBgCM$rLa$9(B.
                    875:  $B$3$l$r(B @tex ${\rm ord}_w(f)$ @end tex
                    876:  $B$H=q$/O@J8$d652J=q$b$"$k(B.
                    877: @item
                    878:  $B0z?t$,%j%9%H$N>l9g3FMWAG$N<!?t$,7W;;$5$l$k(B.
                    879: @end itemize
                    880:
                    881: @example
                    882: [1220] F=<<2,0,0>>+<<1,1,0>>+<<0,0,1>>;
                    883: (1)*<<2,0,0>>+(1)*<<1,1,0>>+(1)*<<0,0,1>>
                    884: [1222] dp_order(F | order=[[1,1,1]]);
                    885: [ 1 1 1 ]
                    886: [ R R R ]
                    887: 2
                    888: [1223] dp_order(F | v=[x,y,z], order=[[x,1]]);
                    889: [ 1 0 0 ]
                    890: [ R R R ]
                    891: @end example
                    892:
                    893: @table @t
                    894: @item $B;2>H(B
                    895: @ref{dp_gr_main}, @ref{dp_weyl_gr_main}, @ref{dp_initial_term}, @ref{dp_hm}
                    896: @end table
                    897:
                    898: @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
                    899: @noindent
                    900: ChangeLog
                    901: @itemize @bullet
                    902: @item
                    903:   OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
                    904: builtin/dp-supp.c 1.32
                    905: builtin/dp.c 1.49
                    906: @end itemize
                    907:
1.8       takayama  908:
                    909: @comment  mapat
                    910: @node mapat,,, $B<B83E*;EMM$N4X?t(B
                    911: @subsection @code{mapat}
                    912: @findex mapat
                    913:
                    914: @table @t
                    915: @item mapat(@var{fname},@var{pos}[,@var{arg0}, @var{arg1}, ...])
                    916: :: @var{pos} $B$KBP$9$k(B map $B4X?t(B
                    917: @end table
                    918:
                    919: @table @var
                    920: @item return
                    921: $B%*%V%8%'%/%H(B
                    922: @item pos
                    923: $B@0?t(B
                    924: @item arg0, arg1, arg2, ...
                    925: $B%*%V%8%'%/%H(B
                    926: @end table
                    927:
                    928: @itemize @bullet
                    929: @item
                    930: @code{map} $B4X?t$O(B 0 $BHVL\$N0z?t$KBP$7$F$7$+F0:n$7$J$$$,(B, @code{mapat}
                    931: $B4X?t$O;XDj$7$?HV9f$N0z?t$KBP$7$F(B @code{map} $B4X?t$r<B9T$9$k(B.
                    932: @item
                    933: @code{mapat(fname,0,A0,A1,...)} $B$O(B
                    934: @code{map(fname,A0,A1,...)} $B$KEy2A$G$"$k(B.
                    935: @item
                    936: $B<!$NI{:nMQ$,$"$k(B. $B$^$@=q$$$F$J$$(B.
                    937: @end itemize
                    938:
                    939: @example
                    940: [219] mapat(deg,1,x^2+y^3+x+y,[x,y]);
                    941: [2,3]
1.10      ohara     942: [220] mapat(subst,1,x+y+z,[x,y,z],2);
                    943: [y+z+2,x+z+2,x+y+2]
1.8       takayama  944: @end example
                    945:
                    946: @table @t
                    947: @item $B;2>H(B
                    948: @ref{map}
                    949: @end table
                    950:
                    951: @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
                    952: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                    953: @noindent
                    954: ChangeLog
                    955: @itemize @bullet
                    956: @item $B$3$N4X?t$O(B 2004-6-22 $B$K%3%_%C%H$5$l$?(B.
                    957:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/pf.c, subst.c $B$G$"$k(B.
                    958: @end itemize
                    959:
                    960: @comment  list
                    961: @node list,,, $B<B83E*;EMM$N4X?t(B
                    962: @subsection @code{list}
                    963: @findex list
                    964:
                    965: @table @t
                    966: @item list([@var{arg0}, @var{arg1}, ...])
                    967: :: list $B$r@8@.$9$k(B.
                    968: @end table
                    969:
                    970: @table @var
                    971: @item return
                    972: $B%j%9%H(B
                    973: @item arg0, arg1, arg2, ...
                    974: $B%*%V%8%'%/%H(B
                    975: @end table
                    976:
                    977: @itemize @bullet
                    978: @item
                    979: @var{arg0}, @var{arg1}, ... $B$rMWAG$H$9$k%j%9%H$r@8@.$9$k(B.
                    980: @end itemize
                    981:
                    982: @example
                    983: [219] list(1,2,3);
                    984: [1,2,3]
                    985: [220] list(1,2,[3,4]);
                    986: [1,2,[3,4]]
                    987: @end example
                    988:
                    989: @table @t
                    990: @item $B;2>H(B
                    991: @ref{cons}
                    992: @end table
                    993:
                    994: @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
                    995: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                    996: @noindent
                    997: ChangeLog
                    998: @itemize @bullet
                    999: @item $B$3$N4X?t$O(B 2004-6-22 $B$K%3%_%C%H$5$l$?(B.
                   1000:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/list.c $B$G$"$k(B.
                   1001: @end itemize
                   1002:
1.9       takayama 1003:
                   1004: @node set_print_function,,, $B<B83E*;EMM$N4X?t(B
                   1005: @subsection @code{set_print_function}
                   1006: @findex set_print_function
                   1007:
                   1008: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1009: @table @t
                   1010: @item set_print_function([@var{fname}])
                   1011: :: $B2hLLI=<(MQ$N4X?t$rEPO?(B
                   1012: @end table
                   1013:
                   1014: @table @var
                   1015: @item return
                   1016: $B@0?t(B
                   1017: @item fname
                   1018: $BJ8;zNs(B
                   1019: @end table
                   1020:
                   1021: @itemize @bullet
                   1022: @item
                   1023: @code{set_print_function} $B$O(B @code{fname(F)} $B$rDL>o$N2hLLI=<(4X?t$NBe$o$j$K$h$V(B.
                   1024: @code $B0z?t$,$J$$>l9g$O2hLLI=<(4X?t$r%G%U%)!<%k%H$XLa$9(B.
                   1025: @code Asir-contrib $B$O$3$N4X?t$rMQ$$$F=PNO4X?t$r(B Asir-contrib $BMQ$KJQ99$7$F$$$k(B.
                   1026: @end itemize
                   1027:
                   1028: @example
                   1029: [219] def my_output(F) {
                   1030:            print("Out: ",0); print(rtostr(F));
                   1031:       }
                   1032: [220] set_print_function("my_output");
                   1033: Out: 0
                   1034: [221]  1+2;
                   1035: Out: 3
                   1036: @end example
                   1037:
                   1038: @table @t
                   1039: @item $B;2>H(B
                   1040: @ref{rtostr}
                   1041: @end table
                   1042:
                   1043: @noindent
                   1044: ChangeLog
                   1045: @itemize @bullet
                   1046: @item $B$3$N4X?t$O(B 2001-9-4 $B$K(B asir-contrib $B$N$?$a$KF3F~$5$l$?(B.
                   1047:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/print.c 1.11 $B$G$"$k(B.
                   1048: @end itemize
1.8       takayama 1049:
                   1050:
1.12      takayama 1051: @node small_jacobi,,, $B<B83E*;EMM$N4X?t(B
                   1052: @subsection @code{small_jacobi}
                   1053: @findex small_jacobi
                   1054:
                   1055: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1056: @table @t
                   1057: @item small_jacobi(@var{a},@var{m})
                   1058: :: Jacobi $B5-9f$N7W;;(B
                   1059: @end table
                   1060:
                   1061: @table @var
                   1062: @item return
                   1063: $B@0?t(B
                   1064: @item arg1, arg2
                   1065: $B@0?t(B
                   1066: @end table
                   1067:
                   1068: @itemize @bullet
                   1069: @item
                   1070:  @var{m} $B$,AG?t$N$H$-$O(B Legendre $B5-9f$H$h$P$l(B,
                   1071:  x^2 = @var{a} mod @var{m} $B$K2r$,$"$k$H$-(B 1, $B2r$,$J$$$H$-(B -1 $B$r$b$I$9(B.
                   1072: @item
                   1073: Jacobi $B5-9f$O(B Legendre $B5-9f$N@Q$GDj5A$5$l$k(B ($B=iEy@0?tO@$NK\;2>H(B).
                   1074: @item
                   1075:  $B$3$N4X?t$O(B machine int $B$NHO0O$G(B jacobi $B5-9f$r7W;;$9$k(B.
                   1076: @end itemize
                   1077:
                   1078: @example
                   1079: [1286] small_jacobi(2,3);
                   1080: -1
                   1081: [1287] small_jacobi(2,7);
                   1082: 1
                   1083: @end example
                   1084:
                   1085: @table @t
                   1086: @item $B;2>H(B
                   1087: http://members.jcom.home.ne.jp/yokolabo/asirlib/
                   1088: $B$b8+$F$M(B.
                   1089: @end table
                   1090:
                   1091: @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
                   1092: @noindent
                   1093: ChangeLog
                   1094: @itemize @bullet
1.13      takayama 1095: @item $B$3$N4X?t$NM3Mh$OITL@(B.
                   1096: @end itemize
                   1097:
                   1098:
1.20      takayama 1099: @node flatten_quote,,, $B<B83E*;EMM$N4X?t(B
                   1100: @subsection @code{flatten_quote}
                   1101: @findex flatten_quote
1.13      takayama 1102:
                   1103: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1104: @table @t
1.20      takayama 1105: @item flatten_quote(@var{q},@var{op})
1.13      takayama 1106: :: quote $B$N3g8L$r$H$j$5$k(B.
                   1107: @end table
                   1108:
                   1109: @table @var
                   1110: @item return
                   1111: Quote
                   1112: @item q
                   1113: Quote
                   1114: @item op
                   1115: $B1i;;;R$rI=$9J8;zNs(B.
                   1116: @end table
                   1117:
                   1118: @itemize @bullet
                   1119: @item
                   1120: Quote $B7?$N%G!<%?$OLZ9=B$$r$7$F$$$k(B
                   1121: ( quotetolist $B;2>H(B ).
                   1122: @code{quote_flatten()} $B$O(B, @var{q} $B$NCf$K$"$i$l$k1i;;;R(B @var{op}
                   1123: $B$N;R6!%N!<%I$rJ?Ey$K$9$k(B.
                   1124: $B$D$^$j1i;;;R(B @var{op} $B$K4X$9$k3g8L$E$1$,$"$C$?>l9g$=$l$r$9$Y$F$H$j$5$k(B.
                   1125: $B$?$H$($P(B (1+2)+(3+4) $B$H$$$&I=8=$r(B 1+2+3+4 $B$KJQ49$9$k(B.
                   1126: @item
                   1127:  $B8=:_$N<BAu$G$O(B n-ary $B$N1i;;;R$ODj5A$5$l$F$$$J$$$N$G(B,
1.20      takayama 1128:  1+2+3 $B$O<B$O(B 1+(2+3) $B$HI=8=$5$l$F$$$k(B.
                   1129:  $B$D$^$j(B + $B1i;;;R$O1&7k9gE*$G$"$k(B.
                   1130: @item  R=0; for (I=0; I<N; I++) R = R+ P[I]; $B$J$kB-$7;;$r7+$jJV$9$H(B,
                   1131:   + $B$O:87k9gE*$K$J$k(B. $B1&7k9gE*$KJQ49$9$k$K$O(B flatten_quote $B$r8F$V(B.
                   1132: @item $BL>A0$O(B quote_flatten $B$G$J$/(B flatten_quote $B$G$"$k(B.
1.13      takayama 1133: @end itemize
                   1134:
                   1135: @example
                   1136: [1288] flatten_quote(quote((1+2)+(3+4*(x+3))),"+");
                   1137: quote(1+2+3+4*(x+3))
                   1138: [1289] flatten_quote(quote( (x*y)*(p*3)-(x*y)*z),"*");
                   1139: quote(x*y*p*3-x*y*z)
                   1140: [1290] quotetolist(quote(1+2+3));
                   1141: [b_op,+,[b_op,+,[internal,1],[internal,2]],[internal,3]]
                   1142: @end example
                   1143:
                   1144: @table @t
                   1145: @item $B;2>H(B
                   1146: @ref{quotetolist}, @ref{print_tex_form}(contrib)
                   1147: @end table
                   1148:
                   1149: @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
                   1150: @noindent
                   1151: ChangeLog
                   1152: @itemize @bullet
                   1153: @item
                   1154:  $B$3$N4X?t$O(B 2004-7-7 $B$+$i(B 2004-7-8 $B$K$+$1$F(B
                   1155:  quote $B$K4X$9$kA`:n$r8&5f$9$k$?$a$K<B83E*$K=q$+$l$?(B.
                   1156:  OpenXM/fb $B$GC_@Q$5$l$?8x<0$NITMW$J3g8L$r$H$j$O$:$7(B, tex $B7A<0$KJQ49$9$k$N$K(B
                   1157:  $B1~MQ(B.
                   1158: @item
                   1159:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B
                   1160:  builtin/strobj.c 1.47,
1.14      takayama 1161:  parse/eval.c 1.35,
                   1162:  parse/parse.h 1.31,
                   1163:  parse/quote.c 1.14--1.16.
                   1164: @end itemize
                   1165:
                   1166: @node assoc,,, $B<B83E*;EMM$N4X?t(B
                   1167: @subsection @code{assoc}
                   1168: @findex assoc
                   1169:
                   1170: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1171: @table @t
                   1172: @item assoc(@var{a},@var{b})
                   1173: :: $BO"A[%j%9%H$r$D$/$k(B
                   1174: @end table
                   1175:
                   1176: @table @var
                   1177: @item return
                   1178: List
                   1179: @item a
                   1180: List
                   1181: @item b
                   1182: List
                   1183: @end table
                   1184:
                   1185: @itemize @bullet
                   1186: @item $B%j%9%H(B @var{a}, @var{b} $B$h$j(B
                   1187: [[@var{a}[0],@var{b}[0]], [@var{a}[1],@var{b}[1]], ...]
                   1188: $B$J$k?7$7$$%j%9%H$r@8@.$9$k(B.
                   1189: @end itemize
                   1190:
                   1191: $B2<$NNc$G$O(B @code{A} $B$KF0J*$NL>A0$,(B,
                   1192: @code{B} $B$KB-$NK\?t$,F~$C$F$$$k(B.
                   1193: @code{assoc(A,B)} $B$GF0J*$HB-$NK\?t$r%Z%"$K$7$?%j%9%H$r@8@.$9$k(B.
                   1194:
                   1195: @example
                   1196: [1192]  A=["dog","cat","snake"];
                   1197: [dog,cat,snake]
                   1198: [1193] B=[4,4,0];
                   1199: [4,4,0]
                   1200: [1194] assoc(A,B);
                   1201: [[dog,4],[cat,4],[snake,0]]
                   1202: @end example
                   1203:
                   1204: @table @t
                   1205: @item $B;2>H(B
                   1206: @ref{cons}, @ref{append}
                   1207: @end table
                   1208:
                   1209: @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
                   1210: @noindent
                   1211: ChangeLog
                   1212: @itemize @bullet
                   1213: @item
                   1214:  $B$3$N4X?t$O(B 2004-6-28 $B$K=q$+$l$?(B.
                   1215:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B
                   1216:  builtin/list.c 1.9
1.13      takayama 1217:  parse/eval.c 1.35,
                   1218:  parse/parse.h 1.31,
                   1219:  parse/quote.c 1.14--1.16.
1.12      takayama 1220: @end itemize
1.13      takayama 1221:
1.15      takayama 1222:
                   1223: @node sprintf,,, $B<B83E*;EMM$N4X?t(B
                   1224: @subsection @code{sprintf}
                   1225: @findex sprintf
                   1226:
                   1227: @table @t
                   1228: @item sprintf(@var{format}[,@var{args}])
                   1229: :: C $B$K;w$?%W%j%s%H4X?t(B
                   1230: @end table
                   1231:
                   1232: @table @var
                   1233: @item return
                   1234: $BJ8;zNs(B
                   1235: @item format
                   1236: $BJ8;zNs(B
                   1237: @item args
                   1238: $B%*%V%8%'%/%H(B
                   1239: @end table
                   1240:
                   1241: @itemize @bullet
                   1242: @item
                   1243: $B%U%)!<%^%C%HJ8;zNs(B @var{format } $B$K$7$?$,$$(B @var{args} $B$rJ8;zNs$KJQ49$9$k(B.
                   1244: @item
                   1245: $B%U%)!<%^%C%HJ8;zNs$NCf$K(B @code{%a} (any) $B$,MxMQ2DG=(B.
                   1246: @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.
                   1247: @end itemize
                   1248:
                   1249: @example
                   1250: [0] sprintf("%a: rat = %a",10,x^2-1);
                   1251:   10: rat = x^2-1
                   1252: @end example
                   1253:
                   1254: @table @t
                   1255: @item $B;2>H(B
                   1256: @ref{rtostr}
                   1257: @end table
                   1258:
                   1259: @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
                   1260: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1261: @noindent
                   1262: ChangeLog
                   1263: @itemize @bullet
                   1264: @item
                   1265:  $B$3$N4X?t$O(B 2004-7-13 $B$K%3%_%C%H$5$l$?(B.
                   1266:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/strobj (1.50) $B$G$"$k(B.
                   1267: @item
                   1268:  @code{%a} $B$O(B Maple $B$N(B sprintf $B$N??;w$+(B.
                   1269: @end itemize
                   1270:
                   1271:
                   1272: @node quote_to_funargs,,, $B<B83E*;EMM$N4X?t(B
                   1273: @subsection @code{quote_to_funargs}, @code{funargs_to_quote}, @code{remove_paren}
                   1274: @findex quote_to_funargs
                   1275: @findex funargs_to_quote
                   1276: @findex remove_paren
                   1277:
                   1278: @table @t
                   1279: @item quote_to_funargs(@var{q})
                   1280: ::  quote $B$r(B funarg $B7A<0(B($B%j%9%H(B) $B$X(B.
                   1281: @item funargs_to_quote(@var{f})
                   1282: ::  funarg $B7A<0$r(B quote $B$X(B.
1.19      takayama 1283: @item get_function_name(@var{f})
                   1284: ::  funarg $B7A<0$N(B op $B$rJ8;zNs$X(B.
1.15      takayama 1285: @item remove_paren(@var{q})
                   1286: ::  $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)
                   1287: @end table
                   1288:
                   1289: @table @var
                   1290: @item return
                   1291: quote(funargs_to_quote, remove_paren) $B$+(B $B%j%9%H(B(quote_to_funargs)
                   1292: @item q
                   1293: quote
                   1294: @item f
                   1295: $B%j%9%H(B
                   1296: @end table
                   1297:
                   1298: @itemize @bullet
                   1299: @item
                   1300:  @code{quote_to_funargs} $B$O(B quote $B7?$N%G!<%?(B ($BFbItE*$K$O(B FNODE) $B$r(B
                   1301: quote $B$X$NI|852DG=$J7A$G%j%9%H$XJQ49$9$k(B.
                   1302: @code{quotetolist} $B$O(B quote $B$r%j%9%H$XJQ49$9$k$,(B, $B0lIt$N>pJs$r<N$F$k$?$a(B
                   1303: $B$b$H$N(B quote $B$NI|85$O$G$-$J$$(B.
                   1304: @item
1.19      takayama 1305:  @code{quote_to_funargs} $B$NLa$jCM$O(B [fid, op, arg1, arg2, ...]
                   1306: $B$J$k7A<0$r$7$F$$$k(B.
                   1307: $B$3$3$G(B op $B$O(B node $B$NL>A0$G$"$j(B,
                   1308: $B4X?t(B @code{get_function_name} $B$rMQ$$$F?M4V$,FI$a$k7A<0(B
                   1309: $B$G<h$j$@$;$k(B.
                   1310: $B$?$H$($P(B @code{get_function_name(quote_to_funargs(quote(1+2))[1])}
                   1311: $B$O(B "+" $B$rLa$9(B.
                   1312: @item
                   1313:  $BL>A0(B@code{get_function_name} $B$O$=$N$&$AJQ99$5$l$k$@$m$&(B.
1.15      takayama 1314: @item
                   1315:  $B2<$NNc$G(B
                   1316:  quote_to_funargs(FA[2]);
                   1317: [34,[b_op,+,[internal,x],[internal,1]]]
1.19      takayama 1318: $B$H$J$k(B.
                   1319: 34 $B$O(B @code{I_PAREN} $B$r0UL#$9$k(B.
                   1320: $B?t$H0UL#$NBP1~I=$O(B @code{OpenXM/src/asir-contrib/packages/src/noro_simplify.rr}
                   1321: $B$^$?$O(B @code{OpenXM_contrib2/asir2000/parse/parse.h} $B$r8+$h(B.
                   1322: $B0J2<$N(B fid $B$,(B 0, 1, 2, ... $B$KBP1~$E$1$i$l$F$$$k(B.
                   1323:         I_BOP, I_COP, I_AND, I_OR, I_NOT, I_CE,
                   1324:         I_PRESELF, I_POSTSELF,
                   1325:         I_FUNC, I_FUNC_OPT, I_IFUNC, I_MAP, I_RECMAP, I_PFDERIV,
                   1326:         I_ANS, I_PVAR, I_ASSPVAR,
                   1327:         I_FORMULA, I_LIST, I_STR, I_NEWCOMP, I_CAR, I_CDR, I_CAST,
                   1328:         I_INDEX, I_EV, I_TIMER, I_GF2NGEN, I_GFPNGEN, I_GFSNGEN,
                   1329:         I_LOP, I_OPT, I_GETOPT, I_POINT, I_PAREN, I_MINUS,
                   1330:         I_NARYOP
1.15      takayama 1331: @end itemize
                   1332:
                   1333: $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.
                   1334: @example
                   1335: [0] ctrl("print_quote",1) $
                   1336:
                   1337: [1] Q=quote((x+1)+(x+2));
                   1338: [b_op,+,[u_op,(),[b_op,+,[internal,x],[internal,1]]],
                   1339:         [u_op,(),[b_op,+,[internal,x],[internal,2]]]]
                   1340:
                   1341: [2] FA=quote_to_funargs(Q);
                   1342: [0,<...quoted...>,
                   1343:   [u_op,(),[b_op,+,[internal,x],[internal,1]]],
                   1344:   [u_op,(),[b_op,+,[internal,x],[internal,2]]]]
                   1345:
                   1346: [3] FA2=quote_to_funargs(FA[2])[1];
                   1347: [b_op,+,[internal,x],[internal,1]]
                   1348:
                   1349: [4] FA3=quote_to_funargs(FA[3])[1];
                   1350: [b_op,+,[internal,x],[internal,2]]
                   1351:
                   1352: [5] funargs_to_quote([FA[0],FA[1],FA2,FA3]);
                   1353: [b_op,+,[b_op,+,[internal,x],[internal,1]],
                   1354:         [b_op,+,[internal,x],[internal,2]]]
                   1355: @end example
                   1356:
                   1357: $B<!$NNc$O(B OpenXM/asir-contrib $BHG$N(B asir $B$G<B9T(B.
                   1358: @example
                   1359: [1287] load("noro_simplify.rr");
                   1360: 1
                   1361: [1293] noro_simplify.remove_paren(quote( f(1-(x))));
                   1362: quote(f(1-x))
                   1363: @end example
                   1364:
1.19      takayama 1365: funargs_to_quote $B$rMQ$$$F4{B8$N(B quote $B$N;R6!$rCV$-49$($F(B
                   1366: $B?7$7$$(B quote $B$r$D$/$j=P$;$k(B.
                   1367: @example
                   1368: [1184] R=quote_to_funargs(quote(a+(b+c)));
                   1369: [0,<...quoted...>,<...quoted...>,<...quoted...>]
                   1370: [1185] T=quote_to_funargs(quote(1+2));
                   1371: [0,<...quoted...>,<...quoted...>,<...quoted...>]
                   1372: [1186] funargs_to_quote([0,R[1],R[2],T[2]]);
                   1373: quote(a+1)
                   1374: @end example
                   1375:
1.15      takayama 1376: @table @t
                   1377: @item $B;2>H(B
                   1378: @ref{quotetolist}
                   1379: @end table
                   1380:
1.17      takayama 1381:
1.15      takayama 1382: @noindent
                   1383: ChangeLog
                   1384: @itemize @bullet
                   1385: @item
                   1386:  $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
                   1387:  $B$N<B83E*4X?t$G$"$k(B.
                   1388:  $BJQ99$r$&$1$?%=!<%9%3!<%I$OB?4t$K$o$?$k$N$G$^$@=q$+$J$$(B.
                   1389: @item
                   1390:  $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.
                   1391: @item
                   1392:  2004-6-26 $B$N7W;;Be?t%;%_%J!<$K$*$$$F(B, $BCf@n$5$s$,(B simplifier $B$K$D$$$F$$$m$$$mLdBjDs5/(B
                   1393: $B$r$7$?(B ($B7W;;Be?t%;%_%J!<%S%G%*;2>H(B).
1.19      takayama 1394: @item parse/quote.c $B$N(B {\tt strcut fid_spec fid_spec_tab[] }
                   1395: $B$NItJ,$K=q$$$F$"$k7A<0$K(B @code{funargs_to_quote} $B$OJQ49$9$k(B.
1.17      takayama 1396: @end itemize
                   1397:
                   1398: @node set_secure_flag,,, $B<B83E*;EMM$N4X?t(B
                   1399: @subsection @code{set_secure_flag}, @code{set_secure_mode}
                   1400: @findex set_secure_flag
                   1401: @findex set_secure_mode
                   1402:
                   1403: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1404: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1405: @table @t
                   1406: @item set_secure_flag(@var{fname},@var{m})
                   1407: @itemx set_secure_mode(@var{m})
                   1408: :: $B4X?t$N<B9T8"8B$r@_Dj$9$k(B.  (web $B%5!<%S%9MQ(B)
                   1409: @end table
                   1410:
                   1411: @table @var
                   1412: @item return
                   1413: $B@0?t(B
                   1414: @item fname
                   1415: $BJ8;zNs(B
                   1416: @item m
                   1417: $B@0?t(B
                   1418: @end table
                   1419:
                   1420: @itemize @bullet
1.18      takayama 1421: @item @code{set_secure_flag}, @code{set_secure_mode} $B$O(B
                   1422: asir $B$r(B web $B%5!<%PEy$G8x3+$9$k$?$a$K2C$($i$l$?4X?t(B.
                   1423: @code{set_secure_flag} $B$G8x3+$9$k4X?t$r;XDj$9$k(B.
1.17      takayama 1424: @code{secure_mode} $B$,(B 1 $B$N>l9g$O(B @code{set_secure_flag} $B$G;XDj$5$l$?(B
                   1425: $B4X?t$7$+<B9T$G$-$J$$(B.
1.18      takayama 1426: $B4X?t$N<B9TESCf$G$O(B @code{secure_mode} $B$,(B 0 $B$H$J$C$F$$$k$N$G(B,
1.17      takayama 1427: $BG$0U$N4X?t$r<B9T$G$-$k(B.
                   1428: $B$^$?%(%i!<$N;~Ey$O(B, @code{secure_mode} $B$O(B 1 $B$K<+F0E*$KI|5"$9$k(B.
                   1429: $B$?$@$7(B @code{def} $B$O<B9T$G$-$J$$(B.
                   1430: $B8x3+$9$k4X?t$G$O(B, $B$=$N=hM}Cf$OG$0U$N4X?t$,<B9T$G$-$k$N$G(B,
                   1431: security $B$K==J,Cm0U$7$?<BAu$r$9$kI,MW$,$"$k(B.
                   1432: @item
                   1433: @code{set_secure_flag} $B$O(B, @var{fname} $B$N(B secure flag $B$r(B @var{m}
                   1434: $B$K$9$k(B.
1.18      takayama 1435: $B8x3+$9$kL?Na$O(B 1 $B$K@_Dj$9$k(B.
1.17      takayama 1436: @item
                   1437: @var{set_secure_mode(1)} $B$G(B @code{secure_mode} $B$,(B 1 $B$H$J$j(B,
                   1438: $B8x3+$5$l$?4X?t$7$+<B9T$G$-$J$/$J$k(B.
                   1439: quit $BEy$b<B9T$G$-$J$$$N$GCm0U(B.
1.18      takayama 1440: @item  @code{ timer } $B$N0z?t$H$7$F(B secure_flag $B$r@_Dj$7$F$$$J$$4X?t$r(B
                   1441: $B;XDj$7$F<B9T$7$F$b%(%i!<$,I=<($5$l$J$$(B.
                   1442: $B$3$N$H$-$O(B, @code{ ctrl("error_in_timer",1) } $B$r<B9T$7$F$*$/(B.
1.17      takayama 1443: @end itemize
                   1444:
                   1445: @example
                   1446: [1194] set_secure_flag("print_input_form_",1);
                   1447: 1
                   1448: [1195] set_secure_flag("fctr",1);
                   1449: 1
                   1450: [220] set_secure_mode(1);
                   1451: 1
                   1452: [1197] fctr((x-1)^3);
                   1453: [[1,1],[x-1,3]]
                   1454: [1198] fctr(shell("ls"));
                   1455: evalf : shell not permitted
                   1456: return to toplevel
                   1457: @end example
                   1458:
                   1459: @table @t
                   1460: @item $B;2>H(B
                   1461: @ref{timer}
                   1462: @end table
                   1463:
                   1464: @noindent
                   1465: ChangeLog
                   1466: @itemize @bullet
1.18      takayama 1467: @item @code{set_secure_flag}, @code{set_secure_mode} $B$O(B asir $B$r(B
                   1468: web $B%5!<%PEy$G8x3+$9$k$?$a$K2C$($i$l$?4X?t(B.
                   1469: sm1 $B$NF1MM$J4X?t(B RestrictedMode $B$G:NMQ$5$l$?J}K!$rMQ$$$F$$$k(B.
                   1470: $B$D$^$j(B, @code{set_secure_flag} $B$G8x3+$9$k4X?t$r;XDj$9$k(B.
                   1471: @code{secure_mode} $B$,(B 1 $B$N>l9g$O(B @code{set_secure_flag} $B$G;XDj$5$l$?(B
                   1472: $B4X?t$7$+<B9T$G$-$J$$(B.
                   1473: v$B4X?t$N<B9TESCf$G$O(B @code{secure_mode} $B$,(B 0 $B$H$J$C$F$$$k$N$G(B,
                   1474: $BG$0U$N4X?t$r<B9T$G$-$k(B.
1.17      takayama 1475: @item $B$3$N4X?t$O(B 2004-10-27 $B$+$i(B 2004-11-22 $B$K$+$1$F3+H/$5$l$?(B.
                   1476: @item cgiasir.sm1, cgi-asir.sh $B$HAH$_9g$o$;$F(B cgi $B%5!<%S%9$rDs6!$9$k$?$a$K(B
                   1477: $BMxMQ$9$k(B.
                   1478: cgi-asir.sh $B$G$O(B
                   1479: @code{CGI_ASIR_ALLOW} $B4D6-JQ?t$G8x3+$9$k%3%^%s%I$r;XDj$9$k(B.
                   1480: @item
                   1481:   1.24--1.25      OpenXM_contrib2/asir2000/builtin/miscf.c
                   1482: @item
                   1483:   1.36--1.38      OpenXM_contrib2/asir2000/parse/eval.c
                   1484: @item
                   1485:   1.6--1.7       OpenXM_contrib2/asir2000/parse/function.c
                   1486: @item
                   1487:   1.33      OpenXM_contrib2/asir2000/parse/parse.h
1.15      takayama 1488: @end itemize
1.21      takayama 1489:
1.22      takayama 1490: @node initialize_static_variable,,, $B<B83E*;EMM$N4X?t(B
                   1491: @subsection @code{initialize_static_variable}
                   1492: @findex initialize_static_variable
1.21      takayama 1493:
                   1494:
                   1495: @comment --- $B@bL@(B ---
                   1496: @table @t
1.22      takayama 1497: @item static $BJQ?t$N=i4|2=$NLdBjE@(B. $B=i4|2=$N;~$K(B segmentation fault $B$,$*$-$k(B.
1.21      takayama 1498: @end table
                   1499:
                   1500:
                   1501: @itemize @bullet
                   1502: @item static $BJQ?t$N<h07(B.
                   1503: $B2<$NNc$r;2>H$N$3$H(B.
                   1504: @end itemize
                   1505:
                   1506:
                   1507: @example
                   1508: if (1) @{
                   1509:  module abc;
                   1510:  static A;
                   1511:  A=1;
                   1512:  endmodule;
                   1513: @} else @{ @};
                   1514:
                   1515: end$
                   1516: $B$r(B t.rr $B$H$9$k$H$-(B,
                   1517:
                   1518: [6] load("./t.rr");
                   1519: 1
                   1520: internal error (SEGV)
                   1521: $B$H$J$k(B.
                   1522:
                   1523: t.rr $B$r(B
                   1524: if (1) @{
                   1525:  module abc;
                   1526:  static A;
                   1527:  localf initA;
                   1528:  localf foo;
                   1529:  def initA() @{
                   1530:    A=1;
                   1531:  @}
                   1532:  initA();
                   1533:  def foo() @{
                   1534:    return A;
                   1535:  @}
                   1536:  endmodule;
                   1537: @} else @{ @};
                   1538:
                   1539: end$
                   1540: $B$H$9$k$H@5$7$/=i4|2=$5$l$k(B.
                   1541: @end example
                   1542:
                   1543: @comment --- ChangeLog
                   1544: @noindent
                   1545: ChangeLog
                   1546: @itemize @bullet
                   1547: @item  oxasir-win.rr $B$N<h07$GLdBjE@$H$7$FIb>e(B.  2005.07.25.
1.22      takayama 1548: @item  oxasir-win.rr $B$N<h07$G(B double quote $B$N<h$j07$$$KLdBj$,$"$C$?$,(B, $B$3$l$O(B asir2000/io/ox_asir.c, 1.58, $B$GLdBjE@2r7h(B.
1.21      takayama 1549: @item ox_asir $B$K7W;;$r0MMj$9$k;~$O(B if (1) @{ ... @}$B$G0O$`(B.
                   1550: @end itemize
                   1551:
1.23      takayama 1552: @node eval_quote,,, $B<B83E*;EMM$N4X?t(B
                   1553: @subsection @code{eval_quote}
                   1554: @findex eval_quote
                   1555:
                   1556: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1557: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1558: @table @t
                   1559: @item eval_quote(@var{Q});
                   1560: :: quote $B7?%G!<%?(B @var{Q} $B$r(B asir $B$N%*%V%8%'%/%H$KJQ49$9$k(B.
                   1561: @end table
                   1562:
                   1563: @table @var
                   1564: @item return
                   1565: $B%*%V%8%'%/%H(B
                   1566: @item Q
                   1567: quote$B7?(B
                   1568: @end table
                   1569:
                   1570: @itemize @bullet
                   1571: @item quote $B7?%G!<%?(B @var{Q} $B$r(B asir $B$N%*%V%8%'%/%H$KJQ49$9$k(B.
                   1572: @item $B5U4X?t$O(B @code{objtoquote}
                   1573: @end itemize
                   1574:
                   1575: @example
                   1576: ctrl("print_quote",2);
                   1577: A=quote((x-1)^2+(x-1)+3);
                   1578:      $B=PNO(B: ((((x)-(1))^(2))+((x)-(1)))+(3)
                   1579: eval_quote(A);
                   1580:      $B=PNO(B: x^2-x+3
                   1581: print_input_form(A);     /* asir-contrib */
                   1582:      $B=PNO(B: quote((x-1)^2+(x-1)+3)
                   1583: @end example
                   1584:
                   1585: @table @t
                   1586: @item $B;2>H(B
                   1587: @ref{objtoquote}, @ref{quotetolist}, @ref{eval_string},
                   1588: @ref{quote_to_funargs}, @ref{funargs_to_quote}
                   1589: @end table
                   1590:
                   1591: @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
                   1592: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1593: @noindent
                   1594: ChangeLog
                   1595: @itemize @bullet
                   1596: @item  -----$B$^$@=q$$$F$J$$(B.
                   1597: @end itemize
                   1598:
                   1599:
                   1600: @node nqt_match,,, $B<B83E*;EMM$N4X?t(B
                   1601: @subsection @code{nqt_match}
                   1602: @findex nqt_match
                   1603:
                   1604: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1605: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1606: @table @t
                   1607: @item nqt_match(@var{Expr},@var{Pattern}[,@var{Mode}])
                   1608: :: @var{Expr} $B$,(B @var{Pattern} $B$K%^%C%A(B($BE,9g(B)$B$9$k$H(B 1 $B$rLa$9(B. $B$7$J$$$H(B 0 $B$rLa$9(B.
                   1609: @end table
                   1610:
                   1611: @table @var
                   1612: @item return
                   1613: $B@0?t(B
                   1614: @item Expr
                   1615: quote$B7?(B
                   1616: @item Pattern
                   1617: quote$B7?(B
                   1618: @item Mode
                   1619: $B@0?t(B
                   1620: @end table
                   1621:
                   1622: @itemize @bullet
                   1623: @item  @var{Expr} $B$,(B @var{Pattern} $B$K%^%C%A(B($BE,9g(B)$B$9$k$H(B 1 $B$rLa$9(B. $B$7$J$$$H(B 0 $B$rLa$9(B.
                   1624: @item $BE,9g$7$?>l9g(B, $BI{:nMQ$H$7$F(B, @var{Pattern} $B$K4^$^$l$k%W%m%0%i%`JQ?t(B($BBgJ8;z$G$O$8$^$kJQ?t(B)$B$KE,9g$7$?CM$,BeF~$5$l$k(B.
                   1625: @item nqt $B$O(B normalized quote $B$NN,$G$"$j(B fnode$BI8=`7A$KJQ49$7$F$+$iE,9g8!::$r$9$k(B.  fnode$BI8=`7A$K$D$$$F$O(B @ref{qt_normalize} $B$r8+$h(B.
                   1626: @item @var{Mode} $B$K$h$jE83+J}K!$r;XDj$7(B, $B$=$NE83+J}K!$K$h$jF@$i$l$?(B @var{Expr} $B$N(B
                   1627: fnode$BI8=`7A$H(B @var{Pattern} $B$rHf3S$9$k(B.
                   1628: @end itemize
                   1629:
                   1630: @example
                   1631: ctrl("print_quote",2);
                   1632: A=quote((x-y)*(x+y));
                   1633: nqt_match(A,quote(P*Q));
                   1634: [P,Q]
                   1635:     $B=PNO(B:  [x-y, x+y]
                   1636: nqt_match(A,quote(P*Q),1);
                   1637:     $B%^%C%A$7$J$$(B.
                   1638: nqt_match(A,quote(P*Q),2);
                   1639:     $B%^%C%A$7$J$$(B.
                   1640: qt_normalize(A,1);
                   1641:     $B=PNO(B:  ((x)^(2))+((x)*(y))+((-1)*((y)^(2)))+((-1)*(y)*(x))
                   1642: qt_normalize(A,2);
                   1643:     $B=PNO(B:  ((x)*(x))+((x)*(y))+((-1)*(y)*(x))+((-1)*(y)*(y))
                   1644: @end example
                   1645:
                   1646: @table @t
                   1647: @item $B;2>H(B
                   1648: @ref{nqt_match_rewrite},
                   1649: @ref{qt_rewrite}
                   1650: @end table
                   1651:
                   1652: @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
                   1653: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1654: @noindent
                   1655: ChangeLog
                   1656: @itemize @bullet
                   1657: @item  ----- $B$^$@=q$$$F$J$$(B.
                   1658: @end itemize
                   1659:
                   1660:
                   1661: @node nqt_match_rewrite,,, $B<B83E*;EMM$N4X?t(B
                   1662: @subsection @code{nqt_match_rewrite}
                   1663: @findex nqt_match_rewrite
                   1664:
                   1665: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1666: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1667: @table @t
                   1668: @item nqt_match_rewrite(@var{Expr},@var{Rule},@var{Mode})
                   1669: :: @var{Expr} $B$r(B @var{Rule} $B$K=>$$=q$-49$($k(B.
                   1670: @end table
                   1671:
                   1672: @table @var
                   1673: @item return
                   1674: quote$B7?(B
                   1675: @item Expr
                   1676: quote$B7?(B
                   1677: @item Rule
                   1678: [@var{Pattern},@var{Action}] $B$+$^$?$O(B
                   1679: [@var{Pattern},@var{Condition},@var{Action}].
                   1680: $B$3$l$i$NMWAG$O$9$Y$F(B quote$B7?(B.
                   1681: @item Mode
                   1682: $B@0?t(B
                   1683: @end table
                   1684:
                   1685: @itemize @bullet
                   1686: @item @var{Expr} $B$r(B @var{Rule} $B$K=>$$=q$-49$($k(B. @var{Pattern} $B$KE,9g$7$J$$>l9g$O(B
                   1687: @var{Exprt} $B<+BN$rLa$9(B.
                   1688: @item nqt $B$O(B normalized quote $B$NN,$G$"$j(B fnode$BI8=`7A$KJQ49$7$F$+$iE,9g8!::$r$9$k(B.  fnode$BI8=`7A$K$D$$$F$O(B @ref{qt_normalize} $B$r8+$h(B.
                   1689: @end itemize
                   1690:
                   1691: @comment %%Doc: cfep/tests/2006-03-12-qt.rr
                   1692: @example
                   1693: ctrl("print_quote",2);
                   1694: nqt_match_rewrite(`x*y*z,[`X*Y,`X+Y],1);
                   1695:    $B=PNO(B: (x)+((y)*(z))
                   1696: A=`x*x;
                   1697: nqt_match_rewrite(A,[`X*Y,`X+Y],1);
                   1698:    $B=PNO(B: x^2   ($B%^%C%A$7$F$$$J$$(B)
                   1699: nqt_match_rewrite(A,[`X*Y,`X+Y],2);
                   1700:    $B=PNO(B: 2*x
                   1701:
                   1702: $BE,9g$K$D$$$F$N%b!<%I$N0c$$$rM}2r$9$k$?$a$K<!$NNc$*$h$S(B fnode$BI8=`7A(B(qt_normalize) $B$r;2>H(B.
                   1703: quotetolist(qt_normalize(`x*x,0));
                   1704:     $B=PNO(B:  [b_op,^,[internal,x],[internal,2]]
                   1705: quotetolist(qt_normalize(`x*x,1));
                   1706:     $B=PNO(B:  [b_op,^,[internal,x],[internal,2]]
                   1707: quotetolist(qt_normalize(`x*x,2));
                   1708:     $B=PNO(B:  [n_op,*,[internal,x],[internal,x]]
                   1709: @end example
                   1710:
                   1711: @table @t
                   1712: @item $B;2>H(B
                   1713: @ref{nqt_match},
                   1714: @ref{qt_rewrite},
                   1715: @ref{qt_normalize}
                   1716: @end table
                   1717:
                   1718: @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
                   1719: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1720: @noindent
                   1721: ChangeLog
                   1722: @itemize @bullet
                   1723: @item   -----$B$^$@=q$$$F$J$$(B.
                   1724: @end itemize
                   1725:
                   1726:
                   1727:
                   1728: @node qt_normalize,,, $B<B83E*;EMM$N4X?t(B
                   1729: @subsection @code{qt_normalize}
                   1730: @findex qt_normalize
                   1731:
                   1732: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1733: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1734: @table @t
                   1735: @item qt_normalize(@var{Expr}[,@var{Mode}])
                   1736: :: @var{Expr} $B$r(B fnode$BI8=`7A$KJQ49$9$k(B. @var{Mode}$B$K$h$jI8=`7A$X$NE83+%"%k%4%j%:%`$r;XDj$G$-$k(B.
                   1737: @end table
                   1738:
                   1739: @table @var
                   1740: @item return
                   1741: quote$B7?(B
                   1742: @item Expr
                   1743: quote$B7?(B
                   1744: @item Mode
                   1745: $B@0?t(B
                   1746: @end table
                   1747:
                   1748: fnode$B$O(B quote$B7?$N<BBN$G$"$k(B.
                   1749: fnode $B$OLZ$G$"$j(B, $B7?(B id $B$*$h$S;R6!$+$i$J$k(B.
                   1750: $B7?$*$h$S;R6!$r<h$j=P$94X?t$,(B funargs_to_quote $B$G$"$k(B.
                   1751: $B$^$?(B fnode $B$r%j%9%H$KJQ49$9$k4X?t$,(B quotetolist $B$G$"$k(B.
                   1752:
                   1753: fnode $B$NI8=`7A$O%Q%?!<%s%^%C%A%s%0(B, $B=q$-49$($rMF0W$K$*$3$J$&$?$a$KF3F~$5$l$?(B.
                   1754: fnode $B$NI8=`7A$r(B fn $B$H=q$/$H$-(B, $BI8=`7A$N(B BNF$BIwI=8=$G$NDj5A$O0J2<$N$H$*$j(B.
                   1755: @example
                   1756:  fn           = formula | functor(nf [,...]) | sum_of_monom
                   1757:      fnode $B$NI8=`7A(B.  functor $B$O4X?t$h$S$@$7$_$?$$$J$b$N(B.
                   1758:  sum_of_monom = monom [+ ...]
                   1759:      $B%b%N%_%"%k$NOB(B
                   1760:  monom        = [formula *] nfpow [* ...]
                   1761:      $B%b%N%_%"%k(B
                   1762:  nfpow        = nf | nf^(nf)
                   1763:      $BQQ>hItJ,$NI8=`7A(B
                   1764:  formula      = Risa object
                   1765: @end example
                   1766:
                   1767:
                   1768: @itemize @bullet
                   1769: @item  @var{Expr} $B$r(B fnode$BI8=`7A$KJQ49$9$k(B. @var{Mode}$B$K$h$jI8=`7A$X$NE83+%"%k%4%j%:%`$r;XDj$G$-$k(B.
                   1770: @item $BE83+$O:F5"E*$G$"$k(B.
                   1771: @item $BF~NO$,(B fnode $B$KJQ49$5$l$?=i4|>uBV$G$O(B + $B$d(B * $B$O;R6!$,(B2$B?M$N(B binary operator
                   1772: (b_op) $B$G$"$k$,(B, qt_normalize $B$r:nMQ$5$;$k$3$H$K$h$j(B, + $B$d(B * $B$OG$0U?M?t$N(B
                   1773: $B;R6!$r;}$F$k(B n-ary operator $B$KJQ49$5$l$k(B.
                   1774: @item n-ary operator $B$r4pAC$H$7$?(B fnode$BI8=`7A$rMQ$$$k$3$H$K$h$j(B, $B%Q%?!<%s%^%C%AMQ$N%Q%?!<%s$N?t$r8:$i$;$k$3$H$,7P83E*$K$o$+$C$F$$$k(B.
                   1775: @item @var{Mode}=0. $BE83+$7$J$$(B. $B$3$l$,4{Dj$NF0:n(B.
                   1776: @item @var{Mode}=1. $BE83+$9$k(B. $B$?$@$7(B x*x $BEy$r(B x^2 $BEy$KJQ49(B
                   1777: @item @var{Mode}=2. $BE83+$9$k(B. $B$?$@$7(B x*x $BEy$r(B x^2 $BEy$KJQ49$7$J$$(B.
                   1778: @end itemize
                   1779:
                   1780: @var{Mode} $B$N0c$$$K$D$$$F$O0J2<$NNc$b;29M$K(B.
                   1781: @comment %%cfep/tests/2006-03-12-qt.rr
                   1782: @example
                   1783: ctrl("print_quote",2);
                   1784: A=quote((x-y)*(x+y));
                   1785:    $B=PNO(B:  ((x)-(y))*((x)+(y))
                   1786: B=qt_normalize(A,0);
                   1787:    $B=PNO(B: ((x)+((-1)*(y)))*((x)+(y))  Mode=0. $BE83+$O$5$l$J$$(B. +, * $B$O(B n_op (nary-op) $B$X(B.
                   1788: quotetolist(B);
                   1789:    $B=PNO(B: [n_op,*,[n_op,+,[internal,x],[n_op,*,[internal,-1],[internal,y]]],[n_op,+,[internal,x],[internal,y]]]
                   1790:
                   1791: B=qt_normalize(A,1);
                   1792:    $B=PNO(B: ((x)^(2))+((x)*(y))+((-1)*((y)^(2)))+((-1)*(y)*(x))
                   1793:            Mode=1. $BE83+$9$k(B. +, * $B$O(B n_op (nary-op) $B$X(B. $B6R$r$^$H$a$k(B.
                   1794: quotetolist(B);
                   1795:    $B=PNO(B: [n_op,+,[b_op,^,[internal,x],[internal,2]],[n_op,*,[internal,x],[internal,y]],[n_op,*,[internal,-1],[b_op,^,[internal,y],[internal,2]]],[n_op,*,[internal,-1],[internal,y],[internal,x]]]
                   1796:
                   1797: qt_normalize(A,2);
                   1798:    $B=PNO(B: ((x)*(x))+((x)*(y))+((-1)*(y)*(x))+((-1)*(y)*(y))
                   1799:            Mode=2. $BE83+$9$k(B. +, * $B$O(B n_op (nary-op) $B$X(B. $B6R$O;H$o$J$$(B.
                   1800: quotetolist(B);
                   1801:    $B=PNO(B: [n_op,+,[b_op,^,[internal,x],[internal,2]],[n_op,*,[internal,x],[internal,y]],[n_op,*,[internal,-1],[b_op,^,[internal,y],[internal,2]]],[n_op,*,[internal,-1],[internal,y],[internal,x]]]
                   1802:
                   1803: qt_normalize(`x^2,2);
                   1804:    $B=PNO(B: (x)*(x)
                   1805:        Mode=2. $B6R$O;H$o$J$$(B. n-ary $B$N(B * $B$X(B.
                   1806: @end example
                   1807:
                   1808: @table @t
                   1809: @item $B;2>H(B
                   1810: @ref{nqt_match},
                   1811: @ref{nqt_match_rewrite},
                   1812: @ref{quotetolist},
                   1813: @ref{quote_to_funargs}
                   1814: @end table
                   1815:
                   1816: @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
                   1817: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1818: @noindent
                   1819: ChangeLog
                   1820: @itemize @bullet
                   1821: @item
                   1822: @end itemize
                   1823:
                   1824:
                   1825: @node qt_set_coef,,, $B<B83E*;EMM$N4X?t(B
                   1826: @subsection @code{qt_set_coef}
                   1827: @findex qt_set_coef
                   1828:
                   1829: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1830: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1831: @table @t
                   1832: @item qt_set_coef(@var{ParamList})
                   1833: :: $B0J2<(B @var{ParamList} $B$K8=$l$kB?9`<0JQ?t$rJQ?t$H$9$kM-M}4X?tBN$r78?t$H$9$k(B
                   1834: $BHs2D49B?9`<0$r07$&(B.
                   1835: @end table
                   1836:
                   1837: @table @var
                   1838: @item return
                   1839: $B%j%9%H(B
                   1840: @item  ParamList
                   1841: $B%j%9%H(B
                   1842: @end table
                   1843:
                   1844: @itemize @bullet
                   1845: @item $B0J2<(B @var{ParamList} $B$K8=$l$kB?9`<0JQ?t$rJQ?t$H$9$kM-M}4X?tBN$r78?t$H$9$k(B
                   1846: $BHs2D49B?9`<0$r07$&(B.
                   1847: @item $B$3$N@k8@$r$7$J$$$H78?tBN$r?t$H$9$kHs2D49B?9`<0$H$7$F7W;;$9$k(B.
                   1848: @item qt_normalize $B$*$h$S$=$N5!G=$rMQ$$$k4X?t$,$3$N5!G=$N1F6A$r<u$1$k(B.
                   1849: @item qt_comp $B4X?t$,$3$N5!G=$N1F6A$r<u$1$k(B.
                   1850: @end itemize
                   1851:
                   1852: @example
                   1853: ctrl("print_quote",2);
                   1854: qt_set_coef([a]);
                   1855: B=qt_normalize(quote((a*x+a)^2),2);
                   1856:      $B=PNO(B: ((a^2)*(x)*(x))+((2*a^2)*(x))+(a^2)
                   1857: qt_normalize(B+B,2);
                   1858:      $B=PNO(B: ((2*a^2)*(x)*(x))+((4*a^2)*(x))+(2*a^2)
                   1859: @end example
                   1860:
                   1861: @table @t
                   1862: @item $B;2>H(B
                   1863: @ref{qt_normalize}
                   1864: @end table
                   1865:
                   1866: @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
                   1867: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1868: @noindent
                   1869: ChangeLog
                   1870: @itemize @bullet
                   1871: @item -----$B$^$@=q$$$F$J$$(B.
                   1872: @end itemize
                   1873:
                   1874:
                   1875: @node qt_set_ord,,, $B<B83E*;EMM$N4X?t(B
                   1876: @subsection @code{qt_set_ord}
                   1877: @findex qt_set_ord
                   1878:
                   1879: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1880: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1881: @table @t
                   1882: @item qt_set_ord(@var{VarList})
                   1883: :: @var{VarList} $B$rJQ?t=g=x$H$9$k(B.
                   1884: @end table
                   1885:
                   1886: @table @var
                   1887: @item return
                   1888: $B%j%9%H(B
                   1889: @item VarList
                   1890: $B%j%9%H(B
                   1891: @end table
                   1892:
                   1893: @itemize @bullet
                   1894: @item @var{VarList} $B$r<-=q<0$KMQ$$$?JQ?t=g=x$r0J2<;HMQ$9$k(B.
                   1895: @item $B$3$N@k8@$r$7$J$$$H$"$kITDj85$K$D$$$F$N4{Dj$N<-=q<0=g=x(B-----$B$^$@=q$$$F$J$$(B---$B$rMQ$$$F9`$rHf3S$9$k(B.
                   1896: @var{VarList} $B$K8=$l$J$$JQ?t$K$D$$$F$O$3$N=g=x$,E,MQ$5$l$k(B.
                   1897: @item qt_normalize $B$*$h$S$=$N5!G=$rMQ$$$k4X?t$,$3$N5!G=$N1F6A$r<u$1$k(B.
                   1898: @item qt_comp $B4X?t$,$3$N5!G=$N1F6A$r<u$1$k(B.
                   1899: @end itemize
                   1900:
                   1901: @example
                   1902: ctrl("print_quote",2);
                   1903: qt_normalize(quote(x+y),2);
                   1904:      $B=PNO(B: (x)+(y)
                   1905: qt_set_ord([y,x]);
                   1906:      $B=PNO(B: [y,x,z,u,v,w,p,q,r,s,t,a,b,c,d,e,f,g, $B0J2<>JN,(B ]
                   1907: qt_normalize(quote(x+y),2);
                   1908:      $B=PNO(B: (y)+(x)
                   1909: @end example
                   1910:
                   1911: @table @t
                   1912: @item $B;2>H(B
                   1913: @ref{qt_normalize},
                   1914: @ref{nqt_comp}
                   1915: @end table
                   1916:
                   1917: @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
                   1918: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1919: @noindent
                   1920: ChangeLog
                   1921: @itemize @bullet
                   1922: @item -----$B$^$@=q$$$F$J$$(B.
                   1923: @end itemize
                   1924:
                   1925:
                   1926: @node qt_set_weight,,, $B<B83E*;EMM$N4X?t(B
                   1927: @subsection @code{qt_set_weight}
                   1928: @findex qt_set_weight
                   1929:
                   1930: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1931: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1932: @table @t
                   1933: @item qt_set_weight(@var{WeightVector})
                   1934: :: $BJQ?t$K$D$$$F(B weight $B%Y%/%H%k$r@_Dj$9$k(B.
                   1935: @end table
                   1936:
                   1937: @table @var
                   1938: @item return
                   1939: $B%j%9%H(B
                   1940: @item WeightVector
                   1941: $B%j%9%H(B
                   1942: @end table
                   1943:
                   1944: fnode f $B$N(B weight w(f) $B$O<!$N<0$G7W;;$9$k(B.
                   1945: @example
                   1946:  f $B$,MU$N>l9g$O86B'(B 0. qt_weight_vector $B$G(B weight $B$,M?$($i$l$F$$$kITDj85$K(B
                   1947:  $B$D$$$F$O$=$NCM(B.
                   1948:
                   1949:  f $B$,(Bnode$B$N>l9g$O<!$N5,B'$G:F5"E*$K$-$a$k(B.
                   1950:    w(f+g) = max(w(f),w(g))
                   1951:    w(f g) = w(f) + w(g)
                   1952:    w(f^n) = n w(f)
                   1953:    $B4X?t$K$D$$$F$O(B? -----$B$^$@=q$$$F$J$$(B.
                   1954: @end example
                   1955:
                   1956: @itemize @bullet
                   1957: @item @var{WeightVector} $B$G$^$:=g=x$NHf3S$r$7$F(B, $B$=$l$+$i(B qt_set_order $B$K$h$k=g=x(B, $B:G8e$K4{Dj$N=g=x$GHf3S$9$k(B.
                   1958: @var{WeightVector} $B$K8=$l$J$$JQ?t$K$D$$$F$N(B weight $B$O(B 0 $B$H$J$k(B.
                   1959: @item qt_normalize $B$*$h$S$=$N5!G=$rMQ$$$k4X?t$,$3$N5!G=$N1F6A$r<u$1$k(B.
                   1960: qt_normalize $B$G$NE83+$G$O(B, $B$3$N=g=x$rMQ$$$F9`$,%=!<%H$5$l$k(B.
                   1961: @item qt_comp $B$*$h$S$=$N5!G=$rMQ$$$k4X?t$,$3$N5!G=$N1F6A$r<u$1$k(B.
                   1962: @item weight $B%Y%/%H%k$K$h$k=g=xHf3S$K$D$$$F$O%0%l%V%J4pDl$N@a(B@ref{dp_gr_main}$B$b;2>H(B.
                   1963: @end itemize
                   1964:
                   1965: @example
                   1966: ctrl("print_quote",2);
                   1967: qt_set_weight([[x,-1],[y,-1]]);
                   1968:      $B7k2L(B: [[x,-1],[y,-1]]
                   1969: qt_normalize(quote( 1+(x+y)+(x+y)^2),1);
                   1970:      $B7k2L(B: (1)+(y)+(x)+((y)^(2))+((y)*(x))+((x)^(2))+((x)*(y))
                   1971: @end example
                   1972:
                   1973: @table @t
                   1974: @item $B;2>H(B
                   1975: @ref{qt_normalize},
                   1976: @ref{qt_set_ord},
                   1977: @ref{qt_set_weight},
                   1978: @ref{dp_gr_main}
                   1979: @end table
                   1980:
                   1981: @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
                   1982: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   1983: @noindent
                   1984: ChangeLog
                   1985: @itemize @bullet
                   1986: @item
                   1987: @end itemize
                   1988:
                   1989:
                   1990: @node nqt_comp,,, $B<B83E*;EMM$N4X?t(B
                   1991: @subsection @code{nqt_comp}
                   1992: @findex nqt_comp
                   1993:
                   1994: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   1995: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   1996: @table @t
                   1997: @item nqt_cmp(@var{Expr1},@var{Exprt2})
                   1998: :: @var{Expr1} $B$H(B @var{Expr2} $B$N=g=x$rHf3S$9$k(B.
                   1999: @end table
                   2000:
                   2001: @table @var
                   2002: @item return
                   2003: $B@0?t(B
                   2004: @item Expr1, Expr2
                   2005: quote$B7?(B
                   2006: @end table
                   2007:
                   2008: @itemize @bullet
                   2009: @item @var{Expr1} $B$H(B @var{Expr2} $B$N=g=x$rHf3S$9$k(B.
                   2010: @item @var{Expr1} > @var{Exprt2} $B$J$i(B 1.
                   2011: @item @var{Expr1} < @var{Exprt2} $B$J$i(B -1.
                   2012: @item @var{Expr1} = @var{Exprt2} ($B$*$J$8=g=x(B) $B$J$i(B 0.
                   2013: @end itemize
                   2014:
                   2015: @example
                   2016: ctrl("print_quote",2);
                   2017: qt_set_ord([y,x]); qt_set_weight([[x,-1],[y,-1]]);
                   2018: [nqt_comp(`x,`y), nqt_comp(`y,`x), nqt_comp(`x,`x)];
                   2019:      $B=PNO(B: [-1,1,0]
                   2020: @end example
                   2021:
                   2022: @table @t
                   2023: @item $B;2>H(B
                   2024: @ref{qt_normalize},
                   2025: @ref{qt_set_ord},
                   2026: @ref{qt_set_weight}
                   2027: @end table
                   2028:
                   2029: @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
                   2030: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   2031: @noindent
                   2032: ChangeLog
                   2033: @itemize @bullet
                   2034: @item $B$^$@=q$$$F$J$$(B.
                   2035: @end itemize
                   2036: @comment ****************************************************************
                   2037:
                   2038: @node qt_is_var,,, $B<B83E*;EMM$N4X?t(B
                   2039: @subsection @code{qt_is_var}, @code{qt_is_coef}
                   2040: @findex qt_is_var
                   2041: @findex qt_is_coef
                   2042:
                   2043: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   2044: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   2045: @table @t
                   2046: @item qt_is_var(@var{Expr})
                   2047: :: @var{Expr} $B$,ITDj85$KBP1~$9$k(B quote $B$J$i(B 1 $B$rLa$9(B.
                   2048: @item qt_is_coef(@var{Expr})
                   2049: :: @var{Expr} $B$,78?t$NM-M}4X?tBN$KB0$9$k$H$-(B 1 $B$rLa$9(B.
                   2050: @end table
                   2051:
                   2052: @table @var
                   2053: @item return
                   2054: $B@0?t(B
                   2055: @item Expr
                   2056: quote$B7?(B
                   2057: @end table
                   2058:
                   2059: @itemize @bullet
                   2060: @item  @var{Expr} $B$,ITDj85$KBP1~$9$k(B quote $B$J$i(B 1 $B$rLa$9(B.
                   2061: $B$=$&$G$J$$$H$-(B 0 $B$rLa$9(B.
                   2062: @end itemize
                   2063:
                   2064: @example
                   2065: [qt_is_var(quote(x)), qt_is_var(quote(3/2))];
                   2066:      $B=PNO(B: [1,0]
                   2067: @end example
                   2068:
                   2069: @table @t
                   2070: @item $B;2>H(B
                   2071: @ref{qt_rewrite},
                   2072: @ref{nqt_match_rewrite}
                   2073: @end table
                   2074:
                   2075: @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
                   2076: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   2077: @noindent
                   2078: ChangeLog
                   2079: @itemize @bullet
                   2080: @item -----$B$^$@=q$$$F$J$$(B.
                   2081: @end itemize
                   2082: @comment ****************************************************************
                   2083:
                   2084: @node qt_rewrite,,, $B<B83E*;EMM$N4X?t(B
                   2085: @subsection @code{qt_rewrite}
                   2086: @findex qt_rewrite
                   2087:
                   2088: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   2089: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   2090: @table @t
                   2091: @item qt_rewrite(@var{Expr},@var{Rules},@var{Mode})
                   2092: :: @var{Expr} $B$r5,B'=89g(B @var{Rules} $B$rMQ$$$F=q$-49$($k(B.
                   2093: @end table
                   2094:
                   2095: @table @var
                   2096: @item return
                   2097: quote$B7?(B
                   2098: @item Expr
                   2099: quote$B7?(B
                   2100: @item Rules
                   2101: $B%j%9%H(B
                   2102: @item Mode
                   2103: $B@0?t(B
                   2104: @end table
                   2105:
                   2106: @itemize @bullet
                   2107: @item $B%f!<%68@8l$rMQ$$$FDj5A$5$l$?4X?t(B.
                   2108: @code{import("noro_rewrite.rr")}  $B$7$F$*$/$3$H(B.
                   2109: (noro_rewrite.rr $B$,(B OpenXM/lib/asir-contrib $B$KB8:_$7$J$$>l9g(B
                   2110: $B%=!<%9$N(B OpenXM/src/asir-contrib/testing/noro/new_rewrite.rr $B$r%3%T!<(B)
                   2111: @item @var{Expr} $B$r5,B'=89g(B @var{Rules} $B$rMQ$$$F=q$-49$($k(B.
                   2112: @item $B5,B'$NE,MQ$O(B fnode$BLZ$KBP$7$F:F5"E*$G$"$k(B.
                   2113:  $B0lJ}(B @code{nqt_match_rewrite} $B$G$O%H%C%W%l%Y%k$N$_$K5,B'$,E,MQ$5$l$k(B.
                   2114: @item $B5,B'=89g(B @var{Rules} $B$N3FMWAG$N=q$-J}$O(B @code{nqt_match()} $B$N(B
                   2115: @var{Pattern} $B$HF1$8=q$-J}(B.
                   2116: $B$D$^$j(B [$B%Q%?!<%s(B, $B=q$-49$(7k2L(B] $B$^$?$O(B
                   2117: [$B%Q%?!<%s(B, $B>r7o(B, $B=q$-49$(7k2L(B].
                   2118: @item @var{Mode} $B$N0UL#$O(B @ref{qt_normalize} $B$N(B @var{Mode} $B$HF1MM(B.
                   2119: $B%Q%?!<%s%^%C%A(B, $B=q$-49$($O(B @var{Mode} $B$G(B @code{qt_normalize()}
                   2120: $B$5$l$F$+$i?k9T$5$l$k(B.
                   2121: @end itemize
                   2122:
                   2123: $BCm0U(B: $B?t3XE*$K$O(B X*Y=Y*X $B$,2D49@-$rM?$($k5,B'$@$,(B, $B$3$l$r$=$N$^$^5,B'$H$7$F(B
                   2124:            $BM?$($k$H=q$-49$($,Dd;_$7$J$$(B. $B<!$NNc$G$O(B, $B>e$NNc$N$h$&$K=g=xHf3S$7(B, $B$?$H$($P(B,
                   2125:            $B=g=x$,Bg$-$/$J$k>l9g$N$_$K=q$-49$($k$Y$-$G$"$k(B.
                   2126: @example
                   2127: import("noro_rewrite.rr");
                   2128: R=[[`X*Y,`nqt_comp(Y*X,X*Y)>0, `Y*X]];
                   2129: qt_rewrite(`(x-y)^2,R,2);
                   2130:      $B=PNO(B: quote(x*x+-2*x*y+y*y)
                   2131: @end example
                   2132:
                   2133: $B30@QBe?t$N7W;;(B (asir-contrib $B$r%m!<%I$7$?>uBV(B).
                   2134: @example
                   2135: import("noro_rewrite.rr");
                   2136: Rext0=[quote(X*Y),quote(qt_is_var(X) && qt_is_var(Y) && nqt_comp(Y,X)>0),
                   2137:                   quote(-Y*X)];
                   2138: Rext1=[quote(X^N),quote(eval_quote(N)>=2),quote(0)];
                   2139: Rext2=[quote(X*X),quote(0)];
                   2140: Rext=[Rext0,Rext1,Rext2];
                   2141: qt_rewrite(quote( (x+2*y)*(x+4*y) ), Rext,1);
                   2142:      $B=PNO(B: 2*x*y
                   2143:
                   2144: qt_set_coef([a,b,c,d]);
                   2145: qt_rewrite(quote((a*x+b*y)*(c*x+d*y)), Rext,1);
                   2146:      $B=PNO(B: (d*a-c*b)*x*y
                   2147:
                   2148: @end example
                   2149:
                   2150: $BHyJ,$N7W;;(B (asir-contrib $B$r%m!<%I$7$?>uBV(B).
                   2151: @example
                   2152: import("noro_rewrite.rr");
                   2153: qt_set_coef([a,b]);
                   2154: Rd1=[`d(X+Y), `d(X)+d(Y)];
                   2155: Rd2=[`d(X*Y),`d(X)*Y+X*d(Y)];
                   2156: Rd3=[`d(N), `qt_is_coef(N), `0];
                   2157: Rd4=[`d(x),`1];
                   2158: Rd=[Rd1,Rd2,Rd3,Rd4];
                   2159: B=qt_rewrite( `d( (a*x+b)^3),Rd,2);
                   2160:      $B=PNO(B: quote(3*a^3*x*x+6*b*a^2*x+3*b^2*a)
                   2161: fctr(eval_quote(B));
                   2162:      $B=PNO(B: [[3,1],[a,1],[a*x+b,2]]
                   2163: @end example
                   2164:
                   2165: @table @t
                   2166: @item $B;2>H(B
                   2167: @ref{nqt_match},
                   2168: @ref{nqt_match_rewrite},
                   2169: @ref{qt_normalize}
                   2170: @end table
                   2171:
                   2172: @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
                   2173: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
                   2174: @noindent
                   2175: ChangeLog
                   2176: @itemize @bullet
                   2177: @item qt $B7O$N4X?t$N867?$O(B OpenXM/src/asir-contrib/testing/tr.rr $B$G$"$k(B.
                   2178: $B$3$N%f!<%68@8l$K$h$k3+H/$,(B 2005$BG/$N=U$^$G9T$o$l(B, $B$=$N$"$HAH$_9~$_4X?t<gBN$N(B
                   2179: qt $B7O$N4X?t$,3+H/$5$l$?(B.
                   2180: @item qt $B7O$N4X?t$K$D$$$F$N$=$NB>$N;29MJ88%(B:
                   2181:   OpenXM/doc/Papers/2005-rims-noro.tex $B$*$h$S(B
                   2182:   OpenXM/doc/Papers/2005-rims-noro.tm (TeXmacs$B$N5-;v(B).
                   2183: @item Todo: qt $B7O$N4X?t$rMQ$$$?$*$b$7$m$$7W;;$r(B Risa/Asir $B%8%c!<%J%k$N5-;v$H$7$F=q$/(B.
                   2184: @end itemize
                   2185: @comment ****************************************************************
1.13      takayama 2186:
1.24    ! takayama 2187:
        !          2188: @comment ****************************************************************
        !          2189: @node asirgui.hnd,,, $B<B83E*;EMM$N4X?t(B
        !          2190: @subsection @code{asirgui.hnd}
        !          2191: @findex asirgui.hnd
        !          2192:
        !          2193: @comment --- $B4X?t$N4JC1$J@bL@(B ---
        !          2194: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
        !          2195: @table @t
        !          2196: @item asirguid.hnd
        !          2197: :: asirgui $B$N(B main window $B$N%O%s%I%kHV9f$rJ];}$9$k%U%!%$%k(B
        !          2198: @end table
        !          2199:
        !          2200:
        !          2201: @itemize @bullet
        !          2202: @item asirgui (Windows $BHG(B) $B$r5/F0$9$k$H(B asirgui.exe $B$N$"$k%U%)%k%@$*$h$S(B $B4D6-JQ?t(B TEMP $B$,Dj5A$5$l$F$$$l$P$3$N%U%!%$%k$,:n@.$5$l$k(B.
        !          2203: @item $BCf?H$O#1#0?J@0?t$G(B, asirgui $B$N(B main winodw $B$N%O%s%I%k$G$"$k(B. $B$3$N%O%s%I%k$"$F$K(B PostMessage $B$r$9$l$P(B, asuirgui $B$K%-!<%\!<%I$+$iF~NO$7$?$N$HF1MM$J8z2L$,F@$i$l$k(B.
        !          2204: @item text editor $B$G:n@.(B, $BJ]B8$7$?%U%!%$%k$r(B text editor $BB&$+$i(B asirgui $B$KFI$_9~$^$;$?$j$9$k$?$a$KMxMQ2DG=(B.
        !          2205: @end itemize
        !          2206:
        !          2207: @example
        !          2208: // Visual C++ $BMQ$N%F%9%H%W%m%0%i%`(B. $BI8=`F~NO$r(B asirgui $B$XAw$j9~$`(B.
        !          2209: // test.cpp : $B%3%s%=!<%k(B $B%"%W%j%1!<%7%g%sMQ$N%(%s%H%j(B $B%]%$%s%H$NDj5A(B
        !          2210: //
        !          2211:
        !          2212: #include "stdafx.h"
        !          2213: #include "test.h"
        !          2214: #include <windows.h>
        !          2215: #include <stdlib.h>
        !          2216: #include <stdio.h>
        !          2217: #include <fcntl.h>
        !          2218: #include <process.h>
        !          2219:
        !          2220: #ifdef _DEBUG
        !          2221: #define new DEBUG_NEW
        !          2222: #undef THIS_FILE
        !          2223: static char THIS_FILE[] = __FILE__;
        !          2224: #endif
        !          2225:
        !          2226: /////////////////////////////////////////////////////////////////////////////
        !          2227: // $BM#0l$N%"%W%j%1!<%7%g%s(B $B%*%V%8%'%/%H(B
        !          2228:
        !          2229: CWinApp theApp;
        !          2230:
        !          2231: using namespace std;
        !          2232:
        !          2233: int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
        !          2234: {
        !          2235:        int nRetCode = 0;
        !          2236:
        !          2237:        // MFC $B$N=i4|2=$*$h$S=i4|2=<:GT;~$N%(%i!<$N=PNO(B
        !          2238:        if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
        !          2239:        {
        !          2240:                // TODO: $BI,MW$K1~$8$F%(%i!<(B $B%3!<%I$rJQ99$7$F$/$@$5$$!#(B
        !          2241:                cerr << _T("Fatal Error: MFC initialization failed") << endl;
        !          2242:                nRetCode = 1;
        !          2243:        }
        !          2244:        else
        !          2245:        {
        !          2246:                // TODO: $B$3$N0LCV$K%"%W%j%1!<%7%g%s$NF0:n$r5-=R$7$F$/$@$5$$!#(B
        !          2247:                CString strHello;
        !          2248:                strHello.LoadString(IDS_HELLO);
        !          2249:                cout << (LPCTSTR)strHello << endl;
        !          2250:        }
        !          2251:        HWND hnd;
        !          2252:        FILE *fp = fopen("c:/Program Files/asir/bin/asirgui.hnd","r");
        !          2253:        fscanf(fp,"%d",&hnd);
        !          2254:        fclose(fp);
        !          2255:        while (1) {
        !          2256:                int c;
        !          2257:                c = getchar();
        !          2258:                if ( c == '#' ) break;
        !          2259:                PostMessage(hnd,WM_CHAR,c,1);
        !          2260:        }
        !          2261:        return nRetCode;
        !          2262: }
        !          2263: @end example
        !          2264:
        !          2265: @table @t
        !          2266: @item $B;2>H(B
        !          2267: @ref{xyz_abc}
        !          2268: @end table
        !          2269:
        !          2270: @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
        !          2271: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
        !          2272: @noindent
        !          2273: ChangeLog
        !          2274: @itemize @bullet
        !          2275: @item $B$3$N5!G=$O(B 2006-12-5, 2007-02-13 $B$K2C$($i$l$?(B.
        !          2276: @item @code{OpenXM_contrib2/windows/asir32gui/asir32gui.clw} 1.11
        !          2277: @item @code{OpenXM_contrib2/windows/asir32gui/asir32guiview.cpp}  1.15, 1.1.6
        !          2278: @end itemize
        !          2279: @comment ****************************************************************
        !          2280:
1.23      takayama 2281: @comment -----------  $B0J2<$O8+K\(B. $B>C$9$J(B.
1.19      takayama 2282: @comment ****************************************************************
1.8       takayama 2283: @comment --- $B"~"~"~"~(B  $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B
1.3       takayama 2284: @comment $B?7$7$$4X?t$N@bL@$r=q$/$?$a$N%F%s%W%l!<%H$G$"$k(B. $B>C$9$J(B.
1.4       takayama 2285: @comment --- $B"~"~"~"~(B  $B4X?t(B syz_pqr, xyz_stu $B$N@bL@(B $B"~"~"~"~(B
                   2286: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
                   2287: @node xyz_pqr,,, $B<B83E*;EMM$N4X?t(B
                   2288: @subsection @code{xyz_pqr}, @code{syz_stu}
                   2289: @findex xyz_pqr
                   2290: @findex xyz_stu
                   2291:
1.3       takayama 2292: @comment --- $B4X?t$N4JC1$J@bL@(B ---
                   2293: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
                   2294: @table @t
1.1       takayama 2295: @item xyz_pqr(@var{arg1},@var{arg2}[,@var{flag}])
                   2296: @itemx xyz_stu(@var{arg1},@var{arg2})
                   2297: :: xyz $B$K4X$9$kA`:n(B.
                   2298: @end table
                   2299:
                   2300: @table @var
                   2301: @item return
                   2302: $B@0?t(B
                   2303: @item arg1, arg2
                   2304: $B@0?t(B
                   2305: @item flag
                   2306: 0 $B$^$?$O(B 1
                   2307: @end table
                   2308:
                   2309: @itemize @bullet
1.3       takayama 2310: @item $B$3$N9`L\$O?7$7$$4X?t$N@bL@$r=q$/$?$a$N%F%s%W%l!<%H$G$"$k(B. $B>C$9$J(B.
1.1       takayama 2311: @item
                   2312: @code{xyz_pqr()} $B$O(B, @var{arg1}, @var{arg2} $B$r(B pqr $B$9$k(B.
                   2313: @item
                   2314: @var{flag} $B$,(B 0 $B$G$J$$$H$-(B, $B%b%8%e%i7W;;$r9T$&(B.
                   2315: @item
                   2316: @code{xyz_stu()} $B$O(B stu $B%"%k%4%j%:%`$rMQ$$$k(B.
                   2317: @end itemize
                   2318:
                   2319: @example
                   2320: [219] xyz_pqr(1,2);
                   2321: 3
                   2322: [220] xyz_pqr(1,2,1);
                   2323: 3
                   2324: 0
                   2325: [221] xyz_stu(1,2);
                   2326: 3
                   2327: @end example
                   2328:
                   2329: @table @t
                   2330: @item $B;2>H(B
                   2331: @ref{xyz_abc}
                   2332: @end table
                   2333:
1.3       takayama 2334: @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
                   2335: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
1.1       takayama 2336: @noindent
                   2337: ChangeLog
                   2338: @itemize @bullet
                   2339: @item $B$3$N4X?t$O(B 2004-3-1 $B$+$i(B 2004-3-14 $B$K$+$1$F(B $B%"%k%4%j%:%`(B xyz ($BO@J8(B
                   2340:  http://www.afo.org/xyz.pdf ) $B$rMQ$$$F=q$-D>$5$l$?(B.
                   2341:  $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B xxxyy.rr, ppp.c $B$G$"$k(B.
                   2342: @item $B$3$N4X?t$O(B 2000 $B:"$K$O$8$a$F$N%P!<%8%g%s$,=q$+$l$?(B. $B%=!<%9$O(B ppp.c $B$G$"$k(B.
                   2343: @end itemize
                   2344:
                   2345: @comment --- $B$*$^$8$J$$(B ---
                   2346: @node Index,,, Top
                   2347: @unnumbered Index
                   2348: @printindex fn
                   2349: @printindex cp
                   2350: @iftex
                   2351: @vfill @eject
                   2352: @end iftex
                   2353: @summarycontents
                   2354: @contents
                   2355: @bye
                   2356: @comment --- $B$*$^$8$J$$=*$j(B ---

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