added newly introduced *.xml in 5.5.
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / matrixoperations / cross.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) 2013 - Scilab Enterprises
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: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="cross" xml:lang="ja">
16     
17     <refnamediv>
18         
19         <refname>cross</refname>
20         
21         <refpurpose>ベクトル外積</refpurpose>
22         
23     </refnamediv>
24     
25     <refsynopsisdiv>
26         
27         <title>呼び出し手順</title>
28         
29         <synopsis>C = cross(A,B)</synopsis>
30         
31     </refsynopsisdiv>
32     
33     <refsection>
34         
35         <title>引数</title>
36         
37         <variablelist>
38             
39             <varlistentry>
40                 
41                 <term>A</term>
42                 
43                 <listitem>
44                     
45                     <para>実数, 複素数, 多項式または3行N列または1行3列の論理値行列.</para>
46                     
47                 </listitem>
48                 
49             </varlistentry>
50             
51             <varlistentry>
52                 
53                 <term>B</term>
54                 
55                 <listitem>
56                     
57                     <para>
58                         
59                         実数, 複素数, 多項式またはAと同じ大きさの論理値行列.
60                         
61                     </para>
62                     
63                 </listitem>
64                 
65             </varlistentry>
66             
67             <varlistentry>
68                 
69                 <term>C</term>
70                 
71                 <listitem>
72                     
73                     <para>
74                         
75                         実数, 複素数, 多項式またはA及びBと同じ大きさの論理値行列.
76                         
77                     </para>
78                     
79                 </listitem>
80                 
81             </varlistentry>
82             
83         </variablelist>
84         
85     </refsection>
86     
87     <refsection>
88         
89         <title>説明</title>
90         
91         <para>
92             
93             <function>cross</function> は以下のような
94             
95             <varname>A</varname> 及び <varname>B</varname>の外積を返します:
96             
97             <para>
98                 
99                 <latex>
100                     
101                     \begin{eqnarray}
102                     
103                     C = A \wedge B
104                     
105                     \end{eqnarray}
106                     
107                 </latex>
108                 
109             </para>
110             
111         </para>
112         
113         <para>
114             
115             <varname>A</varname> 及び <varname>B</varname> は,
116             
117             通常の行列または疎行列とすることができます.
118             
119             しかし,分数行列はサポートされていません.
120             
121             論理値行列の場合,
122             
123             <function>cross</function> は%t (または %f)を
124             
125             1 (または 0), '&amp;' (または '|') を
126             
127             '*' (または '+') として計算します.
128             
129         </para>
130         
131         <para>
132             
133             最後に, <varname>A</varname> 及び <varname>B</varname> が
134             
135             3行N列行列の場合, 列毎に計算が行われます.
136             
137         </para>
138         
139     </refsection>
140     
141     <refsection>
142         
143         <title>例</title>
144         
145         <programlisting role="example"><![CDATA[
146 A=[1;2;3];
147 B=[2;3;4];
148 cross(A,B) // 予測値: [-1;2;-1]
149 A=[%i,2,1+%i];
150 B=[1,%i,2+%i];
151 cross(A,B) // 予測値: [5+%i,2-%i,-3]
152 A=[%t;%f;%t];
153 B=[%t;%f;%f];
154 cross(A,B) // 予測値: [0;1;0]
155  ]]></programlisting>
156         
157     </refsection>
158     
159     <refsection>
160         
161         <title>履歴</title>
162         
163         <revhistory>
164             
165             <revision>
166                 
167                 <revnumber>5.5.0</revnumber>
168                 
169                 <revremark>関数 cross が導入されました.</revremark>
170                 
171             </revision>
172             
173         </revhistory>
174         
175     </refsection>
176     
177 </refentry>
178