version 1.24, 2007/08/09 04:46:44 |
version 1.28, 2008/11/19 03:25:38 |
|
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.23 2006/03/12 07:05:41 takayama Exp $ |
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.27 2008/11/11 08:18:50 ohara Exp $ |
\input texinfo |
\input texinfo |
@iftex |
@iftex |
@catcode`@#=6 |
@catcode`@#=6 |
|
|
@title $B<B83E*;EMM$N4X?t(B |
@title $B<B83E*;EMM$N4X?t(B |
@subtitle Risa/Asir $B<B83E*;EMM4X?t@bL@=q(B |
@subtitle Risa/Asir $B<B83E*;EMM4X?t@bL@=q(B |
@subtitle 1.0 $BHG(B |
@subtitle 1.0 $BHG(B |
@subtitle 2007 $BG/(B 8 $B7n(B |
@subtitle 2008 $BG/(B 1 $B7n(B |
|
|
@author by Risa/Asir committers |
@author by Risa/Asir committers |
@page |
@page |
Line 121 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
Line 121 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
* set_print_function:: |
* set_print_function:: |
* small_jacobi:: |
* small_jacobi:: |
* flatten_quote:: |
* flatten_quote:: |
|
* printf:: |
|
* fprintf:: |
* sprintf:: |
* sprintf:: |
* quote_to_funargs:: |
* quote_to_funargs:: |
* funargs_to_quote:: |
* funargs_to_quote:: |
Line 141 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
Line 143 ChangeLog $B$N9`L\$O(B www.openxm.org $B$N(B cvswe |
|
* qt_is_ceof:: |
* qt_is_ceof:: |
* qt_rewrite:: |
* qt_rewrite:: |
* asirgui.hnd:: |
* asirgui.hnd:: |
|
* noro_matrix.rr: |
|
* f_res:: |
|
* chdir:: |
|
* pwd:: |
|
* dcurrenttime:: |
|
|
|
|
@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 |
|
|
|
|
|
|
@node sprintf,,, $B<B83E*;EMM$N4X?t(B |
@node sprintf,,, $B<B83E*;EMM$N4X?t(B |
@subsection @code{sprintf} |
@subsection @code{printf}, @code{fprintf}, @code{sprintf} |
@findex sprintf |
@findex sprintf |
|
|
@table @t |
@table @t |
|
@item printf(@var{format}[,@var{args}]) |
|
@item fprintf(@var{fd},@var{format}[,@var{args}]) |
@item sprintf(@var{format}[,@var{args}]) |
@item sprintf(@var{format}[,@var{args}]) |
:: C $B$K;w$?%W%j%s%H4X?t(B |
:: C $B$K;w$?%W%j%s%H4X?t(B |
@end table |
@end table |
|
|
@table @var |
@table @var |
@item return |
@item return |
$BJ8;zNs(B |
$B@0?t(B(printf,fprintf), $BJ8;zNs(B(sprintf) |
@item format |
@item format |
$BJ8;zNs(B |
$BJ8;zNs(B |
|
@item fd |
|
$BHsIi@0?t(B($B%U%!%$%k5-=R;R(B) |
@item args |
@item args |
$B%*%V%8%'%/%H(B |
$B%*%V%8%'%/%H(B |
@end table |
@end table |
|
|
@itemize @bullet |
@itemize @bullet |
@item |
@item |
$B%U%)!<%^%C%HJ8;zNs(B @var{format } $B$K$7$?$,$$(B @var{args} $B$rJ8;zNs$KJQ49$9$k(B. |
@code{printf} $B$O=q<0J8;zNs(B @var{format } $B$K$7$?$,$$(B, $B%*%V%8%'%/%H(B @var{args} $B$rI8=`=PNO$K=q$-=P$9(B. |
@item |
@item |
$B%U%)!<%^%C%HJ8;zNs$NCf$K(B @code{%a} (any) $B$,MxMQ2DG=(B. |
@code{fprintf} $B$O7k2L$r(B, $B%U%!%$%k5-=R;R(B @var{fd} $B$N;X$9%U%!%$%k$K=q$-=P$9(B. |
@var{args} $B$N8D?t$O%U%)!<%^%C%HJ8;zNs$NCf$N(B @code{%a} $B$N8D?t$KEy$7$/$9$k$3$H(B. |
@item |
|
@code{sprintf} $B$O7k2L$rJ8;zNs$GJV$7(B, $BI8=`=PNO$K$O=q$-=P$5$J$$(B. |
|
@item |
|
$B=q<0J8;zNs$NCf$G(B @code{%a} (any) $B$,MxMQ2DG=(B. |
|
@var{args} $B$N8D?t$O=q<0J8;zNs$NCf$N(B @code{%a} $B$N8D?t$KEy$7$/$9$k$3$H(B. |
|
@item |
|
$B%U%!%$%k5-=R;R$O(B, @code{open_file} $B4X?t$rMQ$$$FF@$k$3$H(B. |
@end itemize |
@end itemize |
|
|
@example |
@example |
[0] sprintf("%a: rat = %a",10,x^2-1); |
[0] printf("%a: rat = %a\n",10,x^2-1)$ |
10: rat = x^2-1 |
10: rat = x^2-1 |
|
[1] S=sprintf("%a: rat = %a",20,x^2-1)$ |
|
[2] S; |
|
20: rat = x^2-1 |
|
[3] Fd=open_file("hoge.txt","w"); |
|
0 |
|
[4] fprintf(Fd,"Poly=%a\n",(x-1)^3)$ |
|
[5] close_file(Fd)$ |
|
[6] quit; |
|
|
|
$ cat hoge.txt |
|
Poly=x^3-3*x^2+3*x-1 |
@end example |
@end example |
|
|
@table @t |
@table @t |
@item $B;2>H(B |
@item $B;2>H(B |
@ref{rtostr} |
@ref{rtostr},@ref{open_file},@ref{close_file} |
@end table |
@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 --- 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 |
|
|
ChangeLog |
ChangeLog |
@itemize @bullet |
@itemize @bullet |
@item |
@item |
$B$3$N4X?t$O(B 2004-7-13 $B$K%3%_%C%H$5$l$?(B. |
$B4X?t(B sprintf$B$O(B 2004-7-13 $B$K%3%_%C%H$5$l$?(B. |
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/strobj (1.50) $B$G$"$k(B. |
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/strobj (1.50) $B$G$"$k(B. |
@item |
@item |
|
$B4X?t(B printf$B$O(B 2007-11-8 $B$K%3%_%C%H$5$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/print.c (1.23) $B$G$"$k(B. |
|
@item |
|
$B4X?t(B fprintf$B$O(B 2008-11-18 $B$K%3%_%C%H$5$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/file.c (1.25) $B$G$"$k(B. |
|
@item |
@code{%a} $B$O(B Maple $B$N(B sprintf $B$N??;w$+(B. |
@code{%a} $B$O(B Maple $B$N(B sprintf $B$N??;w$+(B. |
@end itemize |
@end itemize |
|
|
|
|
@item @code{OpenXM_contrib2/windows/asir32gui/asir32guiview.cpp} 1.15, 1.1.6 |
@item @code{OpenXM_contrib2/windows/asir32gui/asir32guiview.cpp} 1.15, 1.1.6 |
@end itemize |
@end itemize |
@comment **************************************************************** |
@comment **************************************************************** |
|
|
|
@node noro_matrix.rr,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{noro_matrix.rr} |
|
@findex noro_matrix.rr |
|
|
|
@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 linalg.unit_mat(@var{arg1}) |
|
@item linalg.random_rmat(@var{arg1}, @var{arg2}, @var{arg3}) |
|
@item linalg.minipoly_mat(@var{arg1}) |
|
@item linalg.compute_kernel(@var{arg1}) |
|
@item linalg.compute_image(@var{arg1}) |
|
@item linalg.jordan_canonical_form(@var{arg1}) |
|
@end table |
|
|
|
|
|
@itemize @bullet |
|
@item $B4JC1$J2r@b$*$h$S<BNc$O(B http://www.math.kobe-u.ac.jp/HOME/taka/2007/knx/noro_matrix-ja.txt $B$r;2>H(B. |
|
@end itemize |
|
|
|
@example |
|
load("noro_matrix.rr"); |
|
A=newmat(4,4,[[2,0,0,0],[3,5,1,0],[-9,-9,-1,0],[-5,0,0,1]]); |
|
B=linalg.jordan_canonical_form(A); |
|
@end example |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{invmat} |
|
@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-04 $B:"$+$i@~7ABe?t(BIII $B$N9V5A$r$7$J$,$i=q$+$l$?(B. |
|
@item $B%=!<%9(B: OpenXM/src/asir-contrib/packages/src/noro_matrix.rr |
|
@end itemize |
|
|
|
|
|
@node f_res,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{f_res} |
|
@findex f_res |
|
|
|
@comment --- $B4X?t$N4JC1$J@bL@(B --- |
|
@table @t |
|
@item f_res |
|
@end table |
|
|
|
|
|
@itemize @bullet |
|
@item f_res $B$O3F<o$N=*7k<0$r7W;;$9$k%b%8%e!<%k$G$"$k(B. ox_grep("f_res"); $B$G(B online manual $B$r1\Mw2DG=$G$"$k(B. |
|
@end itemize |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{} |
|
@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$N%b%8%e!<%k$O(B Fujiwara $B7/$N=$;NO@J8$,85$K$J$j(B, $B$=$l$r2~B$$7$?$b$N$G$"$k(B. |
|
@item OpenXM/src/ox_cdd, OpenXM/src/asir-contrib/packages/src/f_res.rr |
|
@end itemize |
|
|
|
|
|
@node chdir,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{chdir}, @code{pwd} |
|
@findex chdir |
|
@findex pwd |
|
|
|
@comment --- $B%G%#%l%/%H%jA`:n(B --- |
|
@table @t |
|
@item chdir(@var{directory}) |
|
@item pwd() |
|
:: $B%7%'%k%3%^%s%I(B cd $B$H(B pwd $B$KBP1~$9$kA`:n(B. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
$BJ8;zNs(B(@code{pwd}), $B@0?t(B(@code{chdir}) |
|
@item dirctory |
|
$BJ8;zNs(B |
|
@end table |
|
|
|
@itemize @bullet |
|
@item |
|
@code{pwd} $B$O%+%l%s%H%G%#%l%/%H%j$rJ8;zNs$GJV$9(B. |
|
@item |
|
@code{chdir} $B$O%+%l%s%H%G%#%l%/%H%j$r(B @var{directory} $B$KJQ99$9$k(B. $B@.8y$9$l$P(B 0 $B$r<:GT$9$l$P(B -1 $B$rJV$9(B. |
|
@item |
|
$B$3$l$i$N4X?t$O(B UNIX $BHG$K$N$_<BAu$5$l$F$$$k(B. |
|
@end itemize |
|
|
|
@example |
|
[0] S=pwd(); |
|
/home/ohara |
|
[1] chdir(".../taka"); |
|
-1 |
|
[2] chdir("/usr/bin"); |
|
0 |
|
@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 |
|
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit. |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item |
|
$B$3$l$i$N4X?t$O(B 2008-8-27 $B$K%3%_%C%H$5$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/miscf.c (1.27) $B$G$"$k(B. |
|
@end itemize |
|
|
|
|
|
@node dcurrenttime,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{dcurrenttime} |
|
@findex dcurrenttime |
|
|
|
@comment --- $B8=:_;~9o$r<hF@(B --- |
|
@table @t |
|
@item dcurrenttime() |
|
:: $B8=:_;~9o$r<hF@(B. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
$BIbF0>.?tE@?t(B |
|
@end table |
|
|
|
@itemize @bullet |
|
@item |
|
$BJV$jCM$O(B1970$BG/(B1$B7n(B1$BF|(B0$B;~(B0$BJ,(B0$BIC$+$i$N7P2aIC?t$G$"$k(B. |
|
@end itemize |
|
|
|
@example |
|
[0] ctrl("real_digit", 16); |
|
16 |
|
[1] dcurrenttime(); |
|
1226390851.34476 |
|
[2] currenttime(); |
|
1226390854 |
|
@end example |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{currenttime} |
|
@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 2008-9-12 $B$K%3%_%C%H$5$l$?(B. |
|
$BJQ99$r$&$1$?%=!<%9%3!<%I$O(B builtin/time.c (1.6) $B$G$"$k(B. |
|
@end itemize |
|
|
@comment ----------- $B0J2<$O8+K\(B. $B>C$9$J(B. |
@comment ----------- $B0J2<$O8+K\(B. $B>C$9$J(B. |
@comment **************************************************************** |
@comment **************************************************************** |