File: [local] / OpenXM / src / asir-doc / exp / exp-ja.texi (download)
Revision 1.12, Wed Jul 7 02:58:45 2004 UTC (20 years, 1 month ago) by takayama
Branch: MAIN
Changes since 1.11: +52 -1
lines
Added a manual entry for small_jacobi.
Added a new interface number_factor() to pari(factorint,...).
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.12 2004/07/07 02:58:45 takayama Exp $
\input texinfo
@iftex
@catcode`@#=6
@def@fref#1{@xrefX[#1,,@code{#1},,,]}
@def@b#1{{@bf@gt #1}}
@catcode`@#=@other
@end iftex
@overfullrule=0pt
@c -*-texinfo-*-
@comment %**start of header
@comment --- $B$*$^$8$J$$=*$j(B ---
@comment --- GNU info $B%U%!%$%k$NL>A0(B ---
@setfilename xyzman
@comment --- $B%?%$%H%k(B ---
@settitle $B<B83E*;EMM$N4X?t(B
@comment %**end of header
@comment %@setchapternewpage odd
@comment --- $B$*$^$8$J$$(B ---
@ifinfo
@macro fref{name}
@ref{\name\,,@code{\name\}}
@end macro
@end ifinfo
@iftex
@comment @finalout
@end iftex
@titlepage
@comment --- $B$*$^$8$J$$=*$j(B ---
@comment --- $B%?%$%H%k(B, $B%P!<%8%g%s(B, $BCx<TL>(B, $BCx:n8"I=<((B ---
@title $B<B83E*;EMM$N4X?t(B
@subtitle Risa/Asir $B<B83E*;EMM4X?t@bL@=q(B
@subtitle 1.0 $BHG(B
@subtitle 2004 $BG/(B 6 $B7n(B
@author by Risa/Asir comitters
@page
@vskip 0pt plus 1filll
Copyright @copyright{} Risa/Asir committers
2004. All rights reserved.
@end titlepage
@comment --- $B$*$^$8$J$$(B ---
@synindex vr fn
@comment --- $B$*$^$8$J$$=*$j(B ---
@comment --- @node $B$O(B GNU info, HTML $BMQ(B ---
@comment --- @node $B$N0z?t$O(B node-name, next, previous, up ---
@node Top,, (dir), (dir)
@comment --- @menu $B$O(B GNU info, HTML $BMQ(B ---
@comment --- chapter $BL>$r@53N$KJB$Y$k(B ---
@comment --- $B$3$NJ8=q$G$O(B chapter XYZ, Chapter Index $B$,$"$k(B.
@comment --- Chapter XYZ $B$K$O(B section XYZ$B$K$D$$$F(B, section XYZ$B$K4X$9$k4X?t$,$"$k(B.
@menu
* Experimental Functions::
* Index::
@end menu
@comment --- chapter $B$N3+;O(B ---
@comment --- $B?F(B chapter $BL>$r@53N$K(B. $B?F$,$J$$>l9g$O(B Top ---
@node $B<B83E*;EMM$N4X?t(B,,, Top
@chapter $B<B83E*;EMM$N4X?t(B
@comment --- section $BL>$r@53N$KJB$Y$k(B. ---
@menu
* $B<B83E*;EMM$N4X?t@bL@=q$K$D$$$F(B::
* $B<B83E*;EMM$N4X?t(B::
@end menu
@comment --- section ``XYZ$B$K$D$$$F(B'' $B$N3+;O(B --- section XYZ$B$K$D$$$F$N?F$O(B chapter XYZ
@node $B<B83E*;EMM$N4X?t@bL@=q$K$D$$$F(B,,, XYZ
@section $B<B83E*;EMM$N4X?t@bL@=q$K$D$$$F(B
@comment --- $B=qBN;XDj$K$D$$$F(B ---
@comment --- @code{} $B$O%?%$%W%i%$%?BNI=<((B ---
@comment --- @var{} $B$O<P;zBNI=<((B ---
@comment --- @b{} $B$O%\!<%k%II=<((B ---
@comment --- @samp{} $B$O%U%!%$%kL>$J$I$NI=<((B ---
$B$3$N@bL@=q$G$O(B
@b{Asir} $B$KF3F~$5$l$?<B83E*;EMM$N4X?t$K$D$$$F@bL@$9$k(B.
$B@5<0$J4X?t$H$7$FF3F~$5$l$?$b$N$N5-=R$O(B Risa/Asir $B%^%K%e%"%k(B
$B$K0\F0$5$l$k(B.
ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvsweb $B$G(B
$B%=!<%9%3!<%I$rFI$`;~$N=u$1$K$J$k>pJs$,=q$+$l$F$$$k(B.
@comment --- section ``$B<B83E*4X?t(B'' $B$N3+;O(B ---
@node $B<B83E*;EMM$N4X?t(B,,, $B<B83E*;EMM$N4X?t(B
@section $B<B83E*;EMM$N4X?t(B
@comment --- section ``$B<B83E*4X?t(B'' $B$N(B subsection xyz_abc
@comment --- subsection xyz_pqr xyz_stu $B$,$"$k(B.
@menu
* quotetotex::
* quotetotex_env::
* objtoquote::
* copyright::
* string_to_tb::
* tb_to_string::
* write_to_tb::
* dp_gr_main::
* asir-port.sh::
* asir-install.sh::
* get_struct_name::
* get_element_names::
* get_element_at::
* put_element_at::
* dp_initial_term::
* dp_order::
* dp_weyl_gr_main::
* list::
* mapat::
* set_print_function::
* small_jacobi::
@end menu
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B
@comment --- $B8D!9$N4X?t$N@bL@$N3+;O(B ---
@comment --- section $BL>$r@53N$K(B ---
@node quotetotex quotetotex_env,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{quotetotex}, @code{quotetotex_env}
@comment --- $B:w0zMQ%-!<%o!<%I(B
@findex quotetotex
@findex quotetotex_env
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item quotetotex(@var{q})
:: @var{q} $B$r(B latex $B7A<0$GI=8=$7$?J8;zNs$KJQ49$9$k(B.
@item quotetotex_env(@var{key},@var{value})
:: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$rJQ99$9$k(B.
@item quotetotex_env()
:: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$N8=:_CM$rLa$9(B.
@item quotetotex_env(0)
:: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$r%G%U%)!<%k%HCM$KLa$9(B.
@end table
@comment --- $B0z?t$N4JC1$J@bL@(B ---
@table @var
@item return
$BJ8;zNs(B(quotetotex) $B$^$?$O(B $B%j%9%H$^$?$O%*%V%8%'%/%H(B(quotetotex_env)
@item q
quote
@item key
$BJ8;zNs(B
@item value
$B%*%V%8%'%/%H(B
@end table
@comment --- $B$3$3$G4X?t$N>\$7$$@bL@(B ---
@comment --- @itemize$B!A(B@end itemize $B$O2U>r=q$-(B ---
@comment --- @bullet $B$O9uE@IU$-(B ---
@itemize @bullet
@item
quotetotex $B$O(B @var{q} $B$r(B latex $B7A<0$GI=8=$7$?J8;zNs$KJQ49$9$k(B.
@item
$B0J2<(B quotetotex_env $B$N%Q%i%a!<%?$N0UL#$r@bL@$9$k(B.
@item
conv_rule: 3 $B%S%C%H$rMQ$$$FJQ49%k!<%k$r;XDj$9$k(B.
0$B%S%C%HL\$O(B symbol_table $B$K$h$kJQ49$r9T$&$+(B,
1$B%S%C%HL\$OE:;zJQ49$r9T$&$+(B,
2$B%S%C%HL\$O(B d $B$+$i;O$^$kJQ?tL>$rHyJ,:nMQAG$H$_$J$7$F=hM}$9$k$+(B,
$B$r0UL#$9$k(B.
$B$?$H$($P(B conv_rule $B$H$7$F(B 3 $B$r;XDj$9$k$H(B,
0$B%S%C%HL\(B, 1 $B%S%C%HL\$,(B 1 $B$H$J$k$N$G(B
symbol_table $B$K$h$kJQ49$r9T$$(B, $BE:;zJQ49$r$*$3$J$&(B.
$BE:;zJQ49$O?t;z$H1Q;z$N6-L\$*$h$S(B _ $B5-9f$r6h@Z$j$H$9$k(B.
symbol_table $B$K$h$kJQ49$,:G=i$KE,MQ$5$l$k(B.
alpha, beta, $BEy$O<+F0E*$r%.%j%7%cJ8;z$KJQ49$9$k%F!<%V%k$O(B
$BFbB"$:$_(B.
@item
dp_vars_prefix: $BJ,;6I=8=B?9`<0$O(B
@tex
$x_0, x_1, \cdots$
@end tex
$B$NB?9`<0$H$7$F(B latex $B7A<0$KJQ49$5$l$k$,$3$N(B
x $B$NItJ,$rJQ99$9$k(B.
@item
dp_vars_origin: $B%$%s%G%C%/%9$N;O$^$j$NCM$r;XDj$9$k(B.
$B%G%U%)!<%k%H$O(B 0.
@item
dp_vars_hweyl: $BJ,;6I=8=B?9`<0$r%o%$%kBe?t$N85$H$_$J$7$F(B
latex $B7A<0$KJQ49$9$k(B.
$B6v?t8DJQ?t$,$"$k$H$-$O(B $B:G=i$NH>J,$r(B
@tex
$x_0, x_1, \cdots$
@end tex
$B$K(B
$B8eH>$NH>J,$r(B
@tex
$\partial_0, \partial_1, \cdots$
@end tex
$B$KJQ49$9$k(B.
$B4q?t8D$N>l9g$O:G8e$NJQ?t$,F1;~2=JQ?t$H$7$F(B h $B$GI=<($5$l$k(B.
@item
dp_dvars_prefix: dp_vars_hweyl $B$,(B 1 $B$N;~$K8eH>ItJ,$N(B prefix $B$r;XDj$9$k(B.
$B%G%U%)!<%k%H$O(B @tex $\partial$ @end tex
@item
dp_dvars_origin: dp_vars_hweyl $B$,(B 1 $B$N;~$N%$%s%G%C%/%9$N;O$^$j$NCM(B.
@item
conv_func: $B%f!<%6Dj5A$NJQ494X?t$r$h$V(B.
@item
@end itemize
@comment --- @example$B!A(B@end example $B$O<B9TNc$NI=<((B ---
@example
[3] quotetotex(quote(1/(x+1)));
\frac@{ 1@} @{ ( @{x@}+ 1)@}
[4] quotetotex(objtoquote(diff(x^x,x)));
@{x@}^@{ @{x@}- 1@} @{x@}+ \log( @{x@}) @{x@}^@{ @{x@}@}
[5] quotetotex_env("conv_rule",3);
[6] quotetotex(objtoquote( (alpha2beta+x_i_j)^2));
@{\alpha@}_@{2,\beta@}^@{ 2@} + 2 @{x@}_@{i,j@} @{\alpha@}_@{2,\beta@}+ @{x@}_@{i,j@}^@{ 2@}
@end example
@comment --- $B;2>H(B($B%j%s%/(B)$B$r=q$/(B ---
@table @t
@item $B;2>H(B
@ref{objtoquote}
print_tex_form(contrib)
@end table
@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
@noindent
ChangeLog
@itemize @bullet
@item
$B$3$N4X?t$O(B 2004$BG/(B2$B7nKv$+$i(B3$B7n$K$+$1$F(B asir $B$r(B
knoppix $BHG(B texmacs $B$KBP1~$5$;$k$?$a$K=q$+$l$?(B.
Asir-contrib $B$N(B print_tex_form $B$,$=$N867?$G$"$j(B, $B$=$l$r8zN(2=$7$^$?(B
$B=PNO7A<0$r2~A1$7$?(B.
OpenXM/src/kxx/ox_texmacs.c, OpenXM/src/texmacs $B$b;2>H(B.
@item
OpenXM/src/asir-contrib/packages/src/noro_print.rr 1.1--1.8,
noro_print_default.rr 1.1--1.3 $B$b;2>H(B.
@item
$BJQ99$r<u$1$?%U%!%$%k$O(B OpenXM_contrib2/asir2000 $B$N2<$N<!$N%U%!%$%k(B.
builtin/strobj.c 1.14--1.43,
include/ca.h 1.46, io/cexpr.c 1.18, io/pexpr.c 1.32, io.sexpr.c 1.29,
parse/arith.c 1.12, parse/parse.h 1.28--1.29,
parse/quote.c 1.7--1.8, 1.12.
@item
knoppix/math $B$O(B $BJ!2,Bg3X$N_@ED$5$s$,Cf?4$H$J$j3+H/$5$l$F$$$k(B.
@item
dp_dvars_prefix, *_origin $B$O(B builtin/strobj.c 1.46 $B$GF3F~$5$l$?(B.
@item
Todo: quotetoterminalform ($BJ,;6I=8=B?9`<0$N8+0W$$=PNO(B).
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B objtoquote $B$N@bL@(B $B"~"~"~"~(B
@node objtoquote,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{objtoquote}
@findex objtoquote
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item objtoquote(@var{ob})
:: $B%*%V%8%'%/%H$H(B quote $B7?$N%G!<%?$KJQ49$9$k(B.
@end table
@table @var
@item return
quote
@item ob
$B%*%V%8%'%/%H(B
@end table
@itemize @bullet
@item
@code{objtoquote(ob)} $B$O(B, @var{ob} $B$r(B quote $B7?$N%G!<%?$KJQ49$9$k(B.
@end itemize
@example
[1150] quotetolist(quote(1+2));
[b_op,+,[internal,1],[internal,2]]
[1151] quotetolist(objtoquote(1+x));
[b_op,+,[internal,x],[internal,1]]3
@end example
@table @t
@item $B;2>H(B
@ref{quotetotex} @ref{quotetolist}
@end table
@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
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B quotetotex $B$NA0=hM}$r$9$k$?$a$K=q$+$l$?(B.
@item asir-contrib $B$N4X?t(B quote_to_quote $B$b;2>H(B.
@item OpenXM_contrib2/asir2000/builtin/print.c 1.16.
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B copyright $B$N@bL@(B $B"~"~"~"~(B
@node copyright,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{copyright}
@findex copyright
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item copyright()
:: Risa/Asir $B$N(B copyright $BI=<($rJ8;zNs$H$7$FLa$9(B.
@end table
@table @var
@item return
$BJ8;zNs(B
@end table
@itemize @bullet
@item
Risa/Asir $B$N(B copyright $BI=<($rJ8;zNs$H$7$FLa$9(B.
@end itemize
@example
[1150] copyright();
This is Risa/Asir, Version 20040312 (Kobe Distribution).
Copyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.
Copyright 2000-2003, Risa/Asir committers, http://www.openxm.org/.
GC 6.2(alpha6) copyright 1988-2003, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.
PARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,
H. Cohen and M. Olivier.
@end example
@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
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B texmacs $BMQ$K=q$+$l$?(B (2004-03).
@item OpenXM_contrib2/asir2000 $B$N2<$N0J2<$N%U%!%$%k$r$_$h(B. builtin/miscf.c 1.21,
parse/glob.c 1.47.
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B string_to_tb, ... $B$N@bL@(B $B"~"~"~"~(B
@comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
@node string_to_tb tb_to_string write_to_tb,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{string_to_tb}, @code{tb_to_string}, @code{write_to_tb}
@findex string_to_tb
@findex tb_to_string
@findex write_to_tb
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
@table @t
@item string_to_tb(@var{s})
@itemx tb_to_string(@var{tb})
@itemx write_to_tb(@var{s},@var{tb})
:: $BJ8;zNs2DJQD9G[Ns7?(B(text buffer)$B$N%G!<%?$N=hM}(B
@end table
@table @var
@item return
$BJ8;zNs2DJQD9G[Ns7?(B(string_to_tb), $BJ8;zNs7?(B(tb_to_string)
@item s
$BJ8;zNs(B
@item tb
$BJ8;zNs2DJQD9G[Ns7?(B
@end table
@itemize @bullet
@item
@code{string_to_tb(@var{s})} $B$O(B, $BJ8;zNs(B @var{s} $B$r$O$8$a$NMWAG$H$9$k(B
$BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H$r@8@.$9$k(B.
@item
@code{tb_to_string_(@var{tb})} $B$O(B,
$BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H(B @var{tb} $B$+$iDL>o$NJ8;zNs%*%V%8%'%/%H$r@8@.$9$k(B.
@item
@code{write_to_tb(@var{s},@var{tb})} $B$O(B, $BJ8;zNs(B @var{s} $B$r(B
$BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H(B @var{tb} $B$X=q$-=P$9(B.
@item @var{SS} $B$rJ8;zNsJQ?t$H$9$k$H$-(B,
@var{SS} += "$BJ8;zNs(B" $B$G(B @var{SS} $B$XJ8;zNs$r=q$-B-$7$F$$$/$3$H$,$G$-$k$,(B,
$BL5BL$J%a%b%j$rBgNL$K>CHq$9$k(B.
$BBe$j$K4X?t(B @code{write_to_tb} $B$rMQ$$$k$Y$-$G$"$k(B.
$BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H$OJ8;zNs$N2DJQD9$NG[Ns$G$"$j%a%b%j4IM}$KM%$7$$(B
$B%G!<%?9=B$$G$"$k(B.
@end itemize
@example
[219] T=string_to_tb("");
[220] write_to_tb("Hello",T);
0
[221] write_to_tb(" world!",T);
0
[222] tb_to_string(T);
Hello world!
@end example
@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
@noindent
ChangeLog
@itemize @bullet
@item
$B$3$N4X?t$O(B 2004-3 $B$K(B print_tex_form $B$r8zN(2=$9$k$?$a$K=q$+$l$?(B.
@item
OpenXM_contrib2/asir2000 $B$N2<$N0J2<$N%U%!%$%k$r8+$h(B.
io/ox_asir.c 1.52, builtin/strobj.c 1.12--1.13, 1.16,
engine/str.c 1.5, parse/quote.c 1.9.
@item
rtostr $B$,(B text buffer $B7?$N%G!<%?$K4X$7$F$*$=$+$C$?(B. $BB.EY$N2~A1$O(B
asir2000/io/pexpr_body.c 1.2, asir2000/parse/lex.c 1.32.
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B dp_gr_main $B$N@bL@(B $B"~"~"~"~(B
@comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
@node dp_gr_main,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{dp_gr_main}
@findex dp_gr_main
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
@table @t
@item dp_gr_main(@var{f} | v=@var{vv}, order=@var{oo}, homo=@var{n}, matrix=@var{m}, block=@var{b}, sugarweight=@var{sw})
:: dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9(B.
@end table
@table @var
@item return
$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)
@item f
$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)
@item vv
$B%j%9%H(B ($BJQ?t$N%j%9%H(B)
@item oo
$B%j%9%H(B ($B=g=x$r$"$i$o$9%j%9%H(B)
@item n
0 $B$+(B1 (homogenization $B$r$9$k$+(B)
@item m
$B=g=x$r(B matrix $B$GI=8=$9$k>l9g(B (cf. dp_ord).
@item b
???
@item sw
Sugar strategy $B$rE,MQ$9$k$H$-$N(B weight vector. $BA4$F$NMWAG$OHsIi(B.
@end table
@itemize @bullet
@item
@code{dp_gr_main(@var{f})} $B$O(B, @var{f} $B$N%0%l%V%J4pDl$r7W;;$9$k(B.
$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
$B7OE}$@$C$F$$$J$+$C$?(B.
dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
@comment ~taka/this03/misc-2003/A2/dp
@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.
@example
order : '[' orderElement { ',' orderElement } ']'
orderElement : weightVec | builtinOrder
weightVec : '[' weightElement { ',' weightElement } ']'
builtiniOrder : '[' orderName ',' setOfVariables ']'
weightElement : NUMBER | setOfVariables ',' NUMBER
setOfVariables: V | range(V,V)
orderName : @@grlex | @@glex | @@lex
@end example
$B$3$3$G(B @code{V} $B$O(B $BJQ?tL>(B, @code{NUMBER} $B$O@0?t$r$"$o$i$9(B.
$BNc(B1: @code{v=[x,y,z,u,v], order=[[x,10,y,5,z,1],[@@grlex,range(x,v)]]}
$B$O(B @code{x},@code{y},@code{z} $B$,$=$l$>$l(B weight 10, 5, 1 $B$r$b$D(B
$B=g=x$GHf3S$7$?$"$H(B, @code{[x,y,z,u,v]} $B$K$D$$$F$N(B
graded reverse lexicographic order $B$r(B tie-breaker $B$H$7$FMQ$$$k$3$H$r0UL#$9$k(B.
$B;29M=q(B: B.Sturmfels: Gr\"obner Bases and Convex Polytopes (1995).
M.Saito, B.Sturmfels, N.Takayama:
Gr\"obner Deformations of Hypergeometric Differential Equations (2000).
@item
$B=g=xMWAG(B (orderElement) $B$N;XDjJ}K!$O(B
(1) $BJQ?tL>$^$?$O(B range$B$G;XDj$5$l$?JQ?t$N=89g$H=E$_$NCM$N7+$jJV$7(B
(2) $B=E$_$NCM$rJQ?t%j%9%H$N=gHV$KJB$Y$kJ}K!(B
(3) $BJQ?tL>$^$?$O(B range$B$G;XDj$5$l$?JQ?t$N=89g$H=g=xL>$NAH(B
$B$N;0DL$j$N4pACE*J}K!$,$"$k(B.
$B;w$?;XDjJ}K!$,(B Macaulay, Singular, CoCoA, Kan/sm1 $BEy$N4DO@%7%9%F%`$G(B
$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
$B$5$i$K2~NI$r2C$($?$b$N$G=@Fp@-$,9b$$(B.
@item
order $B$N(B tie-breaker $B$O(B grlex $B$,%G%U%)!<%k%H(B.
@item
$BJ,;6I=8=B?9`<0$r0z?t$H$7$?$H$-$O7k2L$bJ,;6I=8=B?9`<0$H$7$FLa$k(B.
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.
@item
$B%*%W%7%g%s$NCM$O(B option_list $B%-!<%o!<%I$rMQ$$$F%j%9%H$GM?$($F$b$h$$(B.
$B2<$NNc$r;2>H(B.
@end itemize
@example
[218] load("cyclic");
[219] V=vars(cyclic(4));
[c0,c1,c2,c3]
[220]dp_gr_main(cyclic(4) | v=V, order=[[c0,10,c1,1],[c2,5],[@@grlex,range(c0,c3)]]);
[ 10 1 0 0 ]
[ 0 0 5 0 ]
[ R R R R ]
[(-c3^6+c3^2)*c2^2+c3^4-1,c3^2*c2^3+c3^3*c2^2-c2-c3,
(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,
c0+c1+c2+c3]
[1151] F=map(dp_ptod,katsura(4), vars(katsura(4)));
[(1)*<<1,0,0,0,0>>+(2)*<<0,1,0,0,0>>+ ... ]
[1152] dp_gr_main(F | order=[[range(x0,x3),1]]);
[ 1 1 1 1 0 ]
[ R R R R R ]
[(47774098944)*<<0,0,0,0,13>>+ ... ]
[1153] Opt=[["v",[x,y]], ["order",[[x,5,y,1]]]];
[[v,[x,y]],[order,[[x,5,y,1]]]]
[1154] dp_gr_main([x^2+y^2-1,x*y-1] | option_list=Opt);
[ 5 1 ]
[ R R ]
[-y^4+y^2-1,x+y^3-y]
@end example
@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
@noindent
ChangeLog
@itemize @bullet
@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.
@item
@code{setOfVariables}$B$NI=8=$N$?$a$K(B range $B%*%V%8%'%/%H$,F3F~$5$l$?(B.
@item
$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
$B7OE}$@$C$F$$$J$+$C$?(B.
dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
@item
OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
builtin/gr.c 1.56--1.57,
builtin/dp-supp.c 1.27--1.31 (create_composite_order_spec),
builtin/dp.c 1.46--1.48 (parse_gr_option),
engine/Fgfs.c 1.20,
engine/dist.c 1.27--1.28
engine/nd.c 1.89,
include/ca.h 1.42--1.43,
io/pexpr.c 1.28,
io/sexpr.c 1.26,
parse/arith.c 1.11,
parse/glob.c 1.44-1.45,
parse/lex.c 1.29,
parse/parse.h 1.23--1.26
@item
Todo: return $B%-!<%o!<%I$GLa$jCM$N%G!<%?$r(B quote $B$N%j%9%H$K$G$-$k$h$&$K(B.
attribute, ring $B9=B$BN(B.
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B syz_pqr, xyz_stu $B$N@bL@(B $B"~"~"~"~(B
@comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
@node asir-install.sh,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{asir-port.sh}, @code{asir-install.sh}
@findex asir-port.sh
@findex asir-install.sh
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
@table @t
@item asir-install.sh
@itemx asir-port.sh
:: $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
@end table
@itemize @bullet
@item
asir-port.sh $B$O(B knoppix $B@lMQ$G$"$k(B.
$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
ftp.math.kobe-u.ac.jp $B$h$j%@%&%s%m!<%I$7$F(B
/home/knoppix/.asir-tmp $B$X%;!<%V$7$F(B, $B<B9T$9$k(B.
.asirrc $B$*$h$S(B .TeXmacs/plugins/ox/progs/init-ox.scm $B$b%@%&%s%m!<%I$9$k(B.
@item
asir-install.sh $B$O(B Debian GNU Linux / openxm-binary*.deb $B@lMQ$G$"$k(B.
asir-install.sh $B$O(B asir $B$r%@%&%s%m!<%I$7$F(B /usr/local/OpenXM/bin $B$*$h$S(B
/usr/local/OpenXM/lib/asir $B$X%$%s%9%H!<%k$9$k(B.
@end itemize
@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
@noindent
ChangeLog
@itemize @bullet
@item
$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.
@item
knoppix/math $B$OJ!2,Bg3X$N_@ED$5$s$,Cf?4$H$J$j3+H/$5$l$F$$$k(B.
@item
OpenXM/misc/packages/Linux/Debian $B$N2<$NA4$F$N%U%!%$%k(B (2004-2-22 $B$+$i(B
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.)
OpenXM/src/asir-port $B$N2<$N<!$N3F%U%!%$%k(B.
Makefile 1.1--1.8, asir-install.sh 1.1--1.2, asir-port.sh 1.1--1.6.
@end itemize
@node get_struct_name,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{get_struct_name}, @code{get_element_names}, @code{get_element_at}, @code{put_element_at}
@findex get_struct_name
@findex get_element_names
@findex get_element_at
@findex put_element_at
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
@table @t
@item get_struct_name(@var{s})
@itemx get_element_names(@var{s})
@itemx get_element_at(@var{s},@var{key})
@itemx put_element_at(@var{s},@var{key},@var{obj})
:: $B9=B$BN(B @var{s} $B$KBP$9$kA`:n(B
@end table
@table @var
@item return
$BJ8;zNs(B (get_struct_name),
$BJ8;zNs$N%j%9%H(B (get_element_names),
$B%*%V%8%'%/%H(B (get_element_at),
$B%*%V%8%'%/%H(B (put_element_at)
@item s
$B9=B$BN(B
@item key
$BJ8;zNs(B
@item obj
$B%*%V%8%'%/%H(B
@end table
@itemize @bullet
@item
@code{get_struct_name(s)} $B$O(B, $B9=B$BN(B @var{s} $B$NL>A0$rLa$9(B.
@item
@code{get_element_names(s)} $B$O(B, $B9=B$BN$N%a%s%P!<$NL>A0$N%j%9%H$rLa$9(B.
@item
@code{get_element_at(s,key)} $B$O9=B$BN(B s $B$N%a%s%P!<(B key $B$NCM$rLa$9(B.
@item
@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.
@end itemize
@example
[219] struct point { x, y, color};
[220] P = newstruct(point);
{0,0,0}
[221] P->x = 10$ P->y=5$ P->color="red"$
[222] get_element_names(P);
[x,y,color]
[223] put_element_at(P,"color","blue");
blue
[224] P->color;
bule
@end example
@table @t
@item $B;2>H(B
@ref{newstruct}, @ref{struct}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
@noindent
ChangeLog
@itemize @bullet
@item $B9=B$BN$NDj5A$rCN$i$:$K9=B$BN$r07$&%f!<%64X?t$r=q$/$H$-$KJXMx(B.
asir-contrib $B$N(B noro_print.rr $B$r8+$h(B.
@item OpenXM_contrib2/asir2000/builtin/compobj.c 1.8.
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B dp_gr_main $B$N@bL@(B $B"~"~"~"~(B
@node dp_weyl_gr_main,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{dp_weyl_gr_main}
@findex dp_weyl_gr_main
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
@table @t
@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})
:: dp_weyl_gr_main $B$N?7$7$$%$%s%?%U%'!<%9(B. dp_gr_main $B$HF1$87A<0$G$"$k(B.
@end table
@table @var
@item return
$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)
@item f
$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)
@item vv
$B%j%9%H(B ($BJQ?t$N%j%9%H(B)
@item oo
$B%j%9%H(B ($B=g=x$r$"$i$o$9%j%9%H(B)
@item n
0 $B$+(B1 (homogenization $B$r$9$k$+(B). [$B%F%9%H$^$@(B]
@item m
$B=g=x$r(B matrix $B$GI=8=$9$k>l9g(B (cf. dp_ord). [$B%F%9%H$^$@(B]
@item b
???
@item sw
Sugar strategy $B$rE,MQ$9$k$H$-$N(B weight vector. $BA4$F$NMWAG$OHsIi(B. [$B%F%9%H$^$@(B]
@end table
@itemize @bullet
@item
@code{dp_weyl_gr_main(@var{f})} $B$O(B, @var{f} $B$N%0%l%V%J4pDl$r7W;;$9$k(B.
$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
$B7OE}$@$C$F$$$J$+$C$?(B.
dp_weyl_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
$B;XDjJ}K!$K$D$$$F$O(B dp_gr_main $B$N%^%K%e%"%k$r;2>H(B.
@item
$BJ,;6I=8=B?9`<0$N3F%b%N%_%"%k$ND9$5$,6v?t$N$H$-$O%o%$%kBe?t(B
K[x_1, ..., x_n, d_1, ..., d_n]
$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
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.
$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.
@item
$BJ,;6I=8=B?9`<0$N3F%b%N%_%"%k$ND9$5$,4q?t$N$H$-$OF1<!2=%o%$%kBe?t(B
K[x_1, ..., x_n, d_1, ..., d_n, h]
$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
d_i x_i = x_i d_i + h^2
$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.
$B>\$7$/$O(B dp_gr_main $B$G;2>H$7$?(B Saito, Sturmfels, Takayama $B$N652J=q$r$_$h(B.
@end itemize
@example
[1220] F=sm1.gkz([ [[1,1,1,1],[0,1,3,4]], [0,0]]); /* Command in asir-contrib*/
[[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]]
[1221] V=[x1,x2,x3,x4,dx1,dx2,dx3,dx4]$
[1222] dp_weyl_gr_main(F[0] | v=V, order=[[dx1,1,dx2,1,dx3,1,dx4,1]]);
...
[1238] FF=map(dp_ptod,F[0],V);
[(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]
[1244] FF=map(dp_ptod,F[0],V);
[(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>>]
dp_weyl_gr_main(FF | v=V, order=[[0,0,0,0,1,1,1,1]]);
[1246] dp_weyl_gr_main(FF | v=V, order=[[dx1,1,dx2,1,dx3,1,dx4,1]]);
[ 0 0 0 0 1 1 1 1 ]
[ R R R R R R R R ]
...
@end example
@table @t
@item $B;2>H(B
@ref{dp_gr_main}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@noindent
ChangeLog
@itemize @bullet
@item dp_gr_main $B$N%$%s%?%U%'!<%9$,(B dp_weyl_gr_main $B$X$bF3F~$5$l$?(B.
@item
OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
builtin/dp-supp.c 1.32--1.33
builtin/dp.c 1.49--1.50
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B dp_initial_term $B$N@bL@(B $B"~"~"~"~(B
@node dp_initial_term,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{dp_initial_term}
@findex dp_initial_term
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item dp_initial_term(@var{f} | v=@var{vv}, order=@var{oo})
:: dp_initial_term $B$OM?$($i$l$?(B weight $B$KBP$9$k@hF,9`$NOB$rLa$9(B.
@end table
@table @var
@item return
$BJ,;6I=8=B?9`<0$^$?$OJ,;6I=8=B?9`<0$N%j%9%H(B.
@item f
$BJ,;6I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B.
@item vv
$B%j%9%H(B ($BJQ?t$N%j%9%H(B)
@item oo
$B%j%9%H(B ($B=g=x$r$"$i$o$9%j%9%H(B)
@end table
@itemize @bullet
@item
dp_initial_term $B$OM?$($i$l$?(B weight w $B$KBP$9$k@hF,9`$NOB$rLa$9(B.
$B$3$l$OB?$/$N652J=q$G(B @tex ${\rm in}_w(f)$ @end tex
$B$H=q$+$l$F$$$k(B.
@item
$B=g=x$rI=$9%j%9%H$O(B dp_gr_main $B$GDj5A$7$?J8K!$K=>$&(B.
$B$3$N%j%9%H$N@hF,$,(B weight vector $B$GL5$$>l9g$O%(%i!<$H$J$k(B.
$B$?$H$($P(B order=[[@@lex,...]] $B$O%(%i!<$H$J$k(B.
@item
$B7k2L$OM?$($i$l$?=g=x$K4X$7$F%=!<%H$5$l$F$k$o$1$G$O$J$$(B.
@end itemize
@example
[1220] F=<<2,0,0>>+<<1,1,0>>+<<0,0,1>>;
(1)*<<2,0,0>>+(1)*<<1,1,0>>+(1)*<<0,0,1>>
[1220] dp_initial_term(F | order=[[1,1,1]]);
[ 1 1 1 ]
[ R R R ]
(1)*<<2,0,0>>+(1)*<<1,1,0>>
[1221] dp_initial_term(F | v=[x,y,z], order=[[x,1]]);
[ 1 0 0 ]
[ R R R ]
(1)*<<2,0,0>>
@end example
@table @t
@item $B;2>H(B
@ref{dp_gr_main}, @ref{dp_weyl_gr_main}, @ref{dp_order}, @ref{dp_hm}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@noindent
ChangeLog
@itemize @bullet
@item
OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
builtin/dp-supp.c 1.32
builtin/dp.c 1.49
@end itemize
@comment --- $B"~"~"~"~(B $B4X?t(B dp_order $B$N@bL@(B $B"~"~"~"~(B
@node dp_order,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{dp_order}
@findex dp_order
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item dp_order(@var{f} | v=@var{vv}, order=@var{oo})
:: dp_order $B$OM?$($i$l$?(B weight $B$KBP$9$k<!?t$N:GBgCM$rLa$9(B.
@end table
@table @var
@item return
$B?t$+?t$N%j%9%H(B
@item f
$BJ,;6I=8=B?9`<0$+J,;6I=8=B?9`<0$N%j%9%H(B.
@item vv
$B%j%9%H(B ($BJQ?t$N%j%9%H(B)
@item oo
$B%j%9%H(B ($B=g=x$r$"$i$o$9%j%9%H(B)
@end table
@itemize @bullet
@item
$B=g=x$rI=$9%j%9%H$O(B dp_gr_main $B$GDj5A$7$?J8K!$K=>$&(B.
$B$3$N%j%9%H$N@hF,$,(B weight vector $B$GL5$$>l9g$O%(%i!<$H$J$k(B.
$B$?$H$($P(B order=[[@@lex,...]] $B$O%(%i!<$H$J$k(B.
@item
dp_order $B$OM?$($i$l$?(B weight w $B$KBP$9$k<!?t$N:GBgCM$rLa$9(B.
$B$3$l$r(B @tex ${\rm ord}_w(f)$ @end tex
$B$H=q$/O@J8$d652J=q$b$"$k(B.
@item
$B0z?t$,%j%9%H$N>l9g3FMWAG$N<!?t$,7W;;$5$l$k(B.
@end itemize
@example
[1220] F=<<2,0,0>>+<<1,1,0>>+<<0,0,1>>;
(1)*<<2,0,0>>+(1)*<<1,1,0>>+(1)*<<0,0,1>>
[1222] dp_order(F | order=[[1,1,1]]);
[ 1 1 1 ]
[ R R R ]
2
[1223] dp_order(F | v=[x,y,z], order=[[x,1]]);
[ 1 0 0 ]
[ R R R ]
@end example
@table @t
@item $B;2>H(B
@ref{dp_gr_main}, @ref{dp_weyl_gr_main}, @ref{dp_initial_term}, @ref{dp_hm}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@noindent
ChangeLog
@itemize @bullet
@item
OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
builtin/dp-supp.c 1.32
builtin/dp.c 1.49
@end itemize
@comment mapat
@node mapat,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{mapat}
@findex mapat
@table @t
@item mapat(@var{fname},@var{pos}[,@var{arg0}, @var{arg1}, ...])
:: @var{pos} $B$KBP$9$k(B map $B4X?t(B
@end table
@table @var
@item return
$B%*%V%8%'%/%H(B
@item pos
$B@0?t(B
@item arg0, arg1, arg2, ...
$B%*%V%8%'%/%H(B
@end table
@itemize @bullet
@item
@code{map} $B4X?t$O(B 0 $BHVL\$N0z?t$KBP$7$F$7$+F0:n$7$J$$$,(B, @code{mapat}
$B4X?t$O;XDj$7$?HV9f$N0z?t$KBP$7$F(B @code{map} $B4X?t$r<B9T$9$k(B.
@item
@code{mapat(fname,0,A0,A1,...)} $B$O(B
@code{map(fname,A0,A1,...)} $B$KEy2A$G$"$k(B.
@item
$B<!$NI{:nMQ$,$"$k(B. $B$^$@=q$$$F$J$$(B.
@end itemize
@example
[219] mapat(deg,1,x^2+y^3+x+y,[x,y]);
[2,3]
[220] mapat(subst,1,x+y+z,[x,y,z],2);
[y+z+2,x+z+2,x+y+2]
@end example
@table @t
@item $B;2>H(B
@ref{map}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B 2004-6-22 $B$K%3%_%C%H$5$l$?(B.
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/pf.c, subst.c $B$G$"$k(B.
@end itemize
@comment list
@node list,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{list}
@findex list
@table @t
@item list([@var{arg0}, @var{arg1}, ...])
:: list $B$r@8@.$9$k(B.
@end table
@table @var
@item return
$B%j%9%H(B
@item arg0, arg1, arg2, ...
$B%*%V%8%'%/%H(B
@end table
@itemize @bullet
@item
@var{arg0}, @var{arg1}, ... $B$rMWAG$H$9$k%j%9%H$r@8@.$9$k(B.
@end itemize
@example
[219] list(1,2,3);
[1,2,3]
[220] list(1,2,[3,4]);
[1,2,[3,4]]
@end example
@table @t
@item $B;2>H(B
@ref{cons}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B 2004-6-22 $B$K%3%_%C%H$5$l$?(B.
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/list.c $B$G$"$k(B.
@end itemize
@node set_print_function,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{set_print_function}
@findex set_print_function
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item set_print_function([@var{fname}])
:: $B2hLLI=<(MQ$N4X?t$rEPO?(B
@end table
@table @var
@item return
$B@0?t(B
@item fname
$BJ8;zNs(B
@end table
@itemize @bullet
@item
@code{set_print_function} $B$O(B @code{fname(F)} $B$rDL>o$N2hLLI=<(4X?t$NBe$o$j$K$h$V(B.
@code $B0z?t$,$J$$>l9g$O2hLLI=<(4X?t$r%G%U%)!<%k%H$XLa$9(B.
@code Asir-contrib $B$O$3$N4X?t$rMQ$$$F=PNO4X?t$r(B Asir-contrib $BMQ$KJQ99$7$F$$$k(B.
@end itemize
@example
[219] def my_output(F) {
print("Out: ",0); print(rtostr(F));
}
[220] set_print_function("my_output");
Out: 0
[221] 1+2;
Out: 3
@end example
@table @t
@item $B;2>H(B
@ref{rtostr}
@end table
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B 2001-9-4 $B$K(B asir-contrib $B$N$?$a$KF3F~$5$l$?(B.
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/print.c 1.11 $B$G$"$k(B.
@end itemize
@node small_jacobi,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{small_jacobi}
@findex small_jacobi
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@table @t
@item small_jacobi(@var{a},@var{m})
:: Jacobi $B5-9f$N7W;;(B
@end table
@table @var
@item return
$B@0?t(B
@item arg1, arg2
$B@0?t(B
@end table
@itemize @bullet
@item
@var{m} $B$,AG?t$N$H$-$O(B Legendre $B5-9f$H$h$P$l(B,
x^2 = @var{a} mod @var{m} $B$K2r$,$"$k$H$-(B 1, $B2r$,$J$$$H$-(B -1 $B$r$b$I$9(B.
@item
Jacobi $B5-9f$O(B Legendre $B5-9f$N@Q$GDj5A$5$l$k(B ($B=iEy@0?tO@$NK\;2>H(B).
@item
$B$3$N4X?t$O(B machine int $B$NHO0O$G(B jacobi $B5-9f$r7W;;$9$k(B.
@end itemize
@example
[1286] small_jacobi(2,3);
-1
[1287] small_jacobi(2,7);
1
@end example
@table @t
@item $B;2>H(B
http://members.jcom.home.ne.jp/yokolabo/asirlib/
$B$b8+$F$M(B.
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B 2004-3-1 $B$+$i(B 2004-3-14 $B$K$+$1$F(B $B%"%k%4%j%:%`(B xyz ($BO@J8(B
http://www.afo.org/xyz.pdf ) $B$rMQ$$$F=q$-D>$5$l$?(B.
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B xxxyy.rr, ppp.c $B$G$"$k(B.
@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.
@end itemize
@comment --- $B"~"~"~"~(B $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B
@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.
@comment --- $B"~"~"~"~(B $B4X?t(B syz_pqr, xyz_stu $B$N@bL@(B $B"~"~"~"~(B
@comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
@node xyz_pqr,,, $B<B83E*;EMM$N4X?t(B
@subsection @code{xyz_pqr}, @code{syz_stu}
@findex xyz_pqr
@findex xyz_stu
@comment --- $B4X?t$N4JC1$J@bL@(B ---
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
@table @t
@item xyz_pqr(@var{arg1},@var{arg2}[,@var{flag}])
@itemx xyz_stu(@var{arg1},@var{arg2})
:: xyz $B$K4X$9$kA`:n(B.
@end table
@table @var
@item return
$B@0?t(B
@item arg1, arg2
$B@0?t(B
@item flag
0 $B$^$?$O(B 1
@end table
@itemize @bullet
@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.
@item
@code{xyz_pqr()} $B$O(B, @var{arg1}, @var{arg2} $B$r(B pqr $B$9$k(B.
@item
@var{flag} $B$,(B 0 $B$G$J$$$H$-(B, $B%b%8%e%i7W;;$r9T$&(B.
@item
@code{xyz_stu()} $B$O(B stu $B%"%k%4%j%:%`$rMQ$$$k(B.
@end itemize
@example
[219] xyz_pqr(1,2);
3
[220] xyz_pqr(1,2,1);
3
0
[221] xyz_stu(1,2);
3
@end example
@table @t
@item $B;2>H(B
@ref{xyz_abc}
@end table
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
@noindent
ChangeLog
@itemize @bullet
@item $B$3$N4X?t$O(B 2004-3-1 $B$+$i(B 2004-3-14 $B$K$+$1$F(B $B%"%k%4%j%:%`(B xyz ($BO@J8(B
http://www.afo.org/xyz.pdf ) $B$rMQ$$$F=q$-D>$5$l$?(B.
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B xxxyy.rr, ppp.c $B$G$"$k(B.
@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.
@end itemize
@comment --- $B$*$^$8$J$$(B ---
@node Index,,, Top
@unnumbered Index
@printindex fn
@printindex cp
@iftex
@vfill @eject
@end iftex
@summarycontents
@contents
@bye
@comment --- $B$*$^$8$J$$=*$j(B ---