0f7e8748e021dbc3c3aae0292eb35f0734541fa8
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / searchandsort / vectorfind.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 - Serge STEER
5  * Copyright (C) 2008 - INRIA - Ramine NIKOUKHAH
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
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 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="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="vectorfind" xml:lang="pt">
18     <refnamediv>
19         <refname>vectorfind</refname>
20         <refpurpose>acha, em uma matriz, linhas ou colunas que coincidem com um
21             vetor
22         </refpurpose>
23     </refnamediv>
24     <refsynopsisdiv>
25         <title>Seqüência de Chamamento</title>
26         <synopsis>ind = vectorfind(m,v,job)</synopsis>
27     </refsynopsisdiv>
28     <refsection>
29         <title>Parâmetros</title>
30         <variablelist>
31             <varlistentry>
32                 <term>m</term>
33                 <listitem>
34                     <para>uma matriz de qualquer tipo </para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>v</term>
39                 <listitem>
40                     <para>um vetor de qualquer tipo </para>
41                 </listitem>
42             </varlistentry>
43             <varlistentry>
44                 <term>job</term>
45                 <listitem>
46                     <para>um string indicador com valores possíveis "r" para procura de
47                         linhas coincidentes ou "c" para procura de colunas coincidentes
48                     </para>
49                 </listitem>
50             </varlistentry>
51             <varlistentry>
52                 <term>ind</term>
53                 <listitem>
54                     <para>vetor-linha contendo os índices das linhas ou colunas
55                         coincidentes
56                     </para>
57                 </listitem>
58             </varlistentry>
59         </variablelist>
60     </refsection>
61     <refsection>
62         <title>Descrição</title>
63         <para>Acha, em uma matriz, as linhas ou colunas que coincidem com um dado
64             vetor.
65         </para>
66     </refsection>
67     <refsection>
68         <title>Exemplos</title>
69         <programlisting role="example"><![CDATA[
70 alr=[1,2,2;
71      1,2,1;
72      1,1,2;
73      1,1,1;
74      1,2,1];
75 ind = vectorfind(alr,[1,2,1],'r')
76 ind = vectorfind(string(alr),string([1,2,1]),'r')
77  ]]></programlisting>
78     </refsection>
79     <refsection role="see also">
80         <title>Ver Também</title>
81         <simplelist type="inline">
82             <member>
83                 <link linkend="find">find</link>
84             </member>
85             <member>
86                 <link linkend="gsort">gsort</link>
87             </member>
88         </simplelist>
89     </refsection>
90     <refsection>
91         <title>Autores</title>
92         <para>R. Nikoukhah, S. Steer INRIA</para>
93     </refsection>
94 </refentry>