1cb3529f78e05fec2f4d2d3f1313a782e9934fee
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / searchandsort / vectorfind.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  * Copyright (C) 2008 - INRIA - Ramine NIKOUKHAH
7  *
8  * Copyright (C) 2012 - 2016 - Scilab Enterprises
9  *
10  * This file is hereby licensed under the terms of the GNU GPL v2.0,
11  * pursuant to article 5.3.4 of the CeCILL v.2.1.
12  * This file was originally licensed under the terms of the CeCILL v2.1,
13  * and continues to be available under such terms.
14  * For more information, see the COPYING file which you should have received
15  * along with this program.
16  *
17  -->
18
19 <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="vectorfind" xml:lang="ja">
20
21     <refnamediv>
22
23         <refname>vectorfind</refname>
24
25         <refpurpose>ベクトルに一致する行列の行または列を見つける</refpurpose>
26
27     </refnamediv>
28
29     <refsynopsisdiv>
30
31         <title>呼び出し手順</title>
32
33         <synopsis>ind = vectorfind(m,v[,job])</synopsis>
34
35     </refsynopsisdiv>
36
37     <refsection>
38
39         <title>引数</title>
40
41         <variablelist>
42
43             <varlistentry>
44
45                 <term>m</term>
46
47                 <listitem>
48
49                     <para>任意の型の行列(vと同じ型)</para>
50
51                 </listitem>
52
53             </varlistentry>
54
55             <varlistentry>
56
57                 <term>v</term>
58
59                 <listitem>
60
61                     <para>任意の型のベクトル(mと同じ型)</para>
62
63                 </listitem>
64
65             </varlistentry>
66
67             <varlistentry>
68
69                 <term>job</term>
70
71                 <listitem>
72
73                     <para>
74
75                         1文字の文字列:
76
77                         オプションのフラグで,使用可能な値は,
78
79                         一致する行をさがす "r"
80
81                         または一致する列を探す "c"です.
82
83                         デフォルト値は "r"です.
84
85                     </para>
86
87                 </listitem>
88
89             </varlistentry>
90
91             <varlistentry>
92
93                 <term>ind</term>
94
95                 <listitem>
96
97                     <para>一致した行または列の添字を含む行ベクトル</para>
98
99                 </listitem>
100
101             </varlistentry>
102
103         </variablelist>
104
105     </refsection>
106
107     <refsection>
108
109         <title>説明</title>
110
111         <para>ベクトルに一致する行列の行または列を見つけます.</para>
112
113     </refsection>
114
115     <refsection>
116
117         <title>例</title>
118
119         <programlisting role="example"><![CDATA[
120 alr=[1,2,2;
121      1,2,1;
122      1,1,2;
123      1,1,1;
124      1,2,1];
125 ind = vectorfind(alr,[1,2,1],'r')
126 ind = vectorfind(string(alr),string([1,2,1]),'r')
127  ]]></programlisting>
128
129     </refsection>
130
131     <refsection role="see also">
132
133         <title>参照</title>
134
135         <simplelist type="inline">
136
137             <member>
138
139                 <link linkend="find">find</link>
140
141             </member>
142
143             <member>
144
145                 <link linkend="gsort">gsort</link>
146
147             </member>
148
149         </simplelist>
150
151     </refsection>
152
153 </refentry>
154