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

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/fr_FR/discrete/lcm.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:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<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="lcm">
 
3
    <refnamediv>
 
4
        <refname>lcm</refname>
 
5
        <refpurpose> Plus petit commun multiple (PPCM) de polynômes
 
6
            ou d'entiers
 
7
        </refpurpose>
 
8
    </refnamediv>
 
9
    <refsynopsisdiv>
 
10
        <title>Séquence d'appel</title>
 
11
        <synopsis>[pp,fact]=lcm(p)</synopsis>
 
12
    </refsynopsisdiv>
 
13
    <refsection>
 
14
        <title>Paramètres</title>
 
15
        <variablelist>
 
16
            <varlistentry>
 
17
                <term>p  </term>
 
18
                <listitem>
 
19
                    <para>vecteur de polynômes ou d'entiers (type égal à 8)
 
20
                    </para>
 
21
                </listitem>
 
22
            </varlistentry>
 
23
            <varlistentry>
 
24
                <term>fact  </term>
 
25
                <listitem>
 
26
                    <para>vecteur de polynômes ou d'entiers
 
27
                    </para>
 
28
                </listitem>
 
29
            </varlistentry>
 
30
            <varlistentry>
 
31
                <term>pp  </term>
 
32
                <listitem>
 
33
                    <para>polynôme ou un entier
 
34
                    </para>
 
35
                </listitem>
 
36
            </varlistentry>
 
37
        </variablelist>
 
38
    </refsection>
 
39
    <refsection>
 
40
        <title>Description</title>
 
41
        <para>
 
42
            <literal>pp=lcm(p)</literal> calcule le PPCM <literal>pp</literal>  du vecteur
 
43
            <literal>p</literal> au sens des polynômes ou des entiers.
 
44
        </para>
 
45
        <para>
 
46
            <literal>[pp,fact]=lcm(p)</literal> calcule de plus le vecteur <literal>fact</literal> tel que :
 
47
        </para>
 
48
        <para>
 
49
            <literal>p.*fact=pp*ones(p)</literal>
 
50
        </para>
 
51
    </refsection>
 
52
    <refsection>
 
53
        <title>Exemples</title>
 
54
        <programlisting role="example"><![CDATA[ 
 
55
//cas des polynomes
 
56
s=poly(0,'s');
 
57
p=[s,s*(s+1)^2,s^2*(s+2)];
 
58
[pp,fact]=lcm(p);
 
59
p.*fact, pp
 
60
 
 
61
//cas des entiers
 
62
V=int32([2^2*3^5, 2^3*3^2,2^2*3^4*5]);
 
63
lcm(V)
 
64
 ]]></programlisting>
 
65
    </refsection>
 
66
    <refsection role="see also">
 
67
        <title>Voir aussi</title>
 
68
        <simplelist type="inline">
 
69
            <member>
 
70
                <link linkend="gcd">gcd</link>
 
71
            </member>
 
72
            <member>
 
73
                <link linkend="bezout">bezout</link>
 
74
            </member>
 
75
        </simplelist>
 
76
    </refsection>
 
77
</refentry>