~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/pt_BR/discrete/perms.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<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" version="5.0-subset Scilab" xml:id="perms" xml:lang="en">
14
 
  <refnamediv>
15
 
    <refname>perms</refname>
16
 
    <refpurpose>retorna todas as permuta��es dos componentes de um
17
 
      vetor
18
 
    </refpurpose>
19
 
  </refnamediv>
20
 
  <refsynopsisdiv>
21
 
    <title>Seq��ncia de Chamamento</title>
22
 
    <synopsis>y=perms(x)</synopsis>
23
 
  </refsynopsisdiv>
24
 
  <refsection>
25
 
    <title>Par�metros</title>
26
 
    <variablelist>
27
 
      <varlistentry>
28
 
        <term>x</term>
29
 
        <listitem>
30
 
          <para>um escalar ou um vetor </para>
31
 
        </listitem>
32
 
      </varlistentry>
33
 
      <varlistentry>
34
 
        <term>y</term>
35
 
        <listitem>
36
 
          <para>um escalar ou uma matriz</para>
37
 
        </listitem>
38
 
      </varlistentry>
39
 
    </variablelist>
40
 
  </refsection>
41
 
  <refsection>
42
 
    <title>Descri��o</title>
43
 
    <para>
44
 
      Dado um vetor <literal>x</literal> de comprimento
45
 
      <literal>n</literal>, <literal>perms</literal> retorna todas as
46
 
      permuta��es dos <literal>n</literal> componentes de <literal>x</literal>
47
 
      (i.e <literal>n!</literal> permuta��es). O tamanho de <literal>y</literal>
48
 
      � <literal>n!-by-n</literal>
49
 
    </para>
50
 
  </refsection>
51
 
  <refsection>
52
 
    <title>Exemplos</title>
53
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>perms</refname>
 
16
        <refpurpose>retorna todas as permuta��es dos componentes de um
 
17
            vetor
 
18
        </refpurpose>
 
19
    </refnamediv>
 
20
    <refsynopsisdiv>
 
21
        <title>Seq��ncia de Chamamento</title>
 
22
        <synopsis>y=perms(x)</synopsis>
 
23
    </refsynopsisdiv>
 
24
    <refsection>
 
25
        <title>Par�metros</title>
 
26
        <variablelist>
 
27
            <varlistentry>
 
28
                <term>x</term>
 
29
                <listitem>
 
30
                    <para>um escalar ou um vetor </para>
 
31
                </listitem>
 
32
            </varlistentry>
 
33
            <varlistentry>
 
34
                <term>y</term>
 
35
                <listitem>
 
36
                    <para>um escalar ou uma matriz</para>
 
37
                </listitem>
 
38
            </varlistentry>
 
39
        </variablelist>
 
40
    </refsection>
 
41
    <refsection>
 
42
        <title>Descri��o</title>
 
43
        <para>
 
44
            Dado um vetor <literal>x</literal> de comprimento
 
45
            <literal>n</literal>, <literal>perms</literal> retorna todas as
 
46
            permuta��es dos <literal>n</literal> componentes de <literal>x</literal>
 
47
            (i.e <literal>n!</literal> permuta��es). O tamanho de <literal>y</literal>
 
48
            � <literal>n!-by-n</literal>
 
49
        </para>
 
50
    </refsection>
 
51
    <refsection>
 
52
        <title>Exemplos</title>
 
53
        <programlisting role="example"><![CDATA[ 
54
54
x=[4, 7, 10]
55
55
y=perms(x)
56
56
x=[1, 5, 2, 5]
57
57
y=perms(x)
58
58
 ]]></programlisting>
59
 
  </refsection>
 
59
    </refsection>
60
60
</refentry>