1afcdde1efd52ced14eeb5edfaa2f8941135c887
[scilab.git] / scilab / modules / sparse / help / ja_JP / matrixmanip / spones.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
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.1-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="spones" xml:lang="ja">
14     <refnamediv>
15         <refname>spones</refname>
16         <refpurpose>疎行列</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>sp=spones(A)</synopsis>
21     </refsynopsisdiv>
22     <refsection>
23         <title>パラメータ</title>
24         <variablelist>
25             <varlistentry>
26                 <term>A</term>
27                 <listitem>
28                     <para>疎行列</para>
29                 </listitem>
30             </varlistentry>
31             <varlistentry>
32                 <term>sp</term>
33                 <listitem>
34                     <para>疎行列</para>
35                 </listitem>
36             </varlistentry>
37         </variablelist>
38     </refsection>
39     <refsection>
40         <title>説明</title>
41         <para>
42             <literal>sp=spones(A)</literal> は
43             <literal>A</literal>と同じ疎構造を有し
44             その非ゼロ要素の位置に1を有する,行列を生成します.
45         </para>
46     </refsection>
47     <refsection>
48         <title>例</title>
49         <programlisting role="example"><![CDATA[ 
50 A=sprand(10,12,0.1);
51 sp=spones(A)
52 B = A~=0
53 bool2s(B)
54  ]]></programlisting>
55     </refsection>
56     <refsection role="see also">
57         <title>参照</title>
58         <simplelist type="inline">
59             <member>
60                 <link linkend="sparse">sparse</link>
61             </member>
62             <member>
63                 <link linkend="full">full</link>
64             </member>
65             <member>
66                 <link linkend="eye">eye</link>
67             </member>
68             <member>
69                 <link linkend="speye">speye</link>
70             </member>
71             <member>
72                 <link linkend="spzeros">spzeros</link>
73             </member>
74         </simplelist>
75     </refsection>
76 </refentry>