* Bug 15891 fixed: [doc] matrix-wise trigo pages => subsection
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / isempty.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  * Copyright (C) 2012 - 2016 - Scilab Enterprises
6  * Copyright (C) 2018 - Samuel GOUGEON
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
17           xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml"
18           xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
19           xmlns:scilab="http://www.scilab.org" xml:id="isempty" xml:lang="pt">
20     <refnamediv>
21         <refname>isempty</refname>
22         <refpurpose>verifica se uma variável é uma matriz vazia ou uma lista
23             vazia
24         </refpurpose>
25     </refnamediv>
26     <refsynopsisdiv>
27         <title>Seqüência de Chamamento</title>
28         <synopsis>t=isempty(x)</synopsis>
29     </refsynopsisdiv>
30     <refsection>
31         <title>Parâmetros</title>
32         <variablelist>
33             <varlistentry>
34                 <term>x</term>
35                 <listitem>
36                     <para>vetor, matriz ou lista </para>
37                 </listitem>
38             </varlistentry>
39             <varlistentry>
40                 <term>t</term>
41                 <listitem>
42                     <para>um booleano </para>
43                 </listitem>
44             </varlistentry>
45         </variablelist>
46     </refsection>
47     <refsection>
48         <title>Descrição</title>
49         <para>
50             <literal>isempty(x)</literal> retorna 'true' (verdadeiro) se x é uma
51             matriz vazia ou uma lista vazia.
52         </para>
53         <para>
54           <note>
55             isempty() can be overloaded for custom t-lists and m-lists typeof.
56           </note>
57         </para>
58     </refsection>
59     <refsection>
60         <title>Exemplos</title>
61         <programlisting role="example"><![CDATA[
62 a=1
63 isempty(a(2:$))
64 isempty(find(rand(1:10)==5))
65  ]]></programlisting>
66     </refsection>
67     <refsection role="see also">
68         <title>Ver também</title>
69         <simplelist type="inline">
70             <member>
71                 <link linkend="empty">[]</link>
72             </member>
73             <member>
74                 <link linkend="emptystr">emptystr</link>
75             </member>
76             <member>
77                 <link linkend="size">size</link>
78             </member>
79             <member>
80                 <link linkend="length">length</link>
81             </member>
82         </simplelist>
83     </refsection>
84     <refsection role="history">
85         <title>Histórico</title>
86         <revhistory>
87             <revision>
88                 <revnumber>6.0.2</revnumber>
89                 <revdescription>
90                     isempty() can now be overloaded for custom tlist and mlist typeof.
91                 </revdescription>
92             </revision>
93         </revhistory>
94     </refsection>
95 </refentry>