~ubuntu-branches/ubuntu/lucid/scilab/lucid

« back to all changes in this revision

Viewing changes to modules/core/help/pt_BR/power.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sylvestre Ledru
  • Date: 2009-04-28 18:47:03 UTC
  • mfrom: (1.1.7 upstream) (4.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090428184703-7thddz8vtwqmxmx2
Tags: 5.1.1-4
* librefblas3-dev does not exist (yet). Thanks to Jose Ramon
* Do not stop when ocamlopt is not available on the arch 
  (ocaml-not-available.diff)
* Provide a clear error message for archs where modelicac compiler is 
  not available (modelicac-not-available.diff)
* scilab startup script moved from package scilab => scilab-bin (because of
  the ocamlopt problem, I cannot predict if modelicac will be available or
  not. Therefor, I ship usr/bin/ instead of binary per binary. This will
  also simplifies the packaging of Scilab 5.2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="ISO-8859-1"?>
 
2
<refentry version="5.0-subset Scilab" xml:id="power" xml:lang="en"
 
3
          xmlns="http://docbook.org/ns/docbook"
 
4
          xmlns:xlink="http://www.w3.org/1999/xlink"
 
5
          xmlns:svg="http://www.w3.org/2000/svg"
 
6
          xmlns:ns4="http://www.w3.org/1999/xhtml"
 
7
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
 
8
          xmlns:db="http://docbook.org/ns/docbook">
 
9
  <info>
 
10
    <pubdate>$LastChangedDate$</pubdate>
 
11
  </info>
 
12
 
 
13
  <refnamediv>
 
14
    <refname>power</refname>
 
15
 
 
16
    <refpurpose>opera��o de potencia��o(^,.^)</refpurpose>
 
17
  </refnamediv>
 
18
 
 
19
  <refsynopsisdiv>
 
20
    <title>Seq��ncia de Chamamento</title>
 
21
 
 
22
    <synopsis>t=A^b
 
23
t=A**b
 
24
t=A.^b</synopsis>
 
25
  </refsynopsisdiv>
 
26
 
 
27
  <refsection>
 
28
    <title>Par�metros</title>
 
29
 
 
30
    <variablelist>
 
31
      <varlistentry>
 
32
        <term>A,t</term>
 
33
 
 
34
        <listitem>
 
35
          <para>matriz de escalares, polin�mios ou raz�es de
 
36
          polin�mios.</para>
 
37
        </listitem>
 
38
      </varlistentry>
 
39
 
 
40
      <varlistentry>
 
41
        <term>b</term>
 
42
 
 
43
        <listitem>
 
44
          <para>um escalar ou um vetor ou matriz de escalares.</para>
 
45
        </listitem>
 
46
      </varlistentry>
 
47
    </variablelist>
 
48
  </refsection>
 
49
 
 
50
  <refsection>
 
51
    <title>Descri��o</title>
 
52
 
 
53
    <itemizedlist>
 
54
      <listitem>
 
55
        <para><literal>"(A:square)^(b:scalar)"</literal>Se
 
56
        <literal>A</literal> � uma matriz quadrada e <literal>b</literal> � um
 
57
        escalar, ent�o <literal>A^b</literal> � a matriz <literal>A</literal>
 
58
        elevada � pot�ncia <literal>b</literal>.</para>
 
59
      </listitem>
 
60
 
 
61
      <listitem>
 
62
        <para><literal>"(A:matrix).^(b:scalar)"</literal>Se
 
63
        <literal>b</literal> � um escalar e <literal>A</literal> uma matriz,
 
64
        ent�o <literal>A.^b</literal> � formada pelos elementos de
 
65
        <literal>A</literal> elevados � pot�ncia <literal>b</literal>
 
66
        (potencia��o elemento a elemento). Se <literal>A</literal> � um vetor
 
67
        e <literal>b</literal> � um escalar, ent�o <literal>A^b</literal> e
 
68
        <literal>A.^b</literal> realizam a mesma opera��o (i.e., potencia��o
 
69
        elemento a elemento). </para>
 
70
      </listitem>
 
71
 
 
72
      <listitem>
 
73
        <para><literal>"(A:scalar).^(b:matrix)"</literal> Se
 
74
        <literal>A</literal> � um escalar e <literal>b</literal> � uma matriz
 
75
        (ou vetor) ent�o <literal>A^b</literal> e <literal>A.^b</literal> s�o
 
76
        as matrizes (ou vetores) formados por<literal>
 
77
        a^(b(i,j))</literal>.</para>
 
78
      </listitem>
 
79
 
 
80
      <listitem>
 
81
        <para><literal>"(A:matrix).^(b:matrix)"</literal> Se
 
82
        <literal>A</literal> e <literal>b</literal> s�o vetores (matrizes) de
 
83
        mesmo tamanho <literal>A.^b</literal> � o vetor
 
84
        <literal>A(i)^b(i)</literal> (matriz
 
85
        <literal>A(i,j)^b(i,j)</literal>).</para>
 
86
      </listitem>
 
87
    </itemizedlist>
 
88
 
 
89
    <para>Notas:</para>
 
90
 
 
91
    <para>- Para matrizes quadradas <literal>A^p</literal> � computada atrav�s
 
92
    de sucessivas multiplica��es de matrizes se <literal>p</literal> is � um
 
93
    n�mero inteiro positivo e por diagonaliza��o se n�o for.</para>
 
94
 
 
95
    <para>- Os operadores ** e ^ s�o sin�nimos.</para>
 
96
  </refsection>
 
97
 
 
98
  <refsection>
 
99
    <title>Exemplos</title>
 
100
 
 
101
    <programlisting role="example">
 
102
 
 
103
A=[1 2;3 4];
 
104
A^2.5,
 
105
A.^2.5
 
106
(1:10)^2
 
107
(1:10).^2
 
108
 
 
109
s=poly(0,'s')
 
110
s^(1:10)
 
111
 
 
112
  </programlisting>
 
113
  </refsection>
 
114
 
 
115
  <refsection>
 
116
    <title> Ver Tamb�m </title>
 
117
 
 
118
    <simplelist type="inline">
 
119
      <member><link linkend="exp">exp</link></member>
 
120
    </simplelist>
 
121
  </refsection>
 
122
</refentry>