1 <?xml version="1.0" encoding="UTF-8"?>
3 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4 * Copyright (C) 2008 - INRIA
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
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:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="factor" xml:lang="ja">
15 <refname>factor</refname>
16 <refpurpose>素因数分解関数</refpurpose>
20 <synopsis>[y]=factor(x)</synopsis>
42 実数<literal>x</literal>を指定すると, <literal>factor(x)</literal>
43 は<literal>x</literal>の素因数分解をベクトルr<literal>y</literal>に返します.
44 特殊な場合: <literal>factor(0)</literal>
45 は <literal>0</literal>を返し, <literal>factor(1)</literal> は
46 <literal>1</literal>を返します.
51 <programlisting role="example"><![CDATA[
56 <refsection role="see also">
58 <simplelist type="inline">
60 <link linkend="primes">primes</link>