nchoosek(4,2) displayed nothing
[scilab.git] / scilab / modules / special_functions / help / ja_JP / gamma.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) 2008 - INRIA
5  *
6  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  *
15  -->
16 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="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="gamma" xml:lang="ja">
17     <refnamediv>
18         <refname>gamma</refname>
19         <refpurpose>ガンマ関数.</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>呼び出し手順</title>
23         <synopsis>y = gamma(x)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>引数</title>
27         <variablelist>
28             <varlistentry>
29                 <term>x</term>
30                 <listitem>
31                     <para>
32                        scalar, vector, matrix, or hypermatrix of real numbers.
33                     </para>
34                     <note>
35                       <literal>gamma</literal> can be overloaded for complex numbers or
36                       of lists, tlists or mlists.
37                     </note>
38                 </listitem>
39             </varlistentry>
40             <varlistentry>
41                 <term>y</term>
42                 <listitem>
43                     <para>(xと同じ大きさの)実数ベクトルまたは行列.</para>
44                 </listitem>
45             </varlistentry>
46         </variablelist>
47     </refsection>
48     <refsection>
49         <title>説明</title>
50         <para>
51             <literal>gamma(x)</literal> は,
52             <literal>x</literal>の全要素についてガンマ関数を計算します.
53             ガンマ関数は以下のように定義されます:
54         </para>
55         <informalequation>
56             <mediaobject>
57                 <imageobject>
58                     <imagedata align="center" fileref="../mml/gamma_equation1.mml"/>
59                 </imageobject>
60             </mediaobject>
61         </informalequation>
62         <para>そして,階乗関数を実数に一般化します.
63             (<literal>gamma(u+1) = u*gamma(u)</literal>).
64         </para>
65     </refsection>
66     <refsection>
67         <title>例</title>
68         <programlisting role="example"><![CDATA[
69 // 簡単な例
70 gamma(0.5)
71 gamma(6)-prod(1:5)
72  ]]></programlisting>
73         <programlisting role="example"><![CDATA[
74 // [a,b]のガンマ関数のグラフ
75 a = -3; b = 5;
76 x = linspace(a,b,40000);
77 y = gamma(x);
78 clf()
79 plot2d(x, y, style=0, axesflag=5, rect=[a, -10, b, 10])
80 xtitle("The gamma function on ["+string(a)+","+string(b)+"]")
81 show_window()
82  ]]></programlisting>
83         <scilab:image>
84             a = -3; b = 5;
85             x = linspace(a,b,40000)';
86             y = gamma(x);
87             plot2d(x, y, style=0, axesflag=5, rect=[a, -10, b, 10])
88             xtitle("The gamma function on ["+string(a)+","+string(b)+"]")
89         </scilab:image>
90     </refsection>
91     <refsection role="see also">
92         <title>参照</title>
93         <simplelist type="inline">
94             <member>
95                 <link linkend="gammaln">gammaln</link>
96             </member>
97             <member>
98                 <link linkend="dlgamma">dlgamma</link>
99             </member>
100             <member>
101                 <link linkend="factorial">factorial</link>
102             </member>
103         </simplelist>
104     </refsection>
105     <refsection>
106         <title>履歴</title>
107         <revhistory>
108             <revision>
109                 <revnumber>5.4.0</revnumber>
110                 <revremark>
111                     list, mlist, tlistおよびハイパー行列型のオーバーロードが
112                     可能となりました.
113                 </revremark>
114             </revision>
115             <revision>
116               <revnumber>6.0.2</revnumber>
117               <revremark>
118                 <itemizedlist>
119                   <listitem>
120                     The input can now be an hypermatrix.
121                   </listitem>
122                   <listitem>
123                     <literal>gamma</literal> can now be overloaded for complex numbers.
124                   </listitem>
125                 </itemizedlist>
126               </revremark>
127             </revision>
128         </revhistory>
129     </refsection>
130 </refentry>