* Bug 15859 fixed: isempty() overloadable for tlists & mlists
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / isempty.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  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  * Copyright (C) 2018 - Samuel GOUGEON
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"
19           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml"
20           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
21           xmlns:scilab="http://www.scilab.org" xml:id="isempty" xml:lang="ja">
22
23     <refnamediv>
24
25         <refname>isempty</refname>
26
27         <refpurpose>変数が空の行列または空のリストかどうかを調べる</refpurpose>
28
29     </refnamediv>
30
31     <refsynopsisdiv>
32
33         <title>呼び出し手順</title>
34
35         <synopsis>t=isempty(x)</synopsis>
36
37     </refsynopsisdiv>
38
39     <refsection>
40
41         <title>引数</title>
42
43         <variablelist>
44
45             <varlistentry>
46
47                 <term>x</term>
48
49                 <listitem>
50
51                     <para>ベクトルまたは行列またはリスト</para>
52
53                 </listitem>
54
55             </varlistentry>
56
57             <varlistentry>
58
59                 <term>t</term>
60
61                 <listitem>
62
63                     <para>論理値</para>
64
65                 </listitem>
66
67             </varlistentry>
68
69         </variablelist>
70
71     </refsection>
72
73     <refsection>
74
75         <title>説明</title>
76
77         <para>
78
79             <literal>isempty(x)</literal> は<literal>x</literal>が空の行列または
80
81             空のリストの場合に真を返します.
82
83         </para>
84         <para>
85           <note>
86             isempty() can be overloaded for custom t-lists and m-lists typeof.
87           </note>
88         </para>
89
90     </refsection>
91
92     <refsection>
93
94         <title>例</title>
95
96         <programlisting role="example"><![CDATA[
97 a=1
98 isempty(a(2:$))
99 isempty(find(rand(1:10)==5))
100  ]]></programlisting>
101
102     </refsection>
103     <refsection role="see also">
104         <title>参照</title>
105         <simplelist type="inline">
106             <member>
107                 <link linkend="empty">[]</link>
108             </member>
109             <member>
110                 <link linkend="emptystr">emptystr</link>
111             </member>
112             <member>
113                 <link linkend="size">size</link>
114             </member>
115             <member>
116                 <link linkend="length">length</link>
117             </member>
118         </simplelist>
119     </refsection>
120     <refsection role="history">
121         <title>履歴</title>
122         <revhistory>
123             <revision>
124                 <revnumber>6.0.2</revnumber>
125                 <revdescription>
126                     isempty() can now be overloaded for custom tlist and mlist typeof.
127                 </revdescription>
128             </revision>
129         </revhistory>
130     </refsection>
131
132 </refentry>
133