* Bug 15891 fixed: [doc] matrix-wise trigo pages => subsection
[scilab.git] / scilab / modules / elementary_functions / help / ja_JP / trigonometry / csgn.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) 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="csgn">
19
20     <refnamediv>
21
22         <refname>csgn</refname>
23
24         <refpurpose>複素数の実部のベクトル符号を返す</refpurpose>
25
26     </refnamediv>
27
28     <refsynopsisdiv>
29
30         <title>呼出し手順</title>
31
32         <synopsis>s = csgn(z)</synopsis>
33
34     </refsynopsisdiv>
35
36     <refsection>
37
38         <title>引数</title>
39
40         <variablelist>
41
42             <varlistentry>
43
44                 <term>z</term>
45
46                 <listitem>
47
48                     <para>
49
50                         符号を計算する値のベクトル.
51
52                     </para>
53
54                 </listitem>
55
56             </varlistentry>
57
58             <varlistentry>
59
60                 <term>s</term>
61
62                 <listitem>
63
64                     <para>実部が0に等しくない場合:</para>
65
66                     <itemizedlist>
67
68                         <listitem>
69
70                             <para>
71
72                                 ある要素の実部が正の場合<literal>+1</literal>
73
74                             </para>
75
76                         </listitem>
77
78                         <listitem>
79
80                             <para>
81
82                                 ある要素の実部が負の場合<literal>-1</literal>
83
84                             </para>
85
86                         </listitem>
87
88                     </itemizedlist>
89
90                     <para>実部が0に等しい場合:</para>
91
92                     <itemizedlist>
93
94                         <listitem>
95
96                             <para>
97
98                                 ある要素の虚部が正の場合<literal>+1</literal>
99
100                             </para>
101
102                         </listitem>
103
104                         <listitem>
105
106                             <para>
107
108                                 ある要素の虚部が負の場合<literal>-1</literal>
109
110                             </para>
111
112                         </listitem>
113
114                     </itemizedlist>
115
116                     <para>
117
118                         要素が 0の場合,<constant>%nan</constant>を返します
119
120                     </para>
121
122                 </listitem>
123
124             </varlistentry>
125
126         </variablelist>
127
128     </refsection>
129
130     <refsection>
131
132         <title>説明</title>
133
134         <para>
135
136             <function>csgn</function>は,
137
138             複素数<varname>z</varname>の実部のベクトルの符号を返します.
139
140         </para>
141
142     </refsection>
143
144     <refsection>
145
146         <title>例</title>
147
148         <programlisting role="example"><![CDATA[
149 A = [1 1+%i 0 -1 1-%i -1-%i];
150 csgn(A)
151  ]]></programlisting>
152
153     </refsection>
154
155     <refsection role="see also">
156
157         <title>参照</title>
158
159         <simplelist type="inline">
160
161             <member>
162
163                 <link linkend="sign">sign</link>
164
165             </member>
166
167             <member>
168
169                 <link linkend="signm">signm</link>
170
171             </member>
172
173         </simplelist>
174
175     </refsection>
176
177 </refentry>
178