Annotation of OpenXM/src/asir-doc/parts/builtin/misc.texi, Revision 1.1.1.1
1.1 noro 1: @node $B$=$NB>(B,,, $BAH$_9~$_H!?t(B
2: @section $B$=$NB>(B
3:
4: @menu
5: * ctrl::
6: * debug::
7: * error::
8: * help::
9: * time::
10: * cputime tstart tstop::
11: * heap::
12: * version::
13: * shell::
14: * map::
15: * flist::
16: * delete_history::
17: * get_rootdir::
18: @end menu
19:
20: @node ctrl,,, $B$=$NB>(B
21: @subsection @code{ctrl}
22: @findex ctrl
23:
24: @table @t
25: @item ctrl("@var{switch}"[,@var{obj}])
26: :: $B4D6-@_Dj(B
27: @end table
28:
29: @table @var
30: @item return
31: $B@_Dj$5$l$F$$$kCM(B
32: @item switch
33: $B%9%$%C%AL>(B
34: @item obj
35: $B%Q%i%a%?(B
36: @end table
37:
38: @itemize @bullet
39: @item
40: @b{Asir} $B$N<B9T4D6-$N@_DjJQ99(B, $B;2>H$r9T$&(B.
41: @item @var{switch} $B$N$_$N>l9g(B, $B$=$N%9%$%C%A$N8=:_$N>uBV$rJV$9(B.
42: @item @var{obj} $B$,M?$($i$l$F$$$k$H$-(B, $B$=$NCM$r@_Dj$9$k(B.
43: @item
44: $B%9%$%C%A$OJ8;zNs$H$7$FF~NO$9$k(B. $B$9$J$o$A%@%V%k%/%)!<%H$G0O$`(B.
45: @item
46: $B%9%$%C%A$O<!$NDL$j(B.
47: @table @code
48: @item cputime
49: on $B$N;~(B CPU time $B$*$h$S(B GC time $B$rI=<((B, off $B$N;~(B $BI=<($7$J$$(B. @code{cputime()}
50: $B$r;2>H(B.
51: @code{ctrl("cputime",@var{onoff})} $B$O(B @code{cputime(@var{onoff})} $B$HF1$8$G$"$k(B.
52: @item nez
53: EZGCD $B$N%"%k%4%j%:%`$N@ZBX$((B. $B%G%U%)%k%H$G(B 1 $B$G$"$j(B, $B$H$/$K@ZBX$($kI,MW(B
54: $B$O$J$$(B.
55: @item echo
56: on $B$N;~$OI8=`F~NO$r7+$jJV$7$F=PNO$7(B, off $B$N;~$OI8=`F~NO$r7+$jJV$5$J$$(B.
57: @code{output} $B%3%^%s%I$rMQ$$$k:]$KM-8z$G$"$k(B.
58: @item bigfloat
59: on $B$N;~(B, $BF~NO$5$l$?IbF0>.?t$O(B @b{bigfloat} $B$KJQ49$5$l(B, $BIbF0>.?t1i;;$O(B
60: @b{PARI} (@xref{pari}) $B$K$h$j9T$o$l$k(B. $B%G%U%)%k%H$NM-8z7e?t$O(B 9 $B7e$G$"$k(B.
61: $BM-8z7e?t$rA}$d$7$?$$;~$K$O(B @code{setprec()} $B$rMQ$$$k(B.
62: off $B$N;~(B, $BF~NO$5$l$?IbF0>.?t$O(B, $BG\@:EYIbF0>.?t$KJQ49$5$l$k(B.
63: @cindex PARI
64: @item adj
65: $B%,!<%Y%C%8%3%l%/%7%g%s$NIQEY$NJQ99(B. 1 $B0J>e$NM-M}?t$,;XDj$G$-$k(B.
66: $B%G%U%)%k%HCM$O(B 3. 1 $B$K6a$$Dx(B, $B%,!<%Y%C%8%3%l%/%7%g%s$;$:$K%R!<%W$r(B
67: $BBg$-$/$H$k$h$&$K$J$k(B. $B@0?tCM$O%3%^%s%I%i%$%s$G;XDj$G$-$k(B.
68: @xref{$B%3%^%s%I%i%$%s%*%W%7%g%s(B}.
69: @item verbose
70: on $B$N;~(B, $BH!?t$N:FDj5A;~$K%a%C%;!<%8$rI=<($9$k(B.
71: @item hex
72: 1 $B$N$H$-(B, $B@0?t$O(B 0x $B$G;O$^$k(B 16 $B?J?t$H$7$FI=<($5$l$k(B. -1 $B$N$H$-(B, 16 $B?J?t$O(B,
73: $B4V$K(B @samp{|} $B$r$O$5$s$G(B 8 $B7e$4$H$K6h@Z$C$FI=<($5$l$k(B.
74: @item ox_batch
75: 1 $B$N$H$-(B, $BAw?.%P%C%U%!$,$$$C$Q$$$K$J$C$?;~$N$_<+F0E*$K(B flush.
76: 0 $B$N$H$-(B, $B%G!<%?(B, $B%3%^%s%IAw?.Kh$K(B flush. ($B%G%U%)%k%HCM$O(B 0.)
77: @xref{$BJ,;67W;;(B}
78: @item ox_check
79: 1 $B$N$H$-(B, $BAw?.%G!<%?$rAj<j%W%m%;%9$,<u$1<h$l$k$+$I$&$+%A%'%C%/$9$k(B.
80: 0 $B$N$H$-$7$J$$(B. ($B%G%U%)%k%HCM$O(B 1.)
81: @xref{$BJ,;67W;;(B}
82: @end table
83: @end itemize
84:
85: @table @t
86: @item $B;2>H(B
87: @fref{cputime tstart tstop}, @fref{output},
88: @fref{pari}, @fref{setprec}, @fref{eval}.
89: @end table
90:
91: @node debug,,, $B$=$NB>(B
92: @subsection @code{debug}
93: @findex debug
94:
95: @table @t
96: @item debug
97: :: $B%G%P%C%0%b!<%I$KF~$k(B.
98: @end table
99:
100: @itemize @bullet
101: @item
102: @code{debug} $B$OL50z?t$NH!?t$G$"$k$,(B, @samp{()} $B$J$7$G8F$S=P$;$k(B.
103: @item
104: $B%G%P%C%0%b!<%I$KF~$k$H%W%m%s%W%H$,(B @code{(debug)} $B$H$J$j(B, $B%3%^%s%I(B
105: $B<u$1IU$1>uBV$H$J$k(B. @code{quit} $B$rF~NO$9$k$H%G%P%C%,$+$iH4$1$k(B.
106: @item
107: $B%G%P%C%0%b!<%I$K$D$$$F$N>\:Y$O(B @xref{$B%G%P%C%,(B}.
108: @end itemize
109:
110: @example
111: [1] debug;
112: (debug) quit
113: 0
114: [2]
115: @end example
116:
117: @node error,,, $B$=$NB>(B
118: @subsection @code{error}
119: @findex error
120:
121: @table @t
122: @item error(@var{message})
123: :: $B%W%m%0%i%`Cf$G6/@)E*$K%(%i!<$rH/@8$5$;$k(B.
124: @end table
125:
126: @table @var
127: @item message
128: $BJ8;zNs(B
129: @end table
130:
131: @itemize @bullet
132: @item
133: $B0lHL$K(B, $B0z?t$N4V0c$$$J$I(B, $BB39TIT2DG=$J%(%i!<$,AH$_9~$_H!?t$K$*$$$F(B
134: $BH/@8$7$?;~(B, $B%H%C%W%l%Y%k$KLa$kA0$K(B, $B2DG=$J$i$P$=$N%(%i!<$N;~E@$G(B
135: $B%G%P%C%0%b!<%I$KF~$k(B. @code{error()} $B$O(B, $B%f!<%6H!?t$NFbIt$G$3$N(B
136: $BF0:n$HF1MM$NF0:n$r9T$o$;$k$?$a$NH!?t$G$"$k(B.
137: @item
138: $B0z?t$O(B, @code{error()} $B$,8F$S=P$5$l$k:]$KI=<($5$l$k%a%C%;!<%8$G(B,
139: $BJ8;zNs$G$"$k(B.
140: @item
141: $B%f!<%6H!?t$K$*$$$F(B, $BJQ?t$r%A%'%C%/$7$F(B, $B$"$jF@$J$$CM$N>l9g$K(B @code{error()}
142: $B$r8F$S=P$9$h$&$K$7$F$*$1$P(B, $B$=$N;~E@$G<+F0E*$K%G%P%C%0%b!<%I$KF~$l$k(B.
143: @end itemize
144:
145: @example
146: % cat mod3
147: def mod3(A) @{
148: if ( type(A) >= 2 )
149: error("invalid argument");
150: else
151: return A % 3;
152: @}
153: end$
154: % asir
155: [0] load("mod3");
156: 1
157: [3] mod3(5);
158: 2
159: [4] mod3(x);
160: invalid argument
161: stopped in mod3 at line 3 in file "./mod3"
162: 3 error("invalid argument");
163: (debug) print A
164: A = x
165: (debug) quit
166: return to toplevel
167: [4]
168: @end example
169:
170: @table @t
171: @item $B;2>H(B
172: @fref{debug}.
173: @end table
174:
175: @node help,,, $B$=$NB>(B
176: @subsection @code{help}
177: @findex help
178:
179: @table @t
180: @item help(["@var{function}"])
181: :: $BH!?t$N@bL@$rI=<($9$k(B.
182: @end table
183:
184: @table @var
185: @item return
186: 0
187: @item function
188: $BH!?tL>(B
189: @end table
190:
191: @itemize @bullet
192: @item
193: $BL50z?t$N;~(B, $B:G>.8B$N@bL@$,I=<($5$l$k(B. $BH!?tL>$,0z?t$H$7$FM?$($i$l$?(B
194: $B$H$-(B, $BI8=`%i%$%V%i%j%G%#%l%/%H%j$K$"$k(B @samp{help} $B$H$$$&%G%#%l%/%H%j(B
195: $B$KF1L>$N%U%!%$%k$,$"$l$P(B, $B4D6-JQ?t(B @code{PAGER} $B$K@_Dj$5$l$F$$$k%3%^%s%I(B,
196: $B$"$k$$$O(B @samp{more} $B$r8F$S=P$7$F$=$N%U%!%$%k$rI=<($9$k(B.
197: @item
198: Windows $BHG$G$O(B, $B%3%^%s%I%i%$%s$+$i$N%X%k%W8F$S=P$7$OL$%5%]!<%H$@$,(B,
199: $B%a%K%e!<$+$i(B HTML $B7A<0$N$b$N$r8F$S=P$7MQ$$$k$3$H$,$G$-$k(B.
200: @end itemize
201:
202: @node time,,, $B$=$NB>(B
203: @subsection @code{time}
204: @findex time
205:
206: @table @t
207: @item time()
208: :: $B%;%C%7%g%s3+;O$+$i8=:_$^$G$N(B CPU $B;~4V$*$h$S(B GC $B;~4V$rI=<($9$k(B
209: @end table
210:
211: @table @var
212: @item return
213: $B%j%9%H(B
214: @end table
215:
216: @itemize @bullet
217: @item
218: CPU $B;~4V$*$h$S(B GC $B;~4V$NI=<($K4X$9$k%3%^%s%I$G$"$k(B.
219: @item
220: GC $B;~4V$H$O(B, $B%,!<%Y%8%3%l%/%?$K$h$j>CHq$5$l$?$H8+$J$5$l$k;~4V(B,
221: CPU $B;~4V$O(B, $BA4BN$N(B CPU $B;~4V$+$i(B GC $B;~4V$r0z$$$?;D$j$G(B, $BC10L$OIC$G$"$k(B.
222: @item
223: @code{time()} $B$O0z?t$J$7$G(B, $B%;%C%7%g%s3+;O$+$i8=:_$^$G$N(B CPU $B;~4V(B,
224: GC $B;~4V(B, $B8=:_$^$G$KMW5a$5$l$?%a%b%j$N$N$YMFNL(B, $B$*$h$S%;%C%7%g%s3+;O$+$i(B
225: $B8=:_$^$G$N7P2a;~4V$NI=<($r$9$k(B.
226: $B$9$J$o$A(B, @code{[CPU $B;~4V(B ($BIC(B), GC $B;~4V(B ($BIC(B), $B%a%b%jNL(B ($B%o!<%I(B), $B7P2a;~4V(B ($BIC(B)]}
227: $B$J$k%j%9%H$rJV$9(B. 1 $B%o!<%I$ODL>o(B 4 $B%P%$%H$G$"$k(B.
228: @item
229: $B7W;;$N<B9T3+;O;~(B, $B=*N;;~$N(B @code{time()} $B$+$i(B, $B$=$N7W;;$KBP$9$k(B
230: CPU $B;~4V(B, GC $B;~4V$,$o$+$k(B.
231: @item
232: $B%a%b%jNL$OB?G\D9?t$G$O$J$$$?$a(B, $B$"$kCM$r1[$($k$HL50UL#$JCM$H$J$k$?$a(B
233: $B$"$/$^$G$bL\0B$H$7$FMQ$$$k$Y$-$G$"$k(B.
234: @item
235: @code{ctrl()} $B$d(B @code{cputime()} $B$K$h$j(B @code{cputime} $B%9%$%C%A$,(B
236: on $B$K$J$C$F$$$k>l9g$K$O(B, $B%H%C%W%l%Y%k$NJ8$r0l$D$NC10L$H$7$F(B,
237: $B$=$N<B9T;~4V$,I=<($5$l$k(B. $B$7$+$7(B, $B%W%m%0%i%`$NFbIt$J$I$G(B, $BFCDj$N(B
238: $B7W;;$KBP$9$k7W;;;~4V$rCN$j$?$$;~$K$O(B, @code{time()} $B$J$I$r;H$&(B
239: $BI,MW$,$"$k(B.
240: @item
241: @code{getrusage()} $B$,;H$($k(B UNIX $B>e$G$O(B @code{time()} $B$O?.Mj@-$N$"$kCM(B
242: $B$rJV$9$,(B, Windows 95, 98 $B>e$G$O;~9o$rMQ$$$k$[$+J}K!$,$J$$$?$a7P2a;~4V$=$N$b$N(B
243: $B$,I=<($5$l$k(B. $B$h$C$F(B, $BBT$A>uBV$,$"$k$H(B, $B$=$l$b7P2a;~4V$K2C;;$5$l$k(B.
244: @end itemize
245:
246: @example
247: [72] T0=time();
248: [2.390885,0.484358,46560,9.157768]
249: [73] G=hgr(katsura(4),[u4,u3,u2,u1,u0],2)$
250: [74] T1=time();
251: [8.968048,7.705907,1514833,63.359717]
252: [75] ["CPU",T1[0]-T0[0],"GC",T1[1]-T0[1]];
253: [CPU,6.577163,GC,7.221549]
254: @end example
255:
256: @table @t
257: @item $B;2>H(B
258: @fref{cputime tstart tstop}.
259: @end table
260:
261: @node cputime tstart tstop,,, $B$=$NB>(B
262: @subsection @code{cputime}, @code{tstart}, @code{tstop}
263: @findex cputime
264: @findex tstart
265: @findex tstop
266:
267: @table @t
268: @item cputime(@var{onoff})
269: :: $B0z?t$,(B 0 $B$J$i$P(B @code{cputime} $B$NI=<($r;_$a$k(B. $B$=$l0J30$J$i$PI=<($r9T$&(B.
270: @item tstart()
271: :: CPU time $B7WB,3+;O(B.
272: @item tstop()
273: :: CPU time $B7WB,=*N;$*$h$SI=<((B.
274: @end table
275:
276: @table @var
277: @item return
278: 0
279: @item onoff
280: $B%U%i%0(B ($BG$0U(B)
281: @end table
282:
283: @itemize @bullet
284: @item
285: @code{cputime()} $B$O(B, $B0z?t$,(B 0 $B$J$i$P(B CPU time $B$NI=<($r;_$a$k(B. $B$=$l0J30$J$i$PI=<($r9T$&(B.
286: @item
287: @code{tsart} $B$O0z?t$J$7(B, @samp{()} $B$J$7$G(B, CPU time $B7WB,$r3+;O$9$k(B.
288: @item
289: @code{tstop} $B$O0z?t$J$7(B, @samp{()} $B$J$7$G(B, CPU time $B7WB,$r=*N;(B,
290: $B$*$h$SI=<($9$k(B.
291: @item
292: @code{cputime(@var{onoff})} $B$O(B @code{ctrl("cputime",@var{onoff})} $B$HF1$8$G$"$k(B.
293: @item
294: @code{tstart}, @code{tstop} $B$O(B, $BF~$l;R$K$7$F;H$o$l$k$3$H$OA[Dj$7$F$$$J$$(B
295: $B$?$a(B, $B$=$N$h$&$J2DG=@-$,$"$k>l9g$K$O(B, @code{time()} $B$K$h$k7WB,$r9T$&(B
296: $BI,MW$,$"$k(B.
297: @item
298: @code{cputime()} $B$K$h$k(B on, off $B$O(B, $BC1$KI=<($N(B on, off $B$G$"$j(B, $B%H%C%W%l%Y%k(B
299: $B$N0l$D$NJ8$KBP$9$k7WB,$O>o$K9T$o$l$F$$$k(B. $B$h$C$F(B, $B7W;;$r;O$a$F$+$i$G$b(B,
300: $B7W;;=*N;A0$K%G%P%C%,$KF~$C$F(B @code{cputime(1)} $B$r<B9T$5$;$l$P7W;;;~4V$O(B
301: $BI=<($5$l$k(B.
302: @end itemize
303:
304: @example
305: [49] tstart$
306: [50] fctr(x^10-y^10);
307: [[1,1],[x+y,1],[x^4-y*x^3+y^2*x^2-y^3*x+y^4,1],[x-y,1],
308: [x^4+y*x^3+y^2*x^2+y^3*x+y^4,1]]
309: [51] tstop$
310: 80msec + gc : 40msec
311: @end example
312:
313: @table @t
314: @item $B;2>H(B
315: @fref{time}, @fref{ctrl}.
316: @end table
317:
318: @node heap,,, $B$=$NB>(B
319: @subsection @code{heap}
320: @findex heap
321:
322: @table @t
323: @item heap()
324: :: $B8=:_$N%R!<%W$NBg$-$5$rJV$9(B. ($BC10L(B:$B%P%$%H(B)
325: @end table
326:
327: @table @var
328: @item return
329: $B<+A3?t(B
330: @end table
331:
332: @itemize @bullet
333: @item
334: $B8=:_$N%R!<%W$NBg$-$5(B($BC10L(B : $B%P%$%H(B) $B$rJV$9(B. $B%R!<%W$H$O(B, @b{Asir} $B$N(B
335: $B$5$^$6$^$J?t<0$d(B, $B%f!<%6%W%m%0%i%`$J$I$,$*$+$l$k%a%b%j$NNN0h$G(B, $B%,!<%Y%8(B
336: $B%3%l%/%?$K$h$j4IM}$5$l$F$$$k(B. $B%W%m%0%i%`$NF0:nCf$O(B, $B%R!<%W$NBg$-$5$O(B
337: $BC1D4Hs8:>/$G$"$j(B, $B<B%a%b%j$NNL$r$3$($FBg$-$/$J$C$?>l9g$K$O(B, OS $B$K$h$k(B
338: $B%9%o%C%W%(%j%"$X$NFI$_=q$-$,$[$H$s$I$N7W;;;~4V$r@j$a$k$3$H$K$J$k(B.
339: @item
340: $B<B%a%b%j$,>/$J$$>l9g$K$O(B, $B5/F0;~$N(B @code{-adj} $B%*%W%7%g%s$K$h$j(B,
341: GC $B<gBN$N@_Dj$r9T$C$F$*$/I,MW$,$"$k(B.
342: @end itemize
343:
344: @example
345: % asir -adj 16
346: [0] load("fctrdata")$
347: 0
348: [97] cputime(1)$
349: 0msec
350: [98] heap();
351: 524288
352: 0msec
353: [99] fctr(Wang[8])$
354: 3.190sec + gc : 3.420sec
355: [100] heap();
356: 1118208
357: 0msec
358: [101] quit;
359: % asir
360: [0] load("fctrdata")$
361: 0
362: [97] cputime(1)$
363: 0msec
364: [98] heap();
365: 827392
366: 0msec
367: [99] fctr(Wang[8])$
368: 3.000sec + gc : 1.180sec
369: [100] heap();
370: 1626112
371: 0msec
372: [101] quit;
373: @end example
374:
375: @table @t
376: @item $B;2>H(B
377: @fref{$B%3%^%s%I%i%$%s%*%W%7%g%s(B}.
378: @end table
379:
380: @node version,,, $B$=$NB>(B
381: @subsection @code{version}
382: @findex version
383:
384: @table @t
385: @item version()
386: :: @b{Asir} $B$N%P!<%8%g%s$rJV$9(B.
387: @end table
388:
389: @table @var
390: @item return
391: $B<+A3?t(B
392: @end table
393:
394: @itemize @bullet
395: @item
396: @b{Asir} $B$N%P!<%8%g%s$r(B 10 $B?J(B 6 $B7e$N<+A3?t$GJV$9(B. $B:G=i$N(B 2 $B7e$,(B
397: $B@>Nq$N2<(B 2 $B7e(B, $B<!$N(B 2 $B7e$,7n(B, $B:G8e$N(B 2 $B7e$,F|$rI=$9(B.
398: @end itemize
399:
400: @example
401: [0] version();
402: 990831
403: @end example
404:
405: @node shell,,, $B$=$NB>(B
406: @subsection @code{shell}
407: @findex shell
408:
409: @table @t
410: @item shell(@var{command})
411: :: @var{command} $B$r%7%'%k%3%^%s%I$H$7$F<B9T$9$k(B.
412: @end table
413:
414: @table @var
415: @item return
416: $B<+A3?t(B
417: @item command
418: $BJ8;zNs(B
419: @end table
420:
421: @itemize @bullet
422: @item
423: @var{command} $B$r(B C $B$N(B @code{system()} $BH!?t$K$h$j%7%'%k%3%^%s%I$H$7$F<B9T$9$k(B.
424: $B%7%'%k$N=*N;%9%F!<%?%9$rJV$9(B.
425: @end itemize
426:
427: @example
428: [0] shell("ls");
429: alg da katsura ralg suit
430: algt defs.h kimura ratint test
431: alpi edet kimura3 robot texput.log
432: asir.o fee mfee sasa wang
433: asir_symtab gr mksym shira wang_data
434: base gr.h mp snf1 wt
435: bgk help msubst solve
436: chou hom p sp
437: const ifplot proot strum
438: cyclic is r sugar
439: 0
440: [1]
441: @end example
442:
443: @node map,,, $B$=$NB>(B
444: @subsection @code{map}
445: @findex map
446:
447: @table @t
448: @item map(@var{function},@var{arg0},@var{arg1},...)
449: :: $B%j%9%H(B, $BG[Ns$N3FMWAG$KH!?t$rE,MQ$9$k(B.
450: @end table
451:
452: @table @var
453: @item return
454: @var{arg0} $B$HF1$87?$N%*%V%8%'%/%H(B
455: @item function
456: $BH!?tL>(B
457: @item arg0
458: $B%j%9%H(B, $B%Y%/%H%k(B, $B9TNs(B
459: @item arg1, ...
460: $BG$0U(B ($B;D$j$N0z?t(B)
461: @end table
462:
463: @itemize @bullet
464: @item
465: @var{arg0} $B$N3FMWAG$r:G=i$N0z?t(B, @var{arg1} $B0J2<$N;D$j$N0z?t$H$7$F(B
466: $BH!?t(B @var{function} $B$r8F$S=P$7(B, @var{arg0} $B$NBP1~$9$kMWAG$N0LCV$K(B
467: $BH!?t8F$S=P$7$N7k2L$,F~$C$?F1$87?$N%*%V%8%'%/%H$r@8@.$7$FJV$9(B.
468: @item
469: @var{function} $B$O(B, $B%@%V%k%/%)!<%H$N$J$$H!?tL>$rMQ$$$k(B.
470: @item
471: @var{function} $B$K%W%m%0%i%`JQ?t$O;H$($J$$(B.
472: @item
473: @var{arg0} $B$,%j%9%H(B, $B%Y%/%H%k(B, $B9TNs0J30$N>l9g(B, $BC1$K(B @var{arg0},
474: @var{arg1}, ... $B$r0z?t$H$7$F(B @var{function} $B$r8F$S=P$7$=$N(B
475: $B7k2L$rJV$9(B.
476: @end itemize
477:
478: @example
479: [82] def afo(X) @{ return X^3; @}
480: [83] map(afo,[1,2,3]);
481: [1,8,27]
482: @end example
483:
484: @node flist,,, $B$=$NB>(B
485: @subsection @code{flist}
486: @findex flist
487:
488: @table @t
489: @item flist()
490: :: $B8=:_Dj5A$5$l$F$$$kH!?tL>$rJ8;zNs%j%9%H$H$7$FJV$9(B.
491: @end table
492:
493: @table @var
494: @item return
495: $BJ8;zNs$N%j%9%H(B
496: @end table
497:
498: @itemize @bullet
499: @item
500: $B8=:_Dj5A$5$l$F$$$kAH$_9~$_H!?t(B, $B%f!<%6Dj5AH!?t$NH!?tL>$rJ8;zNs%j%9%H(B
501: $B$H$7$FJV$9(B.
502: @item
503: $B%7%9%F%`H!?t$N8e$K%f!<%6Dj5AH!?t$,B3$/(B.
504: @end itemize
505:
506: @example
507: [77] flist();
508: [defpoly,newalg,mainalg,algtorat,rattoalg,getalg,alg,algv,...]
509: @end example
510:
511: @node delete_history,,, $B$=$NB>(B
512: @subsection @code{delete_history}
513: @findex delete_history
514:
515: @table @t
516: @item delete_history([@var{index}])
517: :: $B%R%9%H%j$r>C5n$9$k(B.
518: @end table
519:
520: @table @var
521: @item return
522: 0
523: @item index
524: $B>C5n$7$?$$%R%9%H%j$NHV9f(B
525: @end table
526:
527: @itemize @bullet
528: @item
529: $B0z?t$,$J$$$H$-(B, $B$3$l$^$G7W;;$7$?%R%9%H%j$rA4$F>C5n$9$k(B.
530: @item
531: $B0z?t$,$"$k$H$-(B, $B$=$NHV9f$N7k2L$N$_>C5n$9$k(B.
532: @item
533: $B$3$3$G%R%9%H%j$H$O(B, $BHV9f$D$-$N%W%m%s%W%H$KBP$7$F$NF~NO$rI>2A$7$FF@$i$l$?<0(B
534: $B$G(B, $B$3$N<0$O(B @code{@@@var{number}} $B$K$h$j<h$j=P$9$3$H$,$G$-$k(B. $B$3$N$3$H$O(B,
535: $B%,!<%Y%C%8%3%l%/%7%g%s$N:]$K$b$3$N<0$,@8$-;D$k$3$H$r0UL#$9$k(B.
536: @item
537: $BBg$-$J<0$,%R%9%H%j$H$7$F;D$C$?>l9g(B, $B0J9_$N%a%b%j4IM}$K;Y>c$rMh$9>l9g$,B?$$(B
538: $B$?$a(B, @code{bsave()} $B$J$I$G%U%!%$%k$K%;!<%V$7$F(B, @code{delete_history()}
539: $B$K$h$j%R%9%H%j$r>C5n$7$F$*$/$N$,M-8z$G$"$k(B.
540: @end itemize
541:
542: @example
543: [0] (x+y+z)^100$
544: [1] @@0;
545: ...
546: [2] delete_history(0);
547: [3] @@0;
548: 0
549: @end example
550:
551: @node get_rootdir,,, $B$=$NB>(B
552: @subsection @code{get_rootdir}
553: @findex get_rootdir
554:
555: @table @t
556: @item get_rootdir()
557: :: Asir $B$N%k!<%H%G%#%l%/%H%jL>$r<h$j=P$9(B
558: @end table
559:
560: @table @var
561: @item return
562: $BJ8;zNs(B
563: @end table
564:
565: @itemize @bullet
566: @item
567: UNIX $BHG$N>l9g(B, $B4D6-JQ?t(B @code{ASIR_LIBDIR} $B$,Dj5A$5$l$F$$$k>l9g$K$O$=$NCM(B, $B$5$l$F$$$J$$>l9g(B
568: $B$K$O(B @samp{/usr/local/lib/asir} $B$rJV$9(B.
569: @item
570: Windows $BHG$N>l9g(B, @samp{asirgui.exe} $B$N$"$k%G%#%l%/%H%j(B (@samp{bin} $B$H$$$&L>A0$N$O$:$G$"$k(B)
571: $B$N?F%G%#%l%/%H%j$,JV$5$l$k(B.
572: @item
573: $B$3$N4X?t$,JV$9%G%#%l%/%H%jL>$r4p=`$H$7$?AjBP%Q%9L>$r;XDj$9$k$3$H$K$h$j(B, $B%$%s%9%H!<%k(B
574: $B$5$l$?>l=j$K$h$i$J$$%U%!%$%kFI$_9~$_%W%m%0%i%`$r=q$/$3$H$,$G$-$k(B.
575: @end itemize
576:
577:
578:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>