Massive indent of all codes:
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / discrete / lcm.xml
1         <?xml version="1.0" encoding="UTF-8"?>
2     <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) 2006-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 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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="lcm">
14         <refnamediv>
15             <refname>lcm</refname>
16             <refpurpose>最小公倍数</refpurpose>
17         </refnamediv>
18         <refsynopsisdiv>
19             <title>呼び出し手順</title>
20             <synopsis>[pp,fact]=lcm(p)</synopsis>
21         </refsynopsisdiv>
22         <refsection>
23             <title>パラメータ</title>
24             <variablelist>
25                 <varlistentry>
26                     <term>p</term>
27                     <listitem>
28                         <para/>
29                     </listitem>
30                 </varlistentry>
31                 <varlistentry>
32                     <term>fact</term>
33                     <listitem>
34                         <para>多項式ベクトルまたは整数ベクトル  (8型)</para>
35                     </listitem>
36                 </varlistentry>
37                 <varlistentry>
38                     <term>pp</term>
39                     <listitem>
40                         <para>多項式または整数</para>
41                     </listitem>
42                 </varlistentry>
43             </variablelist>
44         </refsection>
45         <refsection>
46             <title>説明</title>
47             <para>
48                 <literal>pp=lcm(p)</literal> は,多項式ベクトル<literal>p</literal>
49                 の最小公倍数<literal>pp</literal>を計算します.
50             </para>
51             <para>
52                 <literal>[pp,fact]=lcm(p)</literal> はこれに加えて以下のような
53                 ベクトル<literal>fact</literal>を計算します:
54             </para>
55             <para>
56                 <literal>p.*fact=pp*ones(p)</literal>
57             </para>
58         </refsection>
59         <refsection>
60             <title>例</title>
61             <programlisting role="example"><![CDATA[ 
62 //多項式の場合
63 s=poly(0,'s');
64 p=[s,s*(s+1)^2,s^2*(s+2)];
65 [pp,fact]=lcm(p);
66 p.*fact, pp
67
68 //整数の場合
69 V=int32([2^2*3^5, 2^3*3^2,2^2*3^4*5]);
70 lcm(V)
71  ]]></programlisting>
72         </refsection>
73         <refsection role="see also">
74             <title>参照</title>
75             <simplelist type="inline">
76                 <member>
77                     <link linkend="gcd">gcd</link>
78                 </member>
79                 <member>
80                     <link linkend="bezout">bezout</link>
81                 </member>
82             </simplelist>
83         </refsection>
84     </refentry>