Massive indent of all codes:
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / ndims.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 - 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="ndims" xml:lang="ja">
14         <refnamediv>
15             <refname>ndims</refname>
16             <refpurpose>配列の次元の数</refpurpose>
17         </refnamediv>
18         <refsection>
19             <title>パラメータ</title>
20             <variablelist>
21                 <varlistentry>
22                     <term>A</term>
23                     <listitem>
24                         <para>配列</para>
25                     </listitem>
26                 </varlistentry>
27                 <varlistentry>
28                     <term>n</term>
29                     <listitem>
30                         <para>整数, 配列の次元の数</para>
31                     </listitem>
32                 </varlistentry>
33             </variablelist>
34         </refsection>
35         <refsection>
36             <title>説明</title>
37             <para>
38                 <literal>n=ndims(A)</literal> は配列<literal>A</literal>の
39                 次元の数を返します.
40                 <literal>n</literal> は 2以上となります.
41             </para>
42         </refsection>
43         <refsection>
44             <title>例</title>
45             <programlisting role="example"><![CDATA[ 
46 A=rand(2,3);
47 ndims(A)
48
49 A=rand(2,3,2);
50 size(A),ndims(A)
51
52 H=[1/%s,1/(%s+1)]
53 ndims(H)
54  ]]></programlisting>
55         </refsection>
56         <refsection role="see also">
57             <title>参照</title>
58             <simplelist type="inline">
59                 <member>
60                     <link linkend="size">size</link>
61                 </member>
62             </simplelist>
63         </refsection>
64     </refentry>