Merge remote-tracking branch 'origin/6.1'
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / discrete / factor.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5  * Copyright (C) 2008 - INRIA
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  -->
17
18 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="factor" xml:lang="ja">
19
20     <refnamediv>
21
22         <refname>factor</refname>
23
24         <refpurpose>素因数分解関数</refpurpose>
25
26     </refnamediv>
27
28     <refsynopsisdiv>
29
30         <title>呼び出し手順</title>
31
32         <synopsis>[y]=factor(x)</synopsis>
33
34     </refsynopsisdiv>
35
36     <refsection>
37
38         <title>引数</title>
39
40         <variablelist>
41
42             <varlistentry>
43
44                 <term>x</term>
45
46                 <listitem>
47
48                     <para>実数スカラー</para>
49
50                 </listitem>
51
52             </varlistentry>
53
54             <varlistentry>
55
56                 <term>y</term>
57
58                 <listitem>
59
60                     <para>素数のベクトル</para>
61
62                 </listitem>
63
64             </varlistentry>
65
66         </variablelist>
67
68     </refsection>
69
70     <refsection>
71
72         <title>説明</title>
73
74         <para>
75
76             実数<literal>x</literal>を指定すると, <literal>factor(x)</literal>
77
78             は<literal>x</literal>の素因数分解をベクトルr<literal>y</literal>に返します.
79
80             特殊な場合: <literal>factor(0)</literal>
81
82             は <literal>0</literal>を返し, <literal>factor(1)</literal> は
83
84             <literal>1</literal>を返します.
85
86         </para>
87
88     </refsection>
89
90     <refsection>
91
92         <title>例</title>
93
94         <programlisting role="example"><![CDATA[
95 x=620
96 y=factor(x)
97  ]]></programlisting>
98
99     </refsection>
100
101     <refsection role="see also">
102
103         <title>参照</title>
104
105         <simplelist type="inline">
106
107             <member>
108
109                 <link linkend="primes">primes</link>
110
111             </member>
112
113         </simplelist>
114
115     </refsection>
116
117 </refentry>
118