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

« back to all changes in this revision

Viewing changes to modules/core/help/pt_BR/comp.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="UTF-8"?>
 
2
<refentry version="5.0-subset Scilab" xml:id="comp" 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:ns3="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: 2008-03-26 08:50:39 +0000 (mer, 26 mar 2008)
 
11
    $</pubdate>
 
12
  </info>
 
13
 
 
14
  <refnamediv>
 
15
    <refname>comp</refname>
 
16
 
 
17
    <refpurpose>compilação de função Scilab</refpurpose>
 
18
  </refnamediv>
 
19
 
 
20
  <refsynopsisdiv>
 
21
    <title>Seqüência de Chamamento</title>
 
22
 
 
23
    <synopsis>comp(function [,opt])</synopsis>
 
24
  </refsynopsisdiv>
 
25
 
 
26
  <refsection>
 
27
    <title>Parâmetros</title>
 
28
 
 
29
    <variablelist>
 
30
      <varlistentry>
 
31
        <term>function</term>
 
32
 
 
33
        <listitem>
 
34
          <para>uma função scilab não-compilada (tipo 11)</para>
 
35
        </listitem>
 
36
      </varlistentry>
 
37
 
 
38
      <varlistentry>
 
39
        <term>opt</term>
 
40
 
 
41
        <listitem>
 
42
          <para>flag com valor 0 (padrão), 1 ou 2.</para>
 
43
        </listitem>
 
44
      </varlistentry>
 
45
    </variablelist>
 
46
  </refsection>
 
47
 
 
48
  <refsection>
 
49
    <title>Descrição</title>
 
50
 
 
51
    <para><literal>comp(function)</literal> compila a função
 
52
    <literal>function</literal>. Funções compiladas e interpretadas são
 
53
    equivalentes, mas geralmente as compiladas são mais rápidas. As funções
 
54
    fornecidas nas bibliotecas padrões são compiladas.</para>
 
55
 
 
56
    <para>A definição online bem como a sintaxe curta dos comandos
 
57
    <literal>getf</literal> e <literal>deff</literal> geram funções
 
58
    compiladas. Então comp tem que ser usado apenas em casos bem particulares.
 
59
    Para se produzir uma função não compilada, deve-se usar &gt;<link
 
60
    linkend="getf">getf</link> ou <link linkend="deff">deff</link> com a opção
 
61
    <literal>"n"</literal>.</para>
 
62
 
 
63
    <para>O valor opt==2 faz com que a função seja compilada "para definição
 
64
    de perfil". Note que agora é possível adicionar a instrução de definição
 
65
    de perfil após a compilação utilizando a função <link
 
66
    linkend="add_profiling">add_profiling</link> .</para>
 
67
 
 
68
    <para>A opção obsoleta opt==1 era específica para propósitos de análise de
 
69
    códigos e agora é ignorada, i.e tratada como opt==0.</para>
 
70
 
 
71
    <para>Note: na compilação a função original é modificada e nenhum objeto
 
72
    novo é criado.</para>
 
73
  </refsection>
 
74
 
 
75
  <refsection>
 
76
    <title>Ver Também</title>
 
77
 
 
78
    <simplelist type="inline">
 
79
      <member><link linkend="type">type</link></member>
 
80
 
 
81
      <member><link linkend="deff">deff</link></member>
 
82
 
 
83
      <member><link linkend="getf">getf</link></member>
 
84
 
 
85
      <member><link linkend="function">function</link></member>
 
86
 
 
87
      <member><link linkend="add_profiling">add_profiling</link></member>
 
88
 
 
89
      <member><link linkend="profile">profile</link></member>
 
90
    </simplelist>
 
91
  </refsection>
 
92
</refentry>