Fix the XML declarations
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / matrixmanipulation / repmat.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) 2011 - INRIA - Serge Steer
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="repmat" xml:lang="ja">
14     <refnamediv>
15         <refname>repmat</refname>
16         <refpurpose>配列を複製/タイル状に配置</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>B = repmat(A,m,n,...)</synopsis>
21         <synopsis>B = repmat(A,siz)</synopsis>
22         <synopsis>B = repmat(A,m)</synopsis>
23     </refsynopsisdiv>
24     <refsection>
25         <title>引数</title>
26         <variablelist>
27             <varlistentry>
28                 <term>A</term>
29                 <listitem>
30                     <para>入力二次元配列.</para>
31                 </listitem>
32             </varlistentry>
33             <varlistentry>
34                 <term>m, n, ...</term>
35                 <listitem>
36                     <para>
37                         整数で, <literal>B</literal>の各次元に関する
38                         <literal>A</literal> ブロックの数.
39                     </para>
40                 </listitem>
41             </varlistentry>
42             <varlistentry>
43                 <term>siz</term>
44                 <listitem>
45                     <para>
46                         整数ベクトルで, 各要素は<literal>B</literal>の対応する次元に
47                         関する<literal>A</literal>ブロックの数を指定する.
48                     </para>
49                 </listitem>
50             </varlistentry>
51             <varlistentry>
52                 <term>B</term>
53                 <listitem>
54                     <para>
55                         2次元配列<literal>A</literal>をタイル状に配置した
56                         配列.
57                     </para>
58                 </listitem>
59             </varlistentry>
60         </variablelist>
61     </refsection>
62     <refsection>
63         <title>説明</title>
64         <para>
65             <literal>repmat(A,m,n)</literal> または同様な
66             <literal>repmat(A,[m,n])</literal> は,<literal>A</literal>の
67             <literal>m</literal> x <literal>n</literal> のタイル状の
68             コピーからなる大きな行列を返します.
69             結果の大きさは,<literal>[size(A,1)*M, size(A,2)*N]</literal>です.
70         </para>
71         <para>
72             <literal>repmat(A,m)</literal> は,
73             <literal>m</literal> x <literal>m</literal>のタイル状コピーを作成します.
74         </para>
75         <para>
76             <literal>repmat(A,[m n p ...])</literal> は,配列Aをタイル状に
77             コピーし,<literal>A</literal>のコピーからなる多次元配列を作成します.
78             結果の大きさは,
79             <literal>[size(A,1)*M, size(A,2)*N, size(A,3)*P, ...] </literal>となります.
80         </para>
81         <para>
82             現時点では,実数,整数,論理値,文字列,多項式,有理数および
83             疎行列の配列のみがサポートされています.
84             この関数の定義は,オーバーロード機能により拡張することができます.
85         </para>
86     </refsection>
87     <refsection>
88         <title>例</title>
89         <programlisting role="example"><![CDATA[ 
90     repmat(1:3,2,2)
91     repmat(int8([1 0 1;0 1 0]),2,3,2)
92     repmat("Scilab",3,2)
93     t="Scilab";t(ones(3,2))
94     repmat([1/%s;2/(%s+1)],1,3)
95
96  ]]></programlisting>
97     </refsection>
98     <refsection>
99         <title>参照</title>
100         <simplelist type="inline">
101             <member>
102                 <link linkend="matrix">matrix</link>
103             </member>
104             <member>
105                 <link linkend="extraction">extraction</link>
106             </member>
107             <member>
108                 <link linkend="size">size</link>
109             </member>
110         </simplelist>
111     </refsection>
112 </refentry>