[doc] realtime() page improved
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / setoperations / setdiff.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
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="setdiff" xml:lang="ja">
19
20     <refnamediv>
21
22         <refname>setdiff</refname>
23
24         <refpurpose>ベクトルの要素のうちで別のベクトルに
25
26             属していない要素を返す
27         </refpurpose>
28
29     </refnamediv>
30
31     <refsynopsisdiv>
32
33         <title>呼び出し手順</title>
34
35         <synopsis>v=setdiff(a,b)
36
37             [v,ka]=setdiff(a,b)
38
39         </synopsis>
40
41     </refsynopsisdiv>
42
43     <refsection>
44
45         <title>引数</title>
46
47         <variablelist>
48
49             <varlistentry>
50
51                 <term>a</term>
52
53                 <listitem>
54
55                     <para>実数または文字列のベクトル</para>
56
57                 </listitem>
58
59             </varlistentry>
60
61             <varlistentry>
62
63                 <term>b</term>
64
65                 <listitem>
66
67                     <para>実数または文字列のベクトル</para>
68
69                 </listitem>
70
71             </varlistentry>
72
73             <varlistentry>
74
75                 <term>v</term>
76
77                 <listitem>
78
79                     <para>
80
81                         <literal>a</literal>と同じ方向の実数または文字列のベクトル
82
83                     </para>
84
85                 </listitem>
86
87             </varlistentry>
88
89             <varlistentry>
90
91                 <term>ka</term>
92
93                 <listitem>
94
95                     <para>整数の行ベクトルで, ka(i) は a における v(i) の位置</para>
96
97                 </listitem>
98
99             </varlistentry>
100
101         </variablelist>
102
103     </refsection>
104
105     <refsection>
106
107         <title>説明</title>
108
109         <para>
110
111             <literal>setdiff(a,b)</literal> は,
112
113             <literal>b</literal>の中に存在しない
114
115             <literal>a</literal>のエントリからなる
116
117             ソート済みのベクトルを返します.
118
119         </para>
120
121         <para>
122
123             <literal>[v,ka]=setdiff(a,b)</literal> は,
124
125             <literal>b</literal>の中に存在しない
126
127             <literal>a</literal>のエントリからなる
128
129             ソート済みのベクトルとこれらのエントリの a の中での位置を返します.
130
131         </para>
132
133     </refsection>
134
135     <refsection>
136
137         <title>例</title>
138
139         <programlisting role="example"><![CDATA[
140 a = [223;111;2;4;2;2];
141 b = [2;3;21;223;123;22];
142 setdiff(a,b)
143 [v,k]=setdiff(string(a),string(b))
144  ]]></programlisting>
145
146     </refsection>
147
148     <refsection role="see also">
149
150         <title>参照</title>
151
152         <simplelist type="inline">
153
154             <member>
155
156                 <link linkend="unique">unique</link>
157
158             </member>
159
160             <member>
161
162                 <link linkend="gsort">gsort</link>
163
164             </member>
165
166             <member>
167
168                 <link linkend="union">union</link>
169
170             </member>
171
172         </simplelist>
173
174     </refsection>
175
176 </refentry>
177