* Bug 16365 fixed: median(m,'r'|'c') was wrong after 5dc990
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / matrixmanipulation / squeeze.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) 2008 - INRIA
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
18 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="squeeze">
19
20     <refnamediv>
21
22         <refname>squeeze</refname>
23
24         <refpurpose>ハイパー行列のシングルトン次元を削除</refpurpose>
25
26     </refnamediv>
27
28     <refsynopsisdiv>
29
30         <title>呼び出し手順</title>
31
32         <synopsis>hypOut = squeeze(hypIn)</synopsis>
33
34     </refsynopsisdiv>
35
36     <refsection>
37
38         <title>引数</title>
39
40         <variablelist>
41
42             <varlistentry>
43
44                 <term>hypIn</term>
45
46                 <listitem>
47
48                     <para>定数型のハイパー行列または行列.</para>
49
50                 </listitem>
51
52             </varlistentry>
53
54             <varlistentry>
55
56                 <term>hypOut</term>
57
58                 <listitem>
59
60                     <para>定数型のハイパー行列または行列.</para>
61
62                 </listitem>
63
64             </varlistentry>
65
66         </variablelist>
67
68     </refsection>
69
70     <refsection>
71
72         <title>説明</title>
73
74         <para>
75
76             <function>squeeze</function>は,
77
78             ハイパー行列のシングルトン次元を削除します.
79
80             これは,大きさが<literal>1</literal>の任意の次元を
81
82             削除することを意味します.
83
84             入力<varname>hypIn</varname>が行列の場合,変更されません.
85
86         </para>
87
88     </refsection>
89
90     <refsection>
91
92         <title>例</title>
93
94         <programlisting role="example"><![CDATA[
95         M1 = zeros(2,1,5)
96         squeeze(M1)
97         squeeze(M1(:,:,1))
98
99         M2 = matrix(1:4, [2 1 2 1])
100         squeeze(M2)
101         ]]></programlisting>
102
103     </refsection>
104
105     <refsection role="see also">
106
107         <title>参照</title>
108
109         <simplelist type="inline">
110
111             <member>
112                 <link linkend="matrix">matrix</link>
113             </member>
114
115             <member>
116
117                 <link linkend="hypermatrices">hypermatrices</link>
118
119             </member>
120
121         </simplelist>
122
123     </refsection>
124
125 </refentry>
126