Massive indent of all codes:
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / discrete / perms.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  * 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
11  *
12  -->
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" xmlns:scilab="http://www.scilab.org" xml:id="perms" xml:lang="ja">
14         <refnamediv>
15             <refname>perms</refname>
16             <refpurpose>ベクトル要素の全順列</refpurpose>
17         </refnamediv>
18         <refsynopsisdiv>
19             <title>呼び出し手順</title>
20             <synopsis>y=perms(x)</synopsis>
21         </refsynopsisdiv>
22         <refsection>
23             <title>パラメータ</title>
24             <variablelist>
25                 <varlistentry>
26                     <term>x</term>
27                     <listitem>
28                         <para>スカラーまたはベクトル</para>
29                     </listitem>
30                 </varlistentry>
31                 <varlistentry>
32                     <term>y</term>
33                     <listitem>
34                         <para>行列</para>
35                     </listitem>
36                 </varlistentry>
37             </variablelist>
38         </refsection>
39         <refsection>
40             <title>説明</title>
41             <para>
42                 長さ <literal>n</literal>のベクトル <literal>x</literal> を指定すると,
43                 <literal>perms</literal> は<literal>x</literal>の
44                 <literal>n</literal>個の要素の全順列
45                 (すなわち,<literal>n!</literal>順列)を返します.
46                 <literal>y</literal>の大きさは <literal> n!-by-n</literal> となります.
47             </para>
48         </refsection>
49         <refsection>
50             <title>例</title>
51             <programlisting role="example"><![CDATA[ 
52 x=[4, 7, 10]
53 y=perms(x)
54 x=[1, 5, 2, 5]
55 y=perms(x)
56  ]]></programlisting>
57         </refsection>
58     </refentry>