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

« back to all changes in this revision

Viewing changes to modules/boolean/help/fr_FR/bool2s.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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="fr" xml:id="bool2s">
14
 
  <refnamediv>
15
 
    <refname>bool2s</refname>
16
 
    <refpurpose> convertit une matrice booléenne en une matrice 0-1  </refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Séquence d'appel</title>
20
 
    <synopsis>bool2s(x)</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Paramètres</title>
24
 
    <variablelist>
25
 
      <varlistentry>
26
 
        <term>x  </term>
27
 
        <listitem>
28
 
          <para>matrice réelle, complexe ou booléenne
29
 
          </para>
30
 
        </listitem>
31
 
      </varlistentry>
32
 
    </variablelist>
33
 
  </refsection>
34
 
  <refsection>
35
 
    <title>Description</title>
36
 
    <para>
37
 
      Si <literal>x</literal> est une matrice booléenne,
38
 
      <literal>bool2s(x)</literal> renvoie une matrice où les valeurs %T (true=vrai) sont remplacées par des 1 et les %F (faux) par des 0.
39
 
    </para>
40
 
    <para>
41
 
      Si <literal>x</literal> n'est pas une matrice booléenne,
42
 
      <literal>bool2s(x)</literal> renvoie une matrice où les valeurs non-nulles sont remplacées par des 1.
43
 
    </para>
44
 
    <para>
45
 
    </para>
46
 
  </refsection>
47
 
  <refsection>
48
 
    <title>Exemples</title>
49
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>bool2s</refname>
 
16
        <refpurpose> convertit une matrice booléenne en une matrice 0-1  </refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Séquence d'appel</title>
 
20
        <synopsis>bool2s(x)</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Paramètres</title>
 
24
        <variablelist>
 
25
            <varlistentry>
 
26
                <term>x  </term>
 
27
                <listitem>
 
28
                    <para>matrice réelle, complexe ou booléenne
 
29
                    </para>
 
30
                </listitem>
 
31
            </varlistentry>
 
32
        </variablelist>
 
33
    </refsection>
 
34
    <refsection>
 
35
        <title>Description</title>
 
36
        <para>
 
37
            Si <literal>x</literal> est une matrice booléenne,
 
38
            <literal>bool2s(x)</literal> renvoie une matrice où les valeurs %T (true=vrai) sont remplacées par des 1 et les %F (faux) par des 0.
 
39
        </para>
 
40
        <para>
 
41
            Si <literal>x</literal> n'est pas une matrice booléenne,
 
42
            <literal>bool2s(x)</literal> renvoie une matrice où les valeurs non-nulles sont remplacées par des 1.
 
43
        </para>
 
44
        <para>
 
45
        </para>
 
46
    </refsection>
 
47
    <refsection>
 
48
        <title>Exemples</title>
 
49
        <programlisting role="example"><![CDATA[ 
50
50
bool2s([%t %t %f %t])
51
51
bool2s([2.3 0 10 -1])
52
52
 ]]></programlisting>
53
 
  </refsection>
54
 
  <refsection role="see also">
55
 
    <title>Voir aussi</title>
56
 
    <simplelist type="inline">
57
 
      <member>
58
 
        <link linkend="boolean">boolean</link>
59
 
      </member>
60
 
      <member>
61
 
        <link linkend="find">find</link>
62
 
      </member>
63
 
    </simplelist>
64
 
  </refsection>
 
53
    </refsection>
 
54
    <refsection role="see also">
 
55
        <title>Voir aussi</title>
 
56
        <simplelist type="inline">
 
57
            <member>
 
58
                <link linkend="boolean">boolean</link>
 
59
            </member>
 
60
            <member>
 
61
                <link linkend="find">find</link>
 
62
            </member>
 
63
        </simplelist>
 
64
    </refsection>
65
65
</refentry>