help pages: toeplitz overhauled. diag, sparse, speye improved
[scilab.git] / scilab / modules / sparse / help / pt_BR / matrixmanip / spones.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="spones" xml:lang="pt">
17     <refnamediv>
18         <refname>spones</refname>
19         <refpurpose>matriz esparsa</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>Seqüência de Chamamento</title>
23         <synopsis>sp=spones(A)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>Parâmetros</title>
27         <variablelist>
28             <varlistentry>
29                 <term>A</term>
30                 <listitem>
31                     <para>matriz esparsa </para>
32                 </listitem>
33             </varlistentry>
34             <varlistentry>
35                 <term>sp</term>
36                 <listitem>
37                     <para>matriz esparsa </para>
38                 </listitem>
39             </varlistentry>
40         </variablelist>
41     </refsection>
42     <refsection>
43         <title>Descrição</title>
44         <para>
45             <literal>sp=spones(A)</literal> gera uma matriz com a mesma
46             estrutura de espargimento de <literal>A</literal>, mas com 1 em posições
47             não-nulas;
48         </para>
49     </refsection>
50     <refsection>
51         <title>Exemplos </title>
52         <programlisting role="example"><![CDATA[
53 A=sprand(10,12,0.1);
54 sp=spones(A)
55 B = A~=0
56 bool2s(B)
57  ]]></programlisting>
58     </refsection>
59     <refsection role="see also">
60         <title>Ver Também</title>
61         <simplelist type="inline">
62             <member>
63                 <link linkend="sparse">sparse</link>
64             </member>
65             <member>
66                 <link linkend="full">full</link>
67             </member>
68             <member>
69                 <link linkend="eye">eye</link>
70             </member>
71             <member>
72                 <link linkend="speye">speye</link>
73             </member>
74             <member>
75                 <link linkend="spzeros">spzeros</link>
76             </member>
77         </simplelist>
78     </refsection>
79 </refentry>