Update CHANGES.md before the release
[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  * 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="nnz">
19
20     <refnamediv>
21
22         <refname>nnz</refname>
23
24         <refpurpose>行列における非ゼロ要素の数</refpurpose>
25
26     </refnamediv>
27
28     <refsynopsisdiv>
29
30         <title>呼び出し手順</title>
31
32         <synopsis>n=nnz(X)</synopsis>
33
34     </refsynopsisdiv>
35
36     <refsection>
37
38         <title>引数</title>
39
40         <variablelist>
41
42             <varlistentry>
43
44                 <term>X</term>
45
46                 <listitem>
47
48                     <para>実数または複素疎(または通常)行列</para>
49
50                 </listitem>
51
52             </varlistentry>
53
54             <varlistentry>
55
56                 <term>n</term>
57
58                 <listitem>
59
60                     <para>整数, Xの非ゼロ要素の数</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             <literal>nnz</literal> は疎行列または通常の行列における
77
78             非ゼロ要素の数を数えます.
79
80         </para>
81
82     </refsection>
83
84     <refsection>
85
86         <title>例</title>
87
88         <programlisting role="example"><![CDATA[
89 sp=sparse([1,2;4,5;3,10],[1,2,3]);
90 nnz(sp)
91 a=[1 0 0 0 2];
92 nnz(a)
93  ]]></programlisting>
94
95     </refsection>
96
97     <refsection role="see also">
98
99         <title>参照</title>
100
101         <simplelist type="inline">
102
103             <member>
104
105                 <link linkend="spget">spget</link>
106
107             </member>
108
109         </simplelist>
110
111     </refsection>
112
113 </refentry>
114