Annotation of OpenXM/src/asir-doc/exp/exp-ja.texi, Revision 1.4
1.4 ! takayama 1: %% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.3 2004/03/18 05:45:08 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
41: @subtitle 2004 $BG/(B 3 $B7n(B
42:
43: @author by Risa/Asir comitters
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.1 takayama 116: @end menu
117:
1.3 takayama 118: @comment --- $B"~"~"~"~(B $B4X?t(B quotetotex, quotetotex_env $B$N@bL@(B $B"~"~"~"~(B
1.1 takayama 119: @comment --- $B8D!9$N4X?t$N@bL@$N3+;O(B ---
120: @comment --- section $BL>$r@53N$K(B ---
1.2 takayama 121: @node quotetotex quotetotex_env,,, $B<B83E*;EMM$N4X?t(B
122: @subsection @code{quotetotex}, @code{quotetotex_env}
1.1 takayama 123: @comment --- $B:w0zMQ%-!<%o!<%I(B
1.2 takayama 124: @findex quotetotex
125: @findex quotetotex_env
1.1 takayama 126:
127: @comment --- $B4X?t$N4JC1$J@bL@(B ---
128: @table @t
1.2 takayama 129: @item quotetotex(@var{q})
130: :: @var{q} $B$r(B latex $B7A<0$GI=8=$7$?J8;zNs$KJQ49$9$k(B.
131: @item quotetotex_env(@var{key},@var{value})
132: :: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$rJQ99$9$k(B.
133: @item quotetotex_env()
134: :: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$N8=:_CM$rLa$9(B.
135: @item quotetotex_env(0)
136: :: quotetotex $B$NF0:n$r@)8f$9$k%Q%i%a!<%?$r%G%U%)!<%k%HCM$KLa$9(B.
1.1 takayama 137: @end table
138:
139: @comment --- $B0z?t$N4JC1$J@bL@(B ---
140: @table @var
141: @item return
1.2 takayama 142: $BJ8;zNs(B(quotetotex) $B$^$?$O(B $B%j%9%H$^$?$O%*%V%8%'%/%H(B(quotetotex_env)
143: @item q
144: quote
145: @item key
146: $BJ8;zNs(B
147: @item value
148: $B%*%V%8%'%/%H(B
1.1 takayama 149: @end table
150:
151: @comment --- $B$3$3$G4X?t$N>\$7$$@bL@(B ---
152: @comment --- @itemize$B!A(B@end itemize $B$O2U>r=q$-(B ---
153: @comment --- @bullet $B$O9uE@IU$-(B ---
154: @itemize @bullet
155: @item
1.2 takayama 156: quotetotex $B$O(B @var{q} $B$r(B latex $B7A<0$GI=8=$7$?J8;zNs$KJQ49$9$k(B.
157: @item
158: $B0J2<(B quotetotex_env $B$N%Q%i%a!<%?$N0UL#$r@bL@$9$k(B.
159: @item
160: conv_rule: 3 $B%S%C%H$rMQ$$$FJQ49%k!<%k$r;XDj$9$k(B.
161: 0$B%S%C%HL\$O(B symbol_table $B$K$h$kJQ49$r9T$&$+(B,
162: 1$B%S%C%HL\$OE:;zJQ49$r9T$&$+(B,
1.3 takayama 163: 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 164: $B$r0UL#$9$k(B.
165: $B$?$H$($P(B conv_rule $B$H$7$F(B 3 $B$r;XDj$9$k$H(B,
166: 0$B%S%C%HL\(B, 1 $B%S%C%HL\$,(B 1 $B$H$J$k$N$G(B
167: symbol_table $B$K$h$kJQ49$r9T$$(B, $BE:;zJQ49$r$*$3$J$&(B.
168: $BE:;zJQ49$O?t;z$H1Q;z$N6-L\$*$h$S(B _ $B5-9f$r6h@Z$j$H$9$k(B.
169: symbol_table $B$K$h$kJQ49$,:G=i$KE,MQ$5$l$k(B.
170: alpha, beta, $BEy$O<+F0E*$r%.%j%7%cJ8;z$KJQ49$9$k%F!<%V%k$O(B
171: $BFbB"$:$_(B.
172: @item
173: dp_vars_prefix: $BJ,;6I=8=B?9`<0$O(B
174: @tex
175: $x_0, x_1, \cdots$
176: @end tex
1.3 takayama 177: $B$NB?9`<0$H$7$F(B latex $B7A<0$KJQ49$5$l$k$,$3$N(B
1.2 takayama 178: x $B$NItJ,$rJQ99$9$k(B.
1.1 takayama 179: @item
1.2 takayama 180: dp_vars_hweyl: $BJ,;6I=8=B?9`<0$r%o%$%kBe?t$N85$H$_$J$7$F(B
1.3 takayama 181: latex $B7A<0$KJQ49$9$k(B.
1.2 takayama 182: $B6v?t8DJQ?t$,$"$k$H$-$O(B $B:G=i$NH>J,$r(B
183: @tex
184: $x_0, x_1, \cdots$
185: @end tex
186: $B$K(B
187: $B8eH>$NH>J,$r(B
188: @tex
189: $\partial_0, \partial_1, \cdots$
190: @end tex
191: $B$KJQ49$9$k(B.
192: $B4q?t8D$N>l9g$O:G8e$NJQ?t$,F1;~2=JQ?t$H$7$F(B h $B$GI=<($5$l$k(B.
193: @item
194: conv_func: $B%f!<%6Dj5A$NJQ494X?t$r$h$V(B.
195: @item
196:
1.1 takayama 197: @end itemize
198:
199: @comment --- @example$B!A(B@end example $B$O<B9TNc$NI=<((B ---
200: @example
1.2 takayama 201: [3] quotetotex(quote(1/(x+1)));
202: \frac@{ 1@} @{ ( @{x@}+ 1)@}
203: [4] quotetotex(objtoquote(diff(x^x,x)));
204: @{x@}^@{ @{x@}- 1@} @{x@}+ \log( @{x@}) @{x@}^@{ @{x@}@}
205: [5] quotetotex_env("conv_rule",3);
206: [6] quotetotex(objtoquote( (alpha2beta+x_i_j)^2));
207: @{\alpha@}_@{2,\beta@}^@{ 2@} + 2 @{x@}_@{i,j@} @{\alpha@}_@{2,\beta@}+ @{x@}_@{i,j@}^@{ 2@}
1.1 takayama 208: @end example
209:
210: @comment --- $B;2>H(B($B%j%s%/(B)$B$r=q$/(B ---
211: @table @t
212: @item $B;2>H(B
1.2 takayama 213: @ref{objtoquote}
1.3 takayama 214: print_tex_form(contrib)
1.1 takayama 215: @end table
216:
217: @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
218: @noindent
219: ChangeLog
220: @itemize @bullet
1.3 takayama 221: @item $B$3$N4X?t$O(B 2004$BG/(B2$B7nKv$+$i(B3$B7n$K$+$1$F(B asir $B$r(B
222: knoppix $BHG(B texmacs $B$KBP1~$5$;$k$?$a$K=q$+$l$?(B.
223: Asir-contrib $B$N(B print_tex_form $B$,$=$N867?$G$"$j(B, $B$=$l$r8zN(2=$7$^$?(B
1.2 takayama 224: $B=PNO7A<0$r2~A1$7$?(B.
1.3 takayama 225: OpenXM/src/kxx/ox_texmacs.c, OpenXM/src/texmacs $B$b;2>H(B.
226: @item OpenXM/src/asir-contrib/packages/src/noro_print.rr 1.1--1.8,
227: noro_print_default.rr 1.1--1.3 $B$b;2>H(B.
228: @item $BJQ99$r<u$1$?%U%!%$%k$O(B OpenXM_contrib2/asir2000 $B$N2<$N<!$N%U%!%$%k(B.
229: builtin/strobj.c 1.14--1.43,
230: include/ca.h 1.46, io/cexpr.c 1.18, io/pexpr.c 1.32, io.sexpr.c 1.29,
231: parse/arith.c 1.12, parse/parse.h 1.28--1.29,
232: parse/quote.c 1.7--1.8, 1.12.
233: @item
234: knoppix/math $B$O(B $BJ!2,Bg3X$N_@ED$5$s$,Cf?4$H$J$j3+H/$5$l$F$$$k(B.
235: @end itemize
236:
237:
238:
239: @comment --- $B"~"~"~"~(B $B4X?t(B objtoquote $B$N@bL@(B $B"~"~"~"~(B
240: @node objtoquote,,, $B<B83E*;EMM$N4X?t(B
241: @subsection @code{objtoquote}
242: @findex objtoquote
243:
244: @comment --- $B4X?t$N4JC1$J@bL@(B ---
245: @table @t
246: @item objtoquote(@var{ob})
247: :: $B%*%V%8%'%/%H$H(B quote $B7?$N%G!<%?$KJQ49$9$k(B.
248: @end table
249:
250: @table @var
251: @item return
252: quote
253: @item ob
254: $B%*%V%8%'%/%H(B
255: @end table
256:
257: @itemize @bullet
258: @item
259: @code{objtoquote(ob)} $B$O(B, @var{ob} $B$r(B quote $B7?$N%G!<%?$KJQ49$9$k(B.
260: @end itemize
261:
262: @example
263: [1150] quotetolist(quote(1+2));
264: [b_op,+,[internal,1],[internal,2]]
265: [1151] quotetolist(objtoquote(1+x));
266: [b_op,+,[internal,x],[internal,1]]3
267: @end example
268:
269: @table @t
270: @item $B;2>H(B
271: @ref{quotetotex} @ref{quotetolist}
272: @end table
273:
274: @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
275: @noindent
276: ChangeLog
277: @itemize @bullet
278: @item $B$3$N4X?t$O(B quotetotex $B$NA0=hM}$r$9$k$?$a$K=q$+$l$?(B.
279: @item asir-contrib $B$N4X?t(B quote_to_quote $B$b;2>H(B.
280: @item OpenXM_contrib2/asir2000/builtin/print.c 1.16.
281: @end itemize
282:
283:
284: @comment --- $B"~"~"~"~(B $B4X?t(B copyright $B$N@bL@(B $B"~"~"~"~(B
285: @node copyright,,, $B<B83E*;EMM$N4X?t(B
286: @subsection @code{copyright}
287: @findex copyright
288:
289: @comment --- $B4X?t$N4JC1$J@bL@(B ---
290: @table @t
291: @item copyright()
292: :: Risa/Asir $B$N(B copyright $BI=<($rJ8;zNs$H$7$FLa$9(B.
293: @end table
294:
295: @table @var
296: @item return
297: $BJ8;zNs(B
298: @end table
299:
300: @itemize @bullet
301: @item
302: Risa/Asir $B$N(B copyright $BI=<($rJ8;zNs$H$7$FLa$9(B.
303: @end itemize
304:
305: @example
306: [1150] copyright();
307: This is Risa/Asir, Version 20040312 (Kobe Distribution).
308: Copyright (C) 1994-2000, all rights reserved, FUJITSU LABORATORIES LIMITED.
309: Copyright 2000-2003, Risa/Asir committers, http://www.openxm.org/.
310: GC 6.2(alpha6) copyright 1988-2003, H-J. Boehm, A. J. Demers, Xerox, SGI, HP.
311: PARI 2.0.17, copyright 1989-1999, C. Batut, K. Belabas, D. Bernardi,
312: H. Cohen and M. Olivier.
313: @end example
314:
315: @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
316: @noindent
317: ChangeLog
318: @itemize @bullet
319: @item $B$3$N4X?t$O(B texmacs $BMQ$K=q$+$l$?(B (2004-03).
320: @item OpenXM_contrib2/asir2000 $B$N2<$N0J2<$N%U%!%$%k$r$_$h(B. builtin/miscf.c 1.21,
321: parse/glob.c 1.47.
322: @end itemize
323:
324:
325:
326: @comment --- $B"~"~"~"~(B $B4X?t(B string_to_tb, ... $B$N@bL@(B $B"~"~"~"~(B
327: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
328: @node string_to_tb tb_to_string write_to_tb,,, $B<B83E*;EMM$N4X?t(B
329: @subsection @code{string_to_tb}, @code{tb_to_string}, @code{write_to_tb}
330: @findex string_to_tb
331: @findex tb_to_string
332: @findex write_to_tb
333:
334: @comment --- $B4X?t$N4JC1$J@bL@(B ---
335: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
336: @table @t
337: @item string_to_tb(@var{s})
338: @itemx tb_to_string(@var{tb})
339: @itemx write_to_tb(@var{s},@var{tb})
340: :: $BJ8;zNs2DJQD9G[Ns7?(B(text buffer)$B$N%G!<%?$N=hM}(B
341: @end table
342:
343: @table @var
344: @item return
345: $BJ8;zNs2DJQD9G[Ns7?(B(string_to_tb), $BJ8;zNs7?(B(tb_to_string)
346: @item s
347: $BJ8;zNs(B
348: @item tb
349: $BJ8;zNs2DJQD9G[Ns7?(B
350: @end table
351:
352: @itemize @bullet
353: @item
354: @code{string_to_tb(@var{s})} $B$O(B, $BJ8;zNs(B @var{s} $B$r$O$8$a$NMWAG$H$9$k(B
355: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H$r@8@.$9$k(B.
356: @item
357: @code{tb_to_string_(@var{tb})} $B$O(B,
358: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H(B @var{tb} $B$+$iDL>o$NJ8;zNs%*%V%8%'%/%H$r@8@.$9$k(B.
359: @item
360: @code{write_to_tb(@var{s},@var{tb})} $B$O(B, $BJ8;zNs(B @var{s} $B$r(B
361: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H(B @var{tb} $B$X=q$-=P$9(B.
362: @item @var{SS} $B$rJ8;zNsJQ?t$H$9$k$H$-(B,
363: @var{SS} += "$BJ8;zNs(B" $B$G(B @var{SS} $B$XJ8;zNs$r=q$-B-$7$F$$$/$3$H$,$G$-$k$,(B,
364: $BL5BL$J%a%b%j$rBgNL$K>CHq$9$k(B.
365: $BBe$j$K4X?t(B @code{write_to_tb} $B$rMQ$$$k$Y$-$G$"$k(B.
366: $BJ8;zNs2DJQD9G[Ns7?%*%V%8%'%/%H$OJ8;zNs$N2DJQD9$NG[Ns$G$"$j%a%b%j4IM}$KM%$7$$(B
367: $B%G!<%?9=B$$G$"$k(B.
368: @end itemize
369:
370: @example
371: [219] T=string_to_tb("");
372:
373: [220] write_to_tb("Hello",T);
374: 0
375: [221] write_to_tb(" world!",T);
376: 0
377: [222] tb_to_string(T);
378: Hello world!
379: @end example
380:
381:
382: @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
383: @noindent
384: ChangeLog
385: @itemize @bullet
386: @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.
387: @item OpenXM_contrib2/asir2000 $B$N2<$N0J2<$N%U%!%$%k$r8+$h(B.
388: io/ox_asir.c 1.52, builtin/strobj.c 1.12--1.13, 1.16,
389: engine/str.c 1.5, parse/quote.c 1.9.
390: @end itemize
391:
392:
393:
394: @comment --- $B"~"~"~"~(B $B4X?t(B dp_gr_main $B$N@bL@(B $B"~"~"~"~(B
395: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
396: @node dp_gr_main,,, $B<B83E*;EMM$N4X?t(B
397: @subsection @code{dp_gr_main}
398: @findex dp_gr_main
399:
400: @comment --- $B4X?t$N4JC1$J@bL@(B ---
401: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
402: @table @t
403: @item dp_gr_main(@var{f} | v=@var{vv}, order=@var{oo}, homo=@var{n}, matrix=@var{m}, block=@var{b}, sugarweight=@var{sw})
404: :: dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9(B.
405: @end table
406:
407: @table @var
408: @item return
409: $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)
410: @item f
411: $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)
412: @item vv
413: $B%j%9%H(B ($BJQ?t$N%j%9%H(B)
414: @item oo
415: $B%j%9%H(B ($B=g=x$r$"$i$o$9%j%9%H(B)
416: @item n
417: 0 $B$+(B1 (homogenization $B$r$9$k$+(B)
418: @item m
419: $B=g=x$r(B matrix $B$GI=8=$9$k>l9g(B (cf. dp_ord).
420: @item b
421: ???
422: @item sw
423: Sugar strategy $B$rE,MQ$9$k$H$-$N(B weight vector.
424: @end table
425:
426: @itemize @bullet
427: @item
428: @code{dp_gr_main(@var{f})} $B$O(B, @var{f} $B$N%0%l%V%J4pDl$r7W;;$9$k(B.
429: $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
430: $B7OE}$@$C$F$$$J$+$C$?(B.
431: dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
432: @comment ~taka/this03/misc-2003/A2/dp
433: @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.
434: @verbatim
435: order : '[' orderElement { ',' orderElement } ']'
436: orderElemnt : weightVec | builtinOrder
437: weightVec : '[' weightElement { ',' weightElement } ']'
438: builtiniOrder : '[' orderName ',' setOfVariables ']'
439: weightElement : NUMBER | setOfVariables ',' NUMBER
440: setOfVariables: V | range(V,V)
441: ornderName : @grlex | @glex | @lex
442: @end verbatim
443: $B$3$3$G(B @code{V} $B$O(B $BJQ?tL>(B, @code{NUMBER} $B$O@0?t$r$"$o$i$9(B.
444: $BNc(B1: @code{v=[x,y,z,u,v], order=[[x,10,y,5,z,1],[@@grlex,range(x,v)]]}
445: $B$O(B @code{x},@code{y},@code{z} $B$,$=$l$>$l(B weight 10, 5, 1 $B$r$b$D(B
446: $B=g=x$GHf3S$7$?$"$H(B, @code{[x,y,z,u,v]} $B$K$D$$$F$N(B
447: graded reverse lexicographic order $B$r(B tie-breaker $B$H$7$FMQ$$$k$3$H$r0UL#$9$k(B.
448: $B;29M=q(B: SST, S, $BEy(B.
449: @item
450: order $B$N(B tie-breaker $B$O(B grlex $B$,%G%U%)!<%k%H(B.
451: @item
452: $BJ,;6I=8=B?9`<0$r0z?t$H$7$?$H$-$O7k2L$bJ,;6I=8=B?9`<0$H$7$FLa$k(B.
453: 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.
454: @end itemize
455:
456: @example
457: [218] load("cyclic");
458: [219] V=vars(cyclic(4));
459: [c0,c1,c2,c3]
460: [220]dp_gr_main(cyclic(4) | v=V, order=[[c0,10,c1,1],[c2,5],[@@grlex,range(c0,c3)]]);
461: [ 10 1 0 0 ]
462: [ 0 0 5 0 ]
463: [ R R R R ]
464: [(-c3^6+c3^2)*c2^2+c3^4-1,c3^2*c2^3+c3^3*c2^2-c2-c3,
465: (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,
466: c0+c1+c2+c3]
467:
468: [1151] F=map(dp_ptod,katsura(4), vars(katsura(4)));
469: [(1)*<<1,0,0,0,0>>+(2)*<<0,1,0,0,0>>+ ... ]
470: [1152] dp_gr_main(F | order=[[range(x0,x3),1]]);
471: [ 1 1 1 1 0 ]
472: [ R R R R R ]
473: [(47774098944)*<<0,0,0,0,13>>+ ... ]
474: @end example
475:
476: @table @t
477: @item $B;2>H(B
478: @ref{xyz_abc}
479: @end table
480:
481: @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
482: @noindent
483: ChangeLog
484: @itemize @bullet
485: @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.
486: @item
487: @code{setOfVariables}$B$NI=8=$N$?$a$K(B range $B%*%V%8%'%/%H$,F3F~$5$l$?(B.
488: @item
489: $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
490: $B7OE}$@$C$F$$$J$+$C$?(B.
491: dp_gr_main $B$N?7$7$$%$%s%?%U%'!<%9$G$O=g=x$r$"$kJ8K!$K=>$$;XDj$9$k(B.
492: @item
493: OpenXM_contrib2/asir2000 $B$N2<$N<!$N3F%U%!%$%k$,=$@5$r$&$1$?(B.
494: builtin/gr.c 1.56--1.57,
495: builtin/dp-supp.c 1.27--1.31 (create_composite_order_spec),
496: builtin/dp.c 1.46--1.48 (parse_gr_option),
497: engine/Fgfs.c 1.20,
498: engine/dist.c 1.27--1.28
499: engine/nd.c 1.89,
500: include/ca.h 1.42--1.43,
501: io/pexpr.c 1.28,
502: io/sexpr.c 1.26,
503: parse/arith.c 1.11,
504: parse/glob.c 1.44-1.45,
505: parse/lex.c 1.29,
506: parse/parse.h 1.23--1.26
1.1 takayama 507: @end itemize
508:
509: @comment --- $B"~"~"~"~(B $B4X?t(B syz_pqr, xyz_stu $B$N@bL@(B $B"~"~"~"~(B
510: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
1.3 takayama 511: @node asir-install.sh,,, $B<B83E*;EMM$N4X?t(B
512: @subsection @code{asir-port.sh}, @code{asir-install.sh}
513: @findex asir-port.sh
514: @findex asir-install.sh
1.1 takayama 515:
516: @comment --- $B4X?t$N4JC1$J@bL@(B ---
517: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
518: @table @t
1.3 takayama 519: @item asir-install.sh
520: @itemx asir-port.sh
521: :: $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
522: @end table
523:
524:
525: @itemize @bullet
526: @item
527: asir-port.sh $B$O(B knoppix $B@lMQ$G$"$k(B.
528: $B$3$N%3%^%s%I$O(B asir $B$N%P%$%J%j$*$h$S(B FFL $B$GG[I[$G$-$J$$ItJ,$r(B
529: ftp.math.kobe-u.ac.jp $B$h$j%@%&%s%m!<%I$7$F(B
530: /home/knoppix/.asir-tmp $B$X%;!<%V$7$F(B, $B<B9T$9$k(B.
531: .asirrc $B$*$h$S(B .TeXmacs/plugins/ox/progs/init-ox.scm $B$b%@%&%s%m!<%I$9$k(B.
532: @item
533: asir-install.sh $B$O(B Debian GNU Linux / openxm-binary*.deb $B@lMQ$G$"$k(B.
534: asir-install.sh $B$O(B asir $B$r%@%&%s%m!<%I$7$F(B /usr/local/OpenXM/bin $B$*$h$S(B
535: /usr/local/OpenXM/lib/asir $B$X%$%s%9%H!<%k$9$k(B.
536: @end itemize
537:
538:
539: @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
540: @noindent
541: ChangeLog
542: @itemize @bullet
543: @item
544: $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.
545: @item
546: knoppix/math $B$OJ!2,Bg3X$N_@ED$5$s$,Cf?4$H$J$j3+H/$5$l$F$$$k(B.
547: @item
548: OpenXM/misc/packages/Linux/Debian $B$N2<$NA4$F$N%U%!%$%k(B (2004-2-22 $B$+$i(B
549: 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.)
550: OpenXM/src/asir-port $B$N2<$N<!$N3F%U%!%$%k(B.
551: Makefile 1.1--1.8, asir-install.sh 1.1--1.2, asir-port.sh 1.1--1.6.
552: @end itemize
553:
1.4 ! takayama 554:
! 555: @node get_struct_name,,, $B<B83E*;EMM$N4X?t(B
! 556: @subsection @code{get_struct_name}, @code{get_element_names}, @code{get_element_at}, @code{put_element_at}
! 557: @findex get_struct_name
! 558: @findex get_element_names
! 559: @findex get_element_at
! 560: @findex put_element_at
! 561:
! 562: @comment --- $B4X?t$N4JC1$J@bL@(B ---
! 563: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
! 564: @table @t
! 565: @item get_struct_name(@var{s})
! 566: @itemx get_element_names(@var{s})
! 567: @itemx get_element_at(@var{s},@var{key})
! 568: @itemx put_element_at(@var{s},@var{key},@var{obj})
! 569: :: $B9=B$BN(B @var{s} $B$KBP$9$kA`:n(B
! 570: @end table
! 571:
! 572: @table @var
! 573: @item return
! 574: $BJ8;zNs(B (get_struct_name),
! 575: $BJ8;zNs$N%j%9%H(B (get_element_names),
! 576: $B%*%V%8%'%/%H(B (get_element_at),
! 577: $B%*%V%8%'%/%H(B (put_element_at)
! 578: @item s
! 579: $B9=B$BN(B
! 580: @item key
! 581: $BJ8;zNs(B
! 582: @item obj
! 583: $B%*%V%8%'%/%H(B
! 584: @end table
! 585:
! 586: @itemize @bullet
! 587: @item
! 588: @code{get_struct_name(s)} $B$O(B, $B9=B$BN(B @var{s} $B$NL>A0$rLa$9(B.
! 589: @item
! 590: @code{get_element_names(s)} $B$O(B, $B9=B$BN$N%a%s%P!<$NL>A0$N%j%9%H$rLa$9(B.
! 591: @item
! 592: @code{get_element_at(s,key)} $B$O9=B$BN(B s $B$N%a%s%P!<(B key $B$NCM$rLa$9(B.
! 593: @item
! 594: @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.
! 595: @end itemize
! 596:
! 597: @example
! 598: [219] struct point { x, y, color};
! 599: [220] P = newstruct(point);
! 600: {0,0,0}
! 601: [221] P->x = 10$ P->y=5$ P->color="red"$
! 602: [222] get_element_names(P);
! 603: [x,y,color]
! 604: [223] put_element_at(P,"color","blue");
! 605: blue
! 606: [224] P->color;
! 607: bule
! 608: @end example
! 609:
! 610: @table @t
! 611: @item $B;2>H(B
! 612: @ref{newstruct}, @ref{struct}
! 613: @end table
! 614:
! 615: @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
! 616: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
! 617: @noindent
! 618: ChangeLog
! 619: @itemize @bullet
! 620: @item $B9=B$BN$NDj5A$rCN$i$:$K9=B$BN$r07$&%f!<%64X?t$r=q$/$H$-$KJXMx(B.
! 621: asir-contrib $B$N(B noro_print.rr $B$r8+$h(B.
! 622: @item OpenXM_contrib2/asir2000/builtin/compobj.c 1.8.
! 623: @end itemize
! 624:
1.3 takayama 625: @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 626: @comment --- $B"~"~"~"~(B $B4X?t(B syz_pqr, xyz_stu $B$N@bL@(B $B"~"~"~"~(B
! 627: @comment --- $BJ#?t$N4X?t$r$^$H$a$F@bL@$9$kNc(B ---
! 628: @node xyz_pqr,,, $B<B83E*;EMM$N4X?t(B
! 629: @subsection @code{xyz_pqr}, @code{syz_stu}
! 630: @findex xyz_pqr
! 631: @findex xyz_stu
! 632:
1.3 takayama 633: @comment --- $B4X?t$N4JC1$J@bL@(B ---
634: @comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B ---
635: @table @t
1.1 takayama 636: @item xyz_pqr(@var{arg1},@var{arg2}[,@var{flag}])
637: @itemx xyz_stu(@var{arg1},@var{arg2})
638: :: xyz $B$K4X$9$kA`:n(B.
639: @end table
640:
641: @table @var
642: @item return
643: $B@0?t(B
644: @item arg1, arg2
645: $B@0?t(B
646: @item flag
647: 0 $B$^$?$O(B 1
648: @end table
649:
650: @itemize @bullet
1.3 takayama 651: @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 652: @item
653: @code{xyz_pqr()} $B$O(B, @var{arg1}, @var{arg2} $B$r(B pqr $B$9$k(B.
654: @item
655: @var{flag} $B$,(B 0 $B$G$J$$$H$-(B, $B%b%8%e%i7W;;$r9T$&(B.
656: @item
657: @code{xyz_stu()} $B$O(B stu $B%"%k%4%j%:%`$rMQ$$$k(B.
658: @end itemize
659:
660: @example
661: [219] xyz_pqr(1,2);
662: 3
663: [220] xyz_pqr(1,2,1);
664: 3
665: 0
666: [221] xyz_stu(1,2);
667: 3
668: @end example
669:
670: @table @t
671: @item $B;2>H(B
672: @ref{xyz_abc}
673: @end table
674:
1.3 takayama 675: @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
676: @comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit.
1.1 takayama 677: @noindent
678: ChangeLog
679: @itemize @bullet
680: @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
681: http://www.afo.org/xyz.pdf ) $B$rMQ$$$F=q$-D>$5$l$?(B.
682: $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B xxxyy.rr, ppp.c $B$G$"$k(B.
683: @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.
684: @end itemize
685:
686: @comment --- $B"~"~"~"~(B $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B
687:
688:
689: @comment --- $B$*$^$8$J$$(B ---
690: @node Index,,, Top
691: @unnumbered Index
692: @printindex fn
693: @printindex cp
694: @iftex
695: @vfill @eject
696: @end iftex
697: @summarycontents
698: @contents
699: @bye
700: @comment --- $B$*$^$8$J$$=*$j(B ---
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>