1 <?xml version="1.0" encoding="UTF-8"?>
4 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
5 * Copyright (C) 2008 - INRIA
7 * Copyright (C) 2012 - 2016 - Scilab Enterprises
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.
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">
22 <refname>factor</refname>
24 <refpurpose>素因数分解関数</refpurpose>
32 <synopsis>[y]=factor(x)</synopsis>
76 実数<literal>x</literal>を指定すると, <literal>factor(x)</literal>
78 は<literal>x</literal>の素因数分解をベクトルr<literal>y</literal>に返します.
80 特殊な場合: <literal>factor(0)</literal>
82 は <literal>0</literal>を返し, <literal>factor(1)</literal> は
84 <literal>1</literal>を返します.
94 <programlisting role="example"><![CDATA[
101 <refsection role="see also">
105 <simplelist type="inline">
109 <link linkend="primes">primes</link>