[doc] unwrap_2D.png moved in [elementary_functions]
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / ind2sub.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2008 - INRIA - Serge STEER
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17
18 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="ind2sub" xml:lang="ja">
19
20     <refnamediv>
21
22         <refname>ind2sub</refname>
23
24         <refpurpose>線形添字を添字付き行列に変換</refpurpose>
25
26     </refnamediv>
27
28     <refsynopsisdiv>
29
30         <title>呼び出し手順</title>
31
32         <synopsis>[i1,i2,..] =ind2sub(dims,I)
33
34             Mi = ind2sub(dims,I)
35
36         </synopsis>
37
38     </refsynopsisdiv>
39
40     <refsection>
41
42         <title>引数</title>
43
44         <variablelist>
45
46             <varlistentry>
47
48                 <term>dims</term>
49
50                 <listitem>
51
52                     <para>ベクトル: 行列の次元</para>
53
54                 </listitem>
55
56             </varlistentry>
57
58             <varlistentry>
59
60                 <term>I</term>
61
62                 <listitem>
63
64                     <para>ベクトル: 指定した線形添字</para>
65
66                 </listitem>
67
68             </varlistentry>
69
70             <varlistentry>
71
72                 <term>i1,i2,..</term>
73
74                 <listitem>
75
76                     <para>
77
78                         添字値 (<literal>I</literal>と同じ形の行列)
79
80                     </para>
81
82                 </listitem>
83
84             </varlistentry>
85
86             <varlistentry>
87
88                 <term>Mi</term>
89
90                 <listitem>
91
92                     <para>列に添字値を含む行列.</para>
93
94                 </listitem>
95
96             </varlistentry>
97
98         </variablelist>
99
100     </refsection>
101
102     <refsection>
103
104         <title>説明</title>
105
106         <para>
107
108             <literal>ind2sub</literal> は指定した配列への添字と
109
110             等価な添字値を定義する際に使用されます.
111
112             <literal>[i1,i2,..] = ind2sub(dims,I)</literal> は配列
113
114             <literal>i1</literal>, <literal>i2</literal>, ... を返します.
115
116             この配列には,
117
118             大きさ<literal>dims</literal>の行列に関する添字行列<literal>I</literal>
119
120             の等価な行,列, ... 添字が含まれます.
121
122             <literal>Mi=ind2sub(dims,I)</literal> は行列
123
124             <literal>Mi</literal> を返します.
125
126             この行列の列は配列
127
128             <literal>i1(:)</literal>, <literal>i2(:)</literal>, ...となります.
129
130         </para>
131
132     </refsection>
133
134     <refsection>
135
136         <title>例</title>
137
138         <programlisting role="example"><![CDATA[
139 ind2sub([2,3,2],1:12)
140 [i,j,k]=ind2sub([2,3,2],1:12)
141  ]]></programlisting>
142
143     </refsection>
144
145     <refsection role="see also">
146
147         <title>参照</title>
148
149         <simplelist type="inline">
150
151             <member>
152
153                 <link linkend="sub2ind">sub2ind</link>
154
155             </member>
156
157             <member>
158
159                 <link linkend="extraction">extraction</link>
160
161             </member>
162
163             <member>
164
165                 <link linkend="insertion">insertion</link>
166
167             </member>
168
169         </simplelist>
170
171     </refsection>
172
173 </refentry>
174