* Get ride of the useless tag
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / matrixmanipulation / flipdim.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 - Farid BELAHCENE
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="flipdim" xml:lang="ja">
14     <refnamediv>
15         <refname>flipdim</refname>
16         <refpurpose>指定した次元に沿って x の要素を反転</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>y=flipdim(x,dim)</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>dim</term>
33                 <listitem>
34                     <para>正の整数</para>
35                 </listitem>
36             </varlistentry>
37             <varlistentry>
38                 <term>y</term>
39                 <listitem>
40                     <para>実数のスカラー, ベクトルまたは配列</para>
41                 </listitem>
42             </varlistentry>
43         </variablelist>
44     </refsection>
45     <refsection>
46         <title>説明</title>
47         <para>
48             実数のスカラー/ベクトル/配列 <literal>x</literal>と正の整数<literal>dim</literal>
49             を指定すると, この関数は<literal>x</literal>の次元番号 <literal>dim</literal>
50             に沿って x の要素を反転します.
51             (<literal>x</literal> および <literal>y</literal> は同じ大きさとなります)
52         </para>
53     </refsection>
54     <refsection>
55         <title>例</title>
56         <programlisting role="example"><![CDATA[ 
57 // 例 1: x の要素を最初の次元に沿って反転
58 x=[1 2 3 4; 5 6 7 8];
59 dim=1;
60 y=flipdim(x,dim)
61
62 // 例2: x の要素を2番目の次元に沿って反転
63 dim=2;
64 y=flipdim(x,dim)
65
66 // 例3: x の要素を3番目の次元に沿って反転
67 x=matrix(1:48,[3 2,4,2]);
68 dim=3;
69 y=flipdim(x,dim)
70  ]]></programlisting>
71     </refsection>
72 </refentry>