4dcbd03750063cd3faa9ded3e2bd8dad612a5284
[scilab.git] / scilab / modules / sparse / help / ja_JP / matrixmanip / speye.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="speye" xml:lang="ja">
14     <refnamediv>
15         <refname>speye</refname>
16         <refpurpose>疎単位行列</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>Isp=speye(nrows,ncols)
21             Isp=speye(A)
22         </synopsis>
23     </refsynopsisdiv>
24     <refsection>
25         <title>パラメータ</title>
26         <variablelist>
27             <varlistentry>
28                 <term>nrows</term>
29                 <listitem>
30                     <para>整数 (行数)</para>
31                 </listitem>
32             </varlistentry>
33             <varlistentry>
34                 <term>ncols</term>
35                 <listitem>
36                     <para>整数 (列数)</para>
37                 </listitem>
38             </varlistentry>
39             <varlistentry>
40                 <term>A</term>
41                 <listitem>
42                     <para>疎行列</para>
43                 </listitem>
44             </varlistentry>
45             <varlistentry>
46                 <term>sp</term>
47                 <listitem>
48                     <para>疎単位行列</para>
49                 </listitem>
50             </varlistentry>
51         </variablelist>
52     </refsection>
53     <refsection>
54         <title>説明</title>
55         <para>
56             <literal>Isp=speye(nrows,ncols)</literal> は,
57             <literal>nrows</literal> 行,
58             <literal>ncols</literal> 列の
59             疎単位行列<literal>Isp</literal>を返します.
60             (非正方行列は主対角項に1を有します).
61         </para>
62         <para>
63             <literal>Isp=speye(A)</literal>は<literal>A</literal>と
64             同じ次元の疎単位行列を返します.
65             <literal>[m,n]=size(A)</literal>の場合, <literal>speye(m,n)</literal> および
66             <literal>speye(A)</literal>は等価です. なお,
67             <literal>speye(3)</literal> は
68             <literal>speye(3,3)</literal>と等価ではありません.
69         </para>
70     </refsection>
71     <refsection>
72         <title>例</title>
73         <programlisting role="example"><![CDATA[ 
74 eye(3,3)-full(speye(3,3))
75  ]]></programlisting>
76     </refsection>
77     <refsection role="see also">
78         <title>参照</title>
79         <simplelist type="inline">
80             <member>
81                 <link linkend="sparse">sparse</link>
82             </member>
83             <member>
84                 <link linkend="full">full</link>
85             </member>
86             <member>
87                 <link linkend="eye">eye</link>
88             </member>
89             <member>
90                 <link linkend="spzeros">spzeros</link>
91             </member>
92             <member>
93                 <link linkend="spones">spones</link>
94             </member>
95         </simplelist>
96     </refsection>
97 </refentry>