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

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/pt_BR/nextpow2.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
<!--
 
3
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 
4
 * Copyright (C) 2008 - INRIA
 
5
 * 
 
6
 * This file must be used under the terms of the CeCILL.
 
7
 * This source file is licensed as described in the file COPYING, which
 
8
 * you should have received as part of this distribution.  The terms
 
9
 * are also available at    
 
10
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 
11
 *
 
12
 -->
 
13
<refentry version="5.0-subset Scilab" xml:id="nextpow2" xml:lang="en"
 
14
          xmlns="http://docbook.org/ns/docbook"
 
15
          xmlns:xlink="http://www.w3.org/1999/xlink"
 
16
          xmlns:svg="http://www.w3.org/2000/svg"
 
17
          xmlns:ns5="http://www.w3.org/1999/xhtml"
 
18
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
 
19
          xmlns:db="http://docbook.org/ns/docbook">
 
20
  <info>
 
21
    <pubdate>$LastChangedDate$</pubdate>
 
22
  </info>
 
23
 
 
24
  <refnamediv>
 
25
    <refname>nextpow2</refname>
 
26
 
 
27
    <refpurpose>pr�xima pot�ncia de 2 mais alta </refpurpose>
 
28
  </refnamediv>
 
29
 
 
30
  <refsynopsisdiv>
 
31
    <title>Calling Sequence</title>
 
32
 
 
33
    <synopsis>t=nextpow2(x)</synopsis>
 
34
  </refsynopsisdiv>
 
35
 
 
36
  <refsection>
 
37
    <title>Parameters</title>
 
38
 
 
39
    <variablelist>
 
40
      <varlistentry>
 
41
        <term>x</term>
 
42
 
 
43
        <listitem>
 
44
          <para>vetor ou matriz de reais</para>
 
45
        </listitem>
 
46
      </varlistentry>
 
47
 
 
48
      <varlistentry>
 
49
        <term>p</term>
 
50
 
 
51
        <listitem>
 
52
          <para>matriz ou vetor de inteiros</para>
 
53
        </listitem>
 
54
      </varlistentry>
 
55
    </variablelist>
 
56
  </refsection>
 
57
 
 
58
  <refsection>
 
59
    <title>Descri��o</title>
 
60
 
 
61
    <para>Se <literal>x</literal> � escalar, <literal>nextpow2(x)</literal>
 
62
    retorna o primeiro <literal>p</literal> tal que <literal>2^p &gt;=
 
63
    abs(x)</literal> . Se <literal>x</literal> � um vetor ou uma matriz
 
64
    <literal>nextpow2(x)</literal> se aplica elemento a elemento.</para>
 
65
  </refsection>
 
66
 
 
67
  <refsection>
 
68
    <title>Exemplos</title>
 
69
 
 
70
    <programlisting role="example">
 
71
 
 
72
nextpow2(127)
 
73
nextpow2(128)
 
74
nextpow2(0:10)
 
75
 
 
76
  </programlisting>
 
77
  </refsection>
 
78
 
 
79
  <refsection>
 
80
    <title>Ver Tamb�m</title>
 
81
 
 
82
    <simplelist type="inline">
 
83
      <member><link linkend="frexp">frexp</link></member>
 
84
    </simplelist>
 
85
  </refsection>
 
86
</refentry>