translation updated for sparse.
[scilab.git] / scilab / modules / sparse / help / ja_JP / matrixmanip / nnz.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) XXXX-2008 - INRIA
6  * 
7  * This file must be used under the terms of the CeCILL.
8  * This source file is licensed as described in the file COPYING, which
9  * you should have received as part of this distribution.  The terms
10  * are also available at    
11  * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12  *
13  -->
14
15 <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="nnz">
16     
17     <refnamediv>
18         
19         <refname>nnz</refname>
20         
21         <refpurpose>行列における非ゼロ要素の数</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>n=nnz(X)</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>X</term>
42                 
43                 <listitem>
44                     
45                     <para>実数または複素疎(または通常)行列</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51             <varlistentry>
52                 
53                 <term>n</term>
54                 
55                 <listitem>
56                     
57                     <para>整数, Xの非ゼロ要素の数</para>
58                     
59                 </listitem>
60                 
61             </varlistentry>
62             
63         </variablelist>
64         
65     </refsection>
66     
67     <refsection>
68         
69         <title>説明</title>
70         
71         <para>
72             
73             <literal>nnz</literal> は疎行列または通常の行列における
74             
75             非ゼロ要素の数を数えます.
76             
77         </para>
78         
79     </refsection>
80     
81     <refsection>
82         
83         <title>例</title>
84         
85         <programlisting role="example"><![CDATA[ 
86 sp=sparse([1,2;4,5;3,10],[1,2,3]);
87 nnz(sp)
88 a=[1 0 0 0 2];
89 nnz(a)
90  ]]></programlisting>
91         
92     </refsection>
93     
94     <refsection role="see also">
95         
96         <title>参照</title>
97         
98         <simplelist type="inline">
99             
100             <member>
101                 
102                 <link linkend="spget">spget</link>
103                 
104             </member>
105             
106         </simplelist>
107         
108     </refsection>
109     
110 </refentry>
111