bd8327fe9320c4284a860db6b690649aa82cd6ad
[scilab.git] / scilab / modules / core / help / ja_JP / 1_keywords / parentheses.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="parentheses">
3     <refnamediv>
4         <refname>parentheses</refname>
5         <refpurpose>( ) 左および右括弧</refpurpose>
6     </refnamediv>
7     <refsynopsisdiv>
8         <title>呼出し手順</title>
9         <synopsis>(expression)
10             [...]=func(e1,e2,...)
11             [x1,x2,...]=(e1,e2,...)
12             x(i,j)
13             v(i)
14             [...]=l(i)
15         </synopsis>
16     </refsynopsisdiv>
17     <refsection>
18         <title>パラメータ</title>
19         <variablelist>
20             <varlistentry>
21                 <term>x</term>
22                 <listitem>
23                     <para>任意の型の行列</para>
24                 </listitem>
25             </varlistentry>
26             <varlistentry>
27                 <term>v</term>
28                 <listitem>
29                     <para>任意の型の行または列ベクトル</para>
30                 </listitem>
31             </varlistentry>
32             <varlistentry>
33                 <term>l</term>
34                 <listitem>
35                     <para>リスト変数</para>
36                 </listitem>
37             </varlistentry>
38             <varlistentry>
39                 <term>func</term>
40                 <listitem>
41                     <para>任意の関数名a</para>
42                 </listitem>
43             </varlistentry>
44             <varlistentry>
45                 <term>e1,e2,...  </term>
46                 <listitem>
47                     <para>任意の型の式</para>
48                 </listitem>
49             </varlistentry>
50         </variablelist>
51     </refsection>
52     <refsection>
53         <title>説明</title>
54         <para>
55             左および右括弧は以下の用途で使用されます
56         </para>
57         <para>
58             *
59             式の中で評価の順序を指定します,
60         </para>
61         <para>
62             *
63             関数の右辺の引数のリストを作成します.
64             複数の右辺の引数の間はカンマで区切られる必要があります.
65         </para>
66         <para>
67             ベクトル,行列およびリストの中の要素を選択します.
68             詳細にについては,
69             展開および挿入のヘルプを参照ください.
70         </para>
71         <para>
72             *
73             [x1,x2,...]=(e1,e2,...) は,まず
74             %t_1 = e1, %t_2 = e2, ...,を実行した後,
75             x1 = %t_1, x2 = %t_2, ..., とすることに等価です.
76             ただし, 変数 %t_i, i = 1, 2, ...はユーザから不可視です.
77         </para>
78     </refsection>
79     <refsection>
80         <title>例</title>
81         <programlisting role="example"><![CDATA[
82 3^(-1)
83 x=poly(0,"x");
84 //
85 (x+10)/2
86 i3=eye(3,3)
87 //
88 a=[1 2 3;4 5 6;7 8 9],a(1,3),a([1 3],:),a(:,3)
89 a(:,3)=[]
90 a(1,$)=33
91 a(2,[$ $-1])
92 a(:,$+1)=[10;11;12]
93 //
94 w=ssrand(2,2,2);ssprint(w)
95 ssprint(w(:,1))
96 ss2tf(w(:,1))
97 //
98 l=list(1,2,3,4)
99 [a,b,c,d]=l(:)
100 l($+1)='new'
101 //
102 v=%t([1 1 1 1 1])
103 //
104 [x,y,z]=(1,2,3)
105  ]]></programlisting>
106     </refsection>
107     <refsection role="see also">
108         <title>参照</title>
109         <simplelist type="inline">
110             <member>
111                 <link linkend="colon">colon</link>
112             </member>
113             <member>
114                 <link linkend="comma">comma</link>
115             </member>
116             <member>
117                 <link linkend="brackets">brackets</link>
118             </member>
119             <member>
120                 <link linkend="list">list</link>
121             </member>
122             <member>
123                 <link linkend="extraction">extraction</link>
124             </member>
125             <member>
126                 <link linkend="insertion">insertion</link>
127             </member>
128         </simplelist>
129     </refsection>
130 </refentry>