9a684c0a4240ac8ab82a826a1e1342d63cc785dd
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / elementarymatrices / eye.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="eye" xml:lang="ja">
14     <refnamediv>
15         <refname>eye</refname>
16         <refpurpose>単位行列</refpurpose>
17     </refnamediv>
18     <refsynopsisdiv>
19         <title>呼び出し手順</title>
20         <synopsis>X=eye(m,n)
21             X=eye(A)
22             X=eye()
23         </synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>パラメータ</title>
27         <variablelist>
28             <varlistentry>
29                 <term>A,X</term>
30                 <listitem>
31                     <para>
32                         行列または <literal>syslin</literal> リスト
33                     </para>
34                 </listitem>
35             </varlistentry>
36             <varlistentry>
37                 <term>m,n</term>
38                 <listitem>
39                     <para>整数</para>
40                 </listitem>
41             </varlistentry>
42         </variablelist>
43     </refsection>
44     <refsection>
45         <title>説明</title>
46         <para>その引数に基づき, 
47             <literal>m</literal>x<literal>n</literal> の
48             主対角項に1を有する行列,または
49             <literal>A</literal>と同じ次元の単位行列を返します.
50         </para>
51         <para>
52             注意: <literal>eye(10)</literal> は,
53             <literal>A=10</literal>の時の <literal>eye(A)</literal> と
54             解釈され,すなわち, <literal>1</literal>となります.
55             (10x10の単位行列とはなりません!)
56         </para>
57         <para>
58             <literal>A</literal> が<literal>syslin</literal>リスト
59             で表された線形システムの場合,
60             <literal>eye(A)</literal>は適当な次元(出力の数x入力の数)の
61             <literal>eye</literal>行列を返します.
62         </para>
63         <para>
64             <literal>eye()</literal> は,
65             次元が未定義の単位行列を返します.
66             次元はこの単位行列が次元が固定した行列に加算される時に
67             定義されます.
68         </para>
69     </refsection>
70     <refsection>
71         <title>例</title>
72         <programlisting role="example"><![CDATA[ 
73 eye(2,3)
74 A=rand(2,3);eye(A)
75 s=poly(0,'s');A=[s,1;s,s+1];eye(A)
76 A=[1/s,1;s,2];eye(A);
77 A=ssrand(2,2,3);eye(A)
78 [1 2;3 4]+2*eye()
79  ]]></programlisting>
80     </refsection>
81     <refsection role="see also">
82         <title>参照</title>
83         <simplelist type="inline">
84             <member>
85                 <link linkend="ones">ones</link>
86             </member>
87             <member>
88                 <link linkend="zeros">zeros</link>
89             </member>
90         </simplelist>
91     </refsection>
92 </refentry>