version 1.11, 2004/06/30 09:30:44 |
version 1.13, 2004/07/09 02:17:45 |
|
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.10 2004/06/27 17:44:55 ohara Exp $ |
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.12 2004/07/07 02:58:45 takayama Exp $ |
\input texinfo |
\input texinfo |
@iftex |
@iftex |
@catcode`@#=6 |
@catcode`@#=6 |
Line 119 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
Line 119 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
* list:: |
* list:: |
* mapat:: |
* mapat:: |
* set_print_function:: |
* set_print_function:: |
|
* small_jacobi:: |
|
* flatten_quote:: |
@end menu |
@end menu |
|
|
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B |
@comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B |
|
|
@itemize @bullet |
@itemize @bullet |
@item $B$3$N4X?t$O(B 2001-9-4 $B$K(B asir-contrib $B$N$?$a$KF3F~$5$l$?(B. |
@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. |
$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 |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item $B$3$N4X?t$NM3Mh$OITL@(B. |
|
@end itemize |
|
|
|
|
|
@node quote_flatten,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{quote_flatten} |
|
@findex quote_flatten |
|
|
|
@comment --- $B4X?t$N4JC1$J@bL@(B --- |
|
@table @t |
|
@item quote_flatten(@var{q},@var{op}) |
|
:: quote $B$N3g8L$r$H$j$5$k(B. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
Quote |
|
@item q |
|
Quote |
|
@item op |
|
$B1i;;;R$rI=$9J8;zNs(B. |
|
@end table |
|
|
|
@itemize @bullet |
|
@item |
|
Quote $B7?$N%G!<%?$OLZ9=B$$r$7$F$$$k(B |
|
( quotetolist $B;2>H(B ). |
|
@code{quote_flatten()} $B$O(B, @var{q} $B$NCf$K$"$i$l$k1i;;;R(B @var{op} |
|
$B$N;R6!%N!<%I$rJ?Ey$K$9$k(B. |
|
$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. |
|
$B$?$H$($P(B (1+2)+(3+4) $B$H$$$&I=8=$r(B 1+2+3+4 $B$KJQ49$9$k(B. |
|
@item |
|
$B8=:_$N<BAu$G$O(B n-ary $B$N1i;;;R$ODj5A$5$l$F$$$J$$$N$G(B, |
|
1+2+3 $B$O<B$O(B (1+2)+3 $B$HI=8=$5$l$F$$$k(B. |
|
$B$D$^$j(B + $B1i;;;R$O:87k9gE*$G$"$k(B. |
|
@end itemize |
|
|
|
@example |
|
[1288] flatten_quote(quote((1+2)+(3+4*(x+3))),"+"); |
|
quote(1+2+3+4*(x+3)) |
|
[1289] flatten_quote(quote( (x*y)*(p*3)-(x*y)*z),"*"); |
|
quote(x*y*p*3-x*y*z) |
|
[1290] quotetolist(quote(1+2+3)); |
|
[b_op,+,[b_op,+,[internal,1],[internal,2]],[internal,3]] |
|
@end example |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{quotetolist}, @ref{print_tex_form}(contrib) |
|
@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 |
|
$B$3$N4X?t$O(B 2004-7-7 $B$+$i(B 2004-7-8 $B$K$+$1$F(B |
|
quote $B$K4X$9$kA`:n$r8&5f$9$k$?$a$K<B83E*$K=q$+$l$?(B. |
|
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 |
|
$B1~MQ(B. |
|
@item |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B |
|
builtin/strobj.c 1.47, |
|
parse/eval.c 1.35, |
|
parse/parse.h 1.31, |
|
parse/quote.c 1.14--1.16. |
@end itemize |
@end itemize |
|
|
|
|