GPL + CeCILL Header change
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / isempty.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2008 - INRIA
5  * 
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
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  * === LICENSE_END ===
15  *
16  -->
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="isempty" xml:lang="en">
18     <refnamediv>
19         <refname>isempty</refname>
20         <refpurpose>verifica se uma variável é uma matriz vazia ou uma lista
21             vazia
22         </refpurpose>
23     </refnamediv>
24     <refsynopsisdiv>
25         <title>Seqüência de Chamamento</title>
26         <synopsis>t=isempty(x)</synopsis>
27     </refsynopsisdiv>
28     <refsection>
29         <title>Parâmetros</title>
30         <variablelist>
31             <varlistentry>
32                 <term>x</term>
33                 <listitem>
34                     <para>vetor, matriz ou lista </para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>t</term>
39                 <listitem>
40                     <para>um booleano </para>
41                 </listitem>
42             </varlistentry>
43         </variablelist>
44     </refsection>
45     <refsection>
46         <title>Descrição</title>
47         <para>
48             <literal>isempty(x)</literal> retorna 'true' (verdadeiro) se x é uma
49             matriz vazia ou uma lista vazia.
50         </para>
51     </refsection>
52     <refsection>
53         <title>Exemplos</title>
54         <programlisting role="example"><![CDATA[ 
55 a=1
56 isempty(a(2:$))
57 isempty(find(rand(1:10)==5))
58  ]]></programlisting>
59     </refsection>
60 </refentry>