gui: remove SwingScilabDockablePanel ambiguous casts
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / discrete / factorial.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) 2011 - DIGITEO - Michael Baudin
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 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="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="factorial" xml:lang="ja">
18     <refnamediv>
19         <refname>factorial</refname>
20         <refpurpose>階乗関数</refpurpose>
21     </refnamediv>
22     <refsynopsisdiv>
23         <title>呼び出し手順</title>
24         <synopsis>
25             f = factorial ( n )
26         </synopsis>
27     </refsynopsisdiv>
28     <refsection>
29         <title>パラメータ</title>
30         <variablelist>
31             <varlistentry>
32                 <term>n :</term>
33                 <listitem>
34                     <para>doubleの行列. 値は正の整数である必要があります.</para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>f :</term>
39                 <listitem>
40                     <para> doubleの行列.</para>
41                 </listitem>
42             </varlistentry>
43         </variablelist>
44     </refsection>
45     <refsection>
46         <title>説明</title>
47         <para>
48             nの階乗,つまり,整数 1 * 2 * ... * nの積を返します.
49         </para>
50         <para>
51             この関数は n &gt; 170 となるとオーバーフローします.
52         </para>
53     </refsection>
54     <refsection>
55         <title>例</title>
56         <programlisting role="example"><![CDATA[
57 // Make a table of factorial
58 n = (0:30)';
59 [n factorial(n)]
60 // See the limits of factorial: f(171)=%inf
61 factorial(170) // 7.257415615307998967e306
62 factorial(171) // %inf
63 // Plot the function on all its range.
64 scf();
65 plot ( 1:170 , factorial , "b-o" )
66 h = gcf();
67 h.children.log_flags="nln";
68    ]]></programlisting>
69     </refsection>
70     <refsection>
71         <title>参考文献</title>
72         <para>
73             <ulink url="http://www.scilab.org/en/support/documentation/tutorials">Introduction to discrete probabilities</ulink>, Michael Baudin
74         </para>
75     </refsection>
76 </refentry>