f2f35f0bd9fb6fa8af284978d4971548f3e6d6cc
[scilab.git] / scilab / modules / functions / help / pt_BR / listfunctions.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <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="listfunctions" xml:lang="en">
3     <refnamediv>
4         <refname>listfunctions</refname>
5         <refpurpose>propriedades de todas as funções no espaço de
6             trabalho
7         </refpurpose>
8     </refnamediv>
9     <refsynopsisdiv>
10         <title>Seqüência de Chamamento</title>
11         <synopsis>[flist,compiled,profilable,called] = listfunctions([scope])</synopsis>
12     </refsynopsisdiv>
13     <refsection>
14         <title>Parâmetros</title>
15         <variablelist>
16             <varlistentry>
17                 <term>scope</term>
18                 <listitem>
19                     <para>string, "local" (padrão) ou "global"</para>
20                 </listitem>
21             </varlistentry>
22             <varlistentry>
23                 <term>flist</term>
24                 <listitem>
25                     <para>array de strings, names nomes de todas as variáveis funções
26                         especificadas no espaço de trabalho
27                     </para>
28                 </listitem>
29             </varlistentry>
30             <varlistentry>
31                 <term>compiled</term>
32                 <listitem>
33                     <para>array de booleanos, verdadeiro se o elemento correspondente de
34                         flist for do tipo 13
35                     </para>
36                 </listitem>
37             </varlistentry>
38             <varlistentry>
39                 <term>profilable</term>
40                 <listitem>
41                     <para>array de booleanos, verdadeiro se o elemento correspondente de
42                         flist for do tipo 13, e adicionalmente informações sobre profiling
43                         forem encontradas no pseudo-código da função.
44                     </para>
45                 </listitem>
46             </varlistentry>
47             <varlistentry>
48                 <term>called</term>
49                 <listitem>
50                     <para>array uint32, número de vezes que o elemento correspondente de
51                         flist foi chamado (não-zero apenas se a função possuir
52                         profiling)
53                     </para>
54                 </listitem>
55             </varlistentry>
56         </variablelist>
57     </refsection>
58     <refsection>
59         <title>Descrição</title>
60         <itemizedlist>
61             <listitem>
62                 <para>Esta função verifica todas as variáveis do espaço de trabalho
63                     (dadas por <link linkend="who">who</link>) e coleta aquelas de tipo 11
64                     ou 13; para as últimas, lst=<link linkend="macr2lst">macr2lst</link>(fun) é chamada, de modo a verificar
65                     a entrada para magic profiling ao fim da primeira linha de código,
66                     i.e. lst(5)(1)=="25".
67                 </para>
68             </listitem>
69         </itemizedlist>
70     </refsection>
71     <refsection>
72         <title>Exemplos</title>
73         <programlisting role="example"><![CDATA[ 
74 recompilefunction("asinh","p")
75 [flist,compiled,profilable,called] = listfunctions();
76 flist(profilable)
77  ]]></programlisting>
78     </refsection>
79     <refsection role="see also">
80         <title>Ver Também</title>
81         <simplelist type="inline">
82             <member>
83                 <link linkend="function">function</link>
84             </member>
85             <member>
86                 <link linkend="exec">exec</link>
87             </member>
88             <member>
89                 <link linkend="deff">deff</link>
90             </member>
91             <member>
92                 <link linkend="comp">comp</link>
93             </member>
94             <member>
95                 <link linkend="fun2string">fun2string</link>
96             </member>
97             <member>
98                 <link linkend="profile">profile</link>
99             </member>
100             <member>
101                 <link linkend="recompilefunction">recompilefunction</link>
102             </member>
103         </simplelist>
104     </refsection>
105     <refsection>
106         <title>Bibliografia</title>
107         <para>
108             <ulink url="http://wiki.scilab.org/Scilab_function_variables%3A_representation%2C_manipulation">http://wiki.scilab.org/Scilab_function_variables%3A_representation%2C_manipulation</ulink>
109         </para>
110     </refsection>
111 </refentry>