d86dec4d36e1b7c41cdb0a203eca5034f5669a3e
[scilab.git] / scilab / modules / data_structures / help / pt_BR / lstsize.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  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="lstsize" xml:lang="pt">
17     <refnamediv>
18         <refname>lstsize</refname>
19         <refpurpose>números de entradas de uma lista, tlist ou mlist</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Seqüência de Chamamento</title>
23         <synopsis>n=lstsize(x)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Parâmetros</title>
27         <variablelist>
28             <varlistentry>
29                 <term>l</term>
30                 <listitem>
31                     <para>uma lista, tlist ou mlist </para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>n</term>
36                 <listitem>
37                     <para>um inteiro, número de entradas</para>
38                 </listitem>
39             </varlistentry>
40         </variablelist>
41     </refsection>
42     <refsection>
43         <title>Descrição</title>
44         <para>
45             <literal>lstsize(x)</literal> retorna o número de entradas de uma
46             lista, tlist ou mlist. Esta função é mais eficiente que a função
47             <literal>size</literal> e opera de modo semelhante para todos os tipos de
48             listas, enquanto a função <literal>size</literal> fica sobrecarregada para
49             <literal>mlist</literal>'s.
50         </para>
51     </refsection>
52     <refsection>
53         <title>Exemplos</title>
54         <programlisting role="example"><![CDATA[
55 lstsize(list(1,'aqsdf'))
56 x=ssrand(3,2,4);
57 [ny,nu]=size(x)
58 lstsize(x)
59  ]]></programlisting>
60     </refsection>
61     <refsection role="see also">
62         <title>Ver Também</title>
63         <simplelist type="inline">
64             <member>
65                 <link linkend="length">length</link>
66             </member>
67             <member>
68                 <link linkend="size">size</link>
69             </member>
70             <member>
71                 <link linkend="list">list</link>
72             </member>
73             <member>
74                 <link linkend="tlist">tlist</link>
75             </member>
76             <member>
77                 <link linkend="mlist">mlist</link>
78             </member>
79         </simplelist>
80     </refsection>
81 </refentry>